#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)
Change History (6)
Changed 16 years ago by gianluca.toso@…
Attachment: | openssl_0.9.8i.patch added |
---|
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:4 Changed 16 years ago by jmroot (Joshua Root)
Cc: | jmr@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in r45087.
Note: See
TracTickets for help on using
tickets.
Patch