[MacPorts] #19446: openssl fails to compile on x86_64
#19446: openssl fails to compile on x86_64 -----------------------------------+---------------------------------------- Reporter: cbowns@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.1 Keywords: openssl x86_64 64-bit | Port: openssl -----------------------------------+---------------------------------------- This is on Snow Leopard. Should I take the issue elsewhere (or to one of the Apple internal lists?) After configuring MacPorts to build for x86_64 (by going through some of the config steps found here http://blog.imk.cx/2008/11/02/building-and- using-x86_64-macports/ ), I successfully have a base ports system with 64-bit x86_64 Mach-Os. openssl fails to build, however: ld: in libcrypto.a(read2pwd.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section collect2: ld returned 1 exit status make[2]: *** [link_a.darwin] Error 1 make[1]: *** [do_darwin-shared] Error 2 make: *** [libcrypto.0.9.8.dylib] Error 2 Full log is attached. -- Ticket URL: <http://trac.macports.org/ticket/19446> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -----------------------------------+---------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: openssl x86_64 64-bit | Port: openssl -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mww@… * component: base => ports Old description:
This is on Snow Leopard. Should I take the issue elsewhere (or to one of the Apple internal lists?)
After configuring MacPorts to build for x86_64 (by going through some of the config steps found here http://blog.imk.cx/2008/11/02/building-and- using-x86_64-macports/ ), I successfully have a base ports system with 64-bit x86_64 Mach-Os.
openssl fails to build, however:
ld: in libcrypto.a(read2pwd.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section collect2: ld returned 1 exit status make[2]: *** [link_a.darwin] Error 1 make[1]: *** [do_darwin-shared] Error 2 make: *** [libcrypto.0.9.8.dylib] Error 2
Full log is attached.
New description: This is on Snow Leopard. Should I take the issue elsewhere (or to one of the Apple internal lists?) After configuring MacPorts to build for x86_64 (by going through some of the config steps found here http://blog.imk.cx/2008/11/02/building-and- using-x86_64-macports/ ), I successfully have a base ports system with 64-bit x86_64 Mach-Os. openssl fails to build, however: {{{ ld: in libcrypto.a(read2pwd.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section collect2: ld returned 1 exit status make[2]: *** [link_a.darwin] Error 1 make[1]: *** [do_darwin-shared] Error 2 make: *** [libcrypto.0.9.8.dylib] Error 2 }}} Full log is attached. -- -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -----------------------------------+---------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: openssl x86_64 64-bit | Port: openssl -----------------------------------+---------------------------------------- Comment(by jmr@…): Are you really using 1.7.1? On SL you want to be using current trunk (aka 1.8). Some of the steps in that blog entry will be unnecessary on SL since it already has 64-bit Tcl. -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -----------------------------------+---------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: openssl x86_64 64-bit | Port: openssl -----------------------------------+---------------------------------------- Comment(by cbowns@…): Ah, ok. Yeah, I'm on 1.7.1. I'll install from trunk and give this another go. -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -----------------------------+---------------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.1 | Keywords: openssl x86_64 64-bit Port: openssl | -----------------------------+---------------------------------------------- Comment(by cbowns@…): Once I changed my macports config to have universal just be x86_64, openssl +universal built fine. -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -------------------------------+-------------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: openssl x86_64 64-bit Port: openssl | -------------------------------+-------------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed Comment: r52193 -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -------------------------------+-------------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: openssl x86_64 64-bit Port: openssl | -------------------------------+-------------------------------------------- Comment(by wiml@…): I think this is an LLVM-GCC bug. Compiling openssl-0.9.8k by hand (outside of macports) fails with exactly this error when using llvm-gcc-4.2, but succeeds when using gcc-4.2. -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19446: openssl fails to compile on x86_64 -------------------------------+-------------------------------------------- Reporter: cbowns@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: openssl x86_64 64-bit Port: openssl | -------------------------------+-------------------------------------------- Comment(by ddkilzer@…): Filed llvm-gcc bug: <http://llvm.org/bugs/show_bug.cgi?id=4505> -- Ticket URL: <http://trac.macports.org/ticket/19446#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts