Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19446 closed defect (fixed)

openssl fails to compile on x86_64

Reported by: cbowns@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: openssl x86_64 64-bit Cc: ddkilzer@…
Port: openssl

Description (last modified by mf2k (Frank Schima))

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.

Attachments (1)

openssl_log.txt (7.8 KB) - added by cbowns@… 15 years ago.
openssl log

Download all attachments as: .zip

Change History (10)

Changed 15 years ago by cbowns@…

Attachment: openssl_log.txt added

openssl log

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Component: baseports
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

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.

comment:3 Changed 15 years ago by cbowns@…

Ah, ok. Yeah, I'm on 1.7.1. I'll install from trunk and give this another go.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by cbowns@…

Once I changed my macports config to have universal just be x86_64, openssl +universal built fine.

comment:6 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

comment:7 Changed 15 years ago by ddkilzer@…

Cc: ddkilzer@… added

Cc Me!

comment:8 Changed 15 years ago 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.

comment:9 Changed 15 years ago by ddkilzer@…

Note: See TracTickets for help on using tickets.