[MacPorts] #49167: py27-gobject3 @3.18.0 does not build on PPC
#49167: py27-gobject3 @3.18.0 does not build on PPC ------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py27-gobject3 ------------------------+-------------------------------- Since clang-3.4 is not functional on PPC systems, for py27-gobject3 (and similar packages, e.g. py34-gobject3) building fails: {{{ ... :info:configure checking whether the /opt/local/bin/clang-mp-3.4 linker (/opt/local/libexec/llvm-3.4/bin/ld) supports shared libraries... yes :info:configure checking dynamic linker characteristics... clang(74630) malloc: *** error for object 0xa082a708: Non-aligned pointer being freed ... }}} I will test if a different compiler is working. -- Ticket URL: <https://trac.macports.org/ticket/49167> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC ----------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py27-gobject3 | ----------------------------+-------------------------------- Comment (by braumann@…): This call {{{sudo port upgrade py27-gobject3 configure.compiler=macports-gcc-5}}} works! So I wonder, if {{{macports-gcc-5}}} could be used as standard compiler for {{{py27-gobject3}}} (and all similar {{{py??-gobject3}}}) instead of {{{macports-clang-3.4}}}? -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+------------------- Reporter: braumann@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => cal@… * cc: cal@… (removed) * port: py27-gobject3 => py-gobject3 -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+------------------- Reporter: braumann@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+------------------- Comment (by cal@…): MacPorts GCC should probably be used as standard compiler on all PPC machines… clang doesn't really support them very well. I'm willing to accept a patch that fixes this, but I don't have a PPC machine and cannot test, so I'm not going to spend time on figuring out what needs to be done myself. My assumption would be that something along the lines of setting compiler.blacklist to *clang* and adding macports-gcc-5 to compiler.fallback would be the right way to go. -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+------------------- Reporter: braumann@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+------------------- Comment (by braumann@…): Replying to [comment:3 cal@…]:
MacPorts GCC should probably be used as standard compiler on all PPC machines… clang doesn't really support them very well.
Well, there is no macports clang working on PPC at all! And as gcc-5 works both on PPC and Intel machines, why not taking it? So my proposition was to replace clang-3.4 with gcc-5 for all platforms, rather than making a ppc-related case distinction. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+------------------- Reporter: braumann@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+------------------- Comment (by braumann@…): To further clarify my proposition, you might have a look how other python related ports are using gcc5 for building: {{{ $ sudo port deps py27-numpy Full Name: py27-numpy @1.10.1_1+gfortran Build Dependencies: gcc5 Library Dependencies: python27, fftw-3, py27-nose, py27-cython, libgcc }}} Instead, your preset for building is clang-3.4: {{{ $ sudo port deps py27-gobject3 Full Name: py27-gobject3 @3.18.2_0 Extract Dependencies: xz Build Dependencies: pkgconfig, clang-3.4 Library Dependencies: python27, glib2, libffi, py27-cairo, gobject- introspection }}} According to my tests on 10.5.8 and 10.6.8, macports-gcc-5 is doing the same job for py*-gobject3, and has full PPC support. -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+------------------- Reporter: braumann@… | Owner: cal@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+------------------- Comment (by cal@…): Numpy is a special case because it tries very hard to produce optimized code. GCC 5 is not a suitable compiler choice for modern OS X, but we could certainly change it on older OS X releases. Changing the default across the complete MacPorts system should be discussed at our macports-dev MailingLists first, though. I'm willing to take a patch that blacklists clang and adds a GCC compiler to compiler.fallback on platforms affected by this issue, but I don't support 10.5.x anymore so I will not work on making these changes. -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+-------------------------------- Changes (by cal@…): * owner: cal@… => macports-tickets@… Comment: Unassigning because I no longer maintain py-gobject3. -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-gobject3 | --------------------------+-------------------------------- Comment (by devans@…): Replying to [comment:6 cal@…]:
Numpy is a special case because it tries very hard to produce optimized code.
GCC 5 is not a suitable compiler choice for modern OS X, but we could certainly change it on older OS X releases. Changing the default across the complete MacPorts system should be discussed at our macports-dev MailingLists first, though.
I'm willing to take a patch that blacklists clang and adds a GCC compiler to compiler.fallback on platforms affected by this issue, but I don't support 10.5.x anymore so I will not work on making these changes.
-- Ticket URL: <https://trac.macports.org/ticket/49167#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49167: py27-gobject3 @3.18.0 does not build on PPC --------------------------+-------------------------------- Reporter: braumann@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: Port: py-gobject3 | --------------------------+-------------------------------- Changes (by devans@…): * status: new => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/49167#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts