[MacPorts] #29860: mesa: Unsupported platform, No pipe_atomic implementation selected
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- I'm afraid that with mesa 7.10.3_0 we are back to getting this error again on Tiger ppc (seen previously in #24393): {{{ In file included from ../../src/gallium/auxiliary/util/u_inlines.h:38, from state_tracker/st_atom_constbuf.c:40: ../../src/gallium/auxiliary/util/u_atomic.h:37:2: error: #error "Unsupported platform" ../../src/gallium/auxiliary/util/u_atomic.h:347:2: error: #error "No pipe_atomic implementation selected" In file included from state_tracker/st_atom_constbuf.c:40: ../../src/gallium/auxiliary/util/u_inlines.h: In function 'pipe_reference_init': ../../src/gallium/auxiliary/util/u_inlines.h:56: warning: implicit declaration of function 'p_atomic_set' ../../src/gallium/auxiliary/util/u_inlines.h: In function 'pipe_is_referenced': ../../src/gallium/auxiliary/util/u_inlines.h:62: warning: implicit declaration of function 'p_atomic_read' ../../src/gallium/auxiliary/util/u_inlines.h: In function 'pipe_reference_described': ../../src/gallium/auxiliary/util/u_inlines.h:82: warning: implicit declaration of function 'p_atomic_inc' ../../src/gallium/auxiliary/util/u_inlines.h:88: warning: implicit declaration of function 'p_atomic_dec_zero' }}} The last version of mesa successfully installed on this system was 7.8.2_2. -- Ticket URL: <https://trac.macports.org/ticket/29860> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * owner: jeremyhu@… => ryandesign@… Comment: Yeah, that was why gallium was disabled in 7.8.2 (I re-enabled it hoping someone had added ppc support in the interim). mesa is openmaintainer ... would you mind taking this on? Just re-disable gallium (uncomment it). Also test osmesa. -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: mpro@… (added) Comment: Has duplicate #29959. Sorry I haven't yet gotten around to trying to resolve this on my G4. -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): Can you try with r80341? That removes galium from the targets, so give that a go. If it still fails, post a new log, so I can see the new failure point... -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Log of current failure attached. -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: Peter_Dyballa@… (added) Comment: r88037 (see duplicate #32552) was another attempt to fix this but it does not change the error message for me. -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Comment(by Peter_Dyballa@…): Replying to [comment:7 ryandesign@…]:
r88037 (see duplicate #32552) was another attempt to fix this but it does not change the error message for me.
I took some time to investigate further. If GALLIUM is the problem on PPC then Mesa-7.11/src/mesa/Makefile might need a patch. Its line #6 has {{{ MESA_LIBS := libmesa.a libmesagallium.a }}} By commenting libmesagallium.a the build process should proceed. I tried it kind of manually. It led from the state with the failure to another error with not finding X11 libraries. I'm trying this with a new patch file (Gallium-PPC.patch), and port will need some hours, either to succeed or to fail again, so here is the patch: {{{ diff -ru src/mesa/Makefile.orig src/mesa/Makefile --- a/src/mesa/Makefile.orig 2011-07-09 03:37:10.000000000 +0200 +++ b/src/mesa/Makefile 2011-12-18 00:40:31.000000000 +0100 @@ -3,7 +3,7 @@ TOP = ../.. include $(TOP)/configs/current -MESA_LIBS := libmesa.a libmesagallium.a +MESA_LIBS := libmesa.a #libmesagallium.a DEPENDS := depend MESA_OBJ_DIR := . }}} -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: tiger ppc | Port: mesa -------------------------------------+-------------------------------------- Comment(by Peter_Dyballa@…): The patch seems to work: {{{ DEBUG: clean phase started at Sun Dec 18 01:46:41 CET 2011 ---> Cleaning mesa }}} (And the build process was pretty fast!) The results are here, taken from the deactivating and activating steps: {{{ Deactivating mesa @7.6_1+darwin_8+hw_render Activating mesa @7.11_2+python27 ======================================================================================== file: /opt/local/bin/glxgears file: /opt/local/bin/glxinfo file: /opt/local/include/GL/dmesa.h file: /opt/local/include/GL/ggimesa.h file: /opt/local/include/GL/gl.h file: /opt/local/include/GL/gl.h file: /opt/local/include/GL/gl_mangle.h file: /opt/local/include/GL/gl_mangle.h file: /opt/local/include/GL/glext.h file: /opt/local/include/GL/glext.h file: /opt/local/include/GL/glfbdev.h file: /opt/local/include/GL/glfbdev.h file: /opt/local/include/GL/glu.h file: /opt/local/include/GL/glu.h file: /opt/local/include/GL/glu_mangle.h file: /opt/local/include/GL/glu_mangle.h file: /opt/local/include/GL/glut.h file: /opt/local/include/GL/glut.h file: /opt/local/include/GL/glutf90.h file: /opt/local/include/GL/glutf90.h file: /opt/local/include/GL/glx.h file: /opt/local/include/GL/glx.h file: /opt/local/include/GL/glx_mangle.h file: /opt/local/include/GL/glx_mangle.h file: /opt/local/include/GL/glxext.h file: /opt/local/include/GL/glxext.h file: /opt/local/include/GL/mesa_wgl.h file: /opt/local/include/GL/mesa_wgl.h file: /opt/local/include/GL/mglmesa.h file: /opt/local/include/GL/osmesa.h file: /opt/local/include/GL/osmesa.h file: /opt/local/include/GL/svgamesa.h file: /opt/local/include/GL/vms_x_fix.h file: /opt/local/include/GL/vms_x_fix.h file: /opt/local/include/GL/wglext.h file: /opt/local/include/GL/wglext.h file: /opt/local/include/GL/wmesa.h file: /opt/local/include/GL/wmesa.h file: /opt/local/include/VG/openvg.h file: /opt/local/include/VG/vgext.h file: /opt/local/include/VG/vgplatform.h file: /opt/local/include/VG/vgu.h link: /opt/local/lib/libGL.dylib file: /opt/local/lib/libGL.dylib link: /opt/local/lib/libGL.1.dylib file: /opt/local/lib/libGL.1.dylib file: /opt/local/lib/libGL.1.2.dylib link: /opt/local/lib/libGLU.dylib file: /opt/local/lib/libGLU.dylib link: /opt/local/lib/libGLU.1.dylib file: /opt/local/lib/libGLU.1.dylib file: /opt/local/lib/libGLU.1.3.dylib link: /opt/local/lib/libglut.dylib file: /opt/local/lib/libglut.dylib link: /opt/local/lib/libglut.3.dylib file: /opt/local/lib/libglut.3.dylib file: /opt/local/lib/libglut.3.7.dylib file: /opt/local/lib/libOSMesa.dylib file: /opt/local/lib/libOpenVG.dylib file: /opt/local/lib/libOpenVG.1.dylib file: /opt/local/lib/pkgconfig/gl.pc file: /opt/local/lib/pkgconfig/gl.pc file: /opt/local/lib/pkgconfig/glu.pc file: /opt/local/lib/pkgconfig/glu.pc file: /opt/local/lib/pkgconfig/glut.pc file: /opt/local/lib/pkgconfig/glut.pc file: /opt/local/lib/pkgconfig/osmesa.pc file: /opt/local/lib/pkgconfig/vg.pc ======================================================================================== }}} Looks complete, except for the two binaries. -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: tiger ppc Port: mesa | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r91248 -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29860: mesa: Unsupported platform, No pipe_atomic implementation selected --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: tiger ppc Port: mesa | --------------------------------------+------------------------------------- Comment(by Peter_Dyballa@…): mesa @8.0.1_0+python27 (active) could be built on PPC Tiger 10.4.11. A few times these commands failed: {{{ make[5]: xcrun: Command not found mv: rename libOSMesa.8.dylib to ../../../../lib/libOSMesa.8.dylib: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/29860#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts