[MacPorts] #18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gmp ---------------------------------+------------------------------------------ With {{{ universal_target 10.4 universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk universal_archs ppc ppc64 }}} in my /opt/local/etc/macports/macports.conf file, {{{sudo port -v install gmp +universal}}} fails: {{{ [...] /usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -I/opt/local/include -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch ppc64 tmp-add_n.s -fno- common -DPIC -o .libs/add_n.o tmp-add_n.s:65:ld instruction is only for 64-bit implementations (not allowed without -force_cpusubtype_ALL option) [...] }}} I can see {{{ platform powerpc { if {![variant_isset universal]} { configure.cflags-append -force_cpusubtype_ALL } } [...] array set merger_configure_cflags { ppc -force_cpusubtype_ALL ppc64 -force_cpusubtype_ALL } }}} in the gmp portfile. There may be something incorrect there. -- Ticket URL: <http://trac.macports.org/ticket/18199> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gmp universal | Port: gmp ---------------------------------+------------------------------------------ Changes (by vinc17@…): * keywords: => gmp universal -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gmp universal | Port: gmp ---------------------------------+------------------------------------------ Comment(by mcalhoun@…): There should not be two arch statements (-arch ppc and -arch ppc64) in one gcc call.[[BR]] It seems that the PortGroup is not being included.[[BR]] When you run portinfo, do you get the warning: "Warning: Group file could not be located."? I had to change the name of the PortGroup, so perhaps that is the problem.[[BR]] -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gmp universal | Port: gmp ---------------------------------+------------------------------------------ Changes (by mcalhoun@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gmp universal | Port: gmp ---------------------------------+------------------------------------------ Comment(by vinc17@…): Replying to [comment:2 mcalhoun@…]:
When you run portinfo, do you get the warning: "Warning: Group file could not be located."?
Yes. -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: gmp universal | Port: gmp ---------------------------------+------------------------------------------ Comment(by mcalhoun@…): Apparently there is a name mismatch.[[BR]] Please bear with me since I can not reproduce the problem. In the gmp Portfile, there should be a line {{{ PortGroup muniversal 1.0 }}} There should also exist a file {{{ ${prefix}/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl }}} If either of these is not the case, might it be as simple as a selfupdate? -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: gmp universal Port: gmp | ----------------------------------+----------------------------------------- Changes (by vinc17@…): * status: assigned => closed * resolution: => worksforme Comment: A selfupdate solved the problem. Thanks. This is strange because MacPorts has not been updated: {{{ MacPorts base version 1.700 installed Downloaded MacPorts base version 1.700 The MacPorts installation is not outdated so it was not updated }}} -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18199: universal build of gmp (ppc ppc64) fails: ld instruction is only for 64-bit implementations ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: worksforme | Keywords: gmp universal Port: gmp | ----------------------------------+----------------------------------------- Comment(by blb@…): Group code is now with the port tree instead of requiring base-level updates, so new groups and fixes can happen much more quickly. -- Ticket URL: <http://trac.macports.org/ticket/18199#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts