#34135: openssl: compile failure on PPC darwin 9 ---------------------------------+------------------------------------------ Reporter: blair@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: openssl | ---------------------------------+------------------------------------------ Changes (by Peter_Dyballa@…): * status: closed => reopened * resolution: fixed => Comment: I started to upgrade packages on Tiger, 10.4.11, PPC. The package openssl-1.0.1a does not build here with GCC 4.0 (GCC 4.2 is available): {{{ /usr/bin/ranlib ../../libcrypto.a || echo Never mind. /usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp224.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp256.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp521.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistputil.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_win.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_os2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_nw.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(m_md2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(evp_fips.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a/crypto/cmac' if [ -n "libcrypto.1.0.0.dylib libssl.1.0.0.dylib" ]; then \ (cd ..; /usr/bin/make libcrypto.1.0.0.dylib); \ fi make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' [ -z "" ] || /usr/bin/gcc-4.0 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL -Iinclude \ -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso \ fips_premain.c fipscanister.o \ libcrypto.a -L/opt/local/lib -lz make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' Undefined symbols: "_OPENSSL_ia32cap_P", referenced from: _OPENSSL_ia32cap_P$non_lazy_ptr in libcrypto.a(e_rc4_hmac_md5.o) ld: symbol(s) not found /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make[4]: *** [link_a.darwin] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' }}} The patch files mentioned have not yet arrived: {{{ l lil.fr.rsync.macports.org/release/tarballs/ports/devel/openssl/files/ total 32 -rw-r--r-- 1 root wheel 645 16 Feb 06:25 patch-Configure.diff -rw-r--r-- 1 root wheel 506 8 Jul 2010 patch-Makefile.org.diff -rw-r--r-- 1 root wheel 1487 19 Sep 2011 patch-bn_internal.pod.diff -rw-r--r-- 1 root wheel 504 2 Feb 2009 patch-crypto-Makefile.diff }}} -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS