Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16726 closed defect (fixed)

openssl fails to compile universal on Tiger PPC

Reported by: gianluca.toso@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: openssl universal tiger ppc Cc: ryan@…, jmroot (Joshua Root)
Port: openssl

Description

openssl 0.9.8i (and older) fails to compile as universal binary on Tiger PPC:

Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/i386 && make all" returned error 2
Command output: _fwrite$UNIX2003
_strerror
_strtoul
___tolower
_strcat
___stderrp
___stdinp
_sigaction
_tcgetattr
_tcsetattr
_getegid
_geteuid
_getgid
_getuid
_gmtime
_fstat
_open
_dlclose
_dlerror
_dlopen
_dlsym
_sprintf
_memcpy referenced from libz expected to be defined in /usr/lib/libSystem.B.dylib
_memset referenced from libz expected to be defined in /usr/lib/libSystem.B.dylib
_free referenced from libz expected to be defined in /usr/lib/libSystem.B.dylib
_malloc referenced from libz expected to be defined in /usr/lib/libSystem.B.dylib
collect2: ld returned 1 exit status
make[2]: *** [link_app.darwin] Error 1
make[1]: *** [openssl] Error 2
make: *** [build_apps] Error 1

This because system libraries aren't universal, so it must use the developer SDK (-isysroot ...), at least for the intel compile.

In attachment my simple patch.

Attachments (1)

openssl_0.9.8i.patch (3.5 KB) - added by gianluca.toso@… 16 years ago.
Patch

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by gianluca.toso@…

Attachment: openssl_0.9.8i.patch added

Patch

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

Owner: changed from macports-tickets@… to mww@…

Assigning to maintainer.

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

Should really use universal_sysroot instead of hardcoding the 10.4u SDK.

comment:3 Changed 15 years ago by blb@…

Cc: ryan@… added

Cc reporter of dup #14131.

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

Cc: jmr@… added
Resolution: fixed
Status: newclosed

Fixed in r45087.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.