[MacPorts] #30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: -------------------------------+-------------------------------------------- see attached logfile -- Ticket URL: <https://trac.macports.org/ticket/30294> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by bernhard.fuerst@…): Same problem here. May be a duplicate of #30276? -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: -------------------------------+-------------------------------------------- Comment(by thecolourblue@…): Replying to [comment:2 bernhard.fuerst@…]:
Same problem here. May be a duplicate of #30276?
could be- it certainly seems to fail at linking stage. Could be related to -pie flags- perhaps this is relevant: [http://old.nabble.com/FSF-gcc44.-gcc45-and-gcc46-issues-p32112699.html] -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Changes (by snc@…): * cc: mcalhoun@… (added) * port: => gmp -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mcalhoun@… * cc: m.haller@…, mcalhoun@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by jmr@…): Replying to [comment:2 bernhard.fuerst@…]:
Same problem here. May be a duplicate of #30276? Are you using the same version of ld as the reporter of that ticket?
-- Ticket URL: <https://trac.macports.org/ticket/30294#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by m.haller@…): Replying to [ticket:30294 m.haller@…]:
see attached logfile
building gmp-5.0.2 works for port 2.0.0 for Mac OS X 10.7 with Xcode 4.1 Mac OS X 10.6.8 used Xcode Developer Tools 4.0.2 -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by ian@…): Replying to [comment:8 jmr@…]:
Replying to [comment:2 bernhard.fuerst@…]:
Same problem here. May be a duplicate of #30276? Are you using the same version of ld as the reporter of that ticket?
Same here. Mac OS X 10.6.8 (10K540), Xcode Version 4.0.2 (4A2002a), port Version: 2.0.0: {{{ $ ld -v @(#)PROGRAM:ld PROJECT:ld64-123.2 llvm version 2.9svn, from Apple Clang 2.0 (build 139) }}} -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by krchtchk@…): I've had some luck installing a previous version (r79373) (still 5.0.2). More specifically, this let me install it: {{{ sudo port install subversion svn co -r 79373 http://svn.macports.org/repository/macports/trunk/dports/devel/gmp cd gmp sudo port install }}} Should work as temporary fix until gmp releases its official fix. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by holst-mpt8@…): I've found that by getting the current version: {{{ svn co http://svn.macports.org/repository/macports/trunk/dports/devel/gmp }}} and removing the following from the Portfile: {{{ # llvm-gcc-4.2 fails make check if {${configure.compiler} == "llvm-gcc-4.2"} { configure.compiler clang } }}} I can link and install. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by morpheus+macports@…): It seems that the port was broken on Snow Leopard + Xcode 4.0.2 by r80732. The check for llvm-gcc-4.2 per-se is right: one of the tests hangs when gmp is built with llvm-gcc-4.2, but on the other hand clang seems to produce even more invalid code (which doesn't even link). I switched to gcc-4.2 and gmp builds and passes the testsuite, but I don't know if this would break other ports. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by snc@…): This is an example where clang should only be used on darwin 11. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by ian@…): Replying to [comment:16 holst-mpt8@…]:
I've found that by getting the current version: ... and removing the following from the Portfile: ... I can link and install.
This worked for me, and allowed me to install coreutils, which I was otherwise blocked on. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 -------------------------------+-------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: gmp -------------------------------+-------------------------------------------- Comment(by jmr@…): Probably fixed in r81117. I don't have Xcode 4.0.x, so please test. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30294: building gmp-5.0.2 fails for port 2.0.0 for Mac OS X 10.6.8 --------------------------------+------------------------------------------- Reporter: m.haller@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: gmp | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: No news is good news I guess. -- Ticket URL: <https://trac.macports.org/ticket/30294#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts