Opened 2 years ago

#66223 assigned defect

tor fails to build on 10.6.8 as +universal (i386+x86_64) with Clang

Reported by: barracuda156 Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: snowleopard, x86_64 Cc:
Port: tor

Description

Not only PPC universal fails, but also Intel with Clang:

:info:build export AR="ar"; \
:info:build 	export ARFLAGS="cru"; \
:info:build 	export RANLIB="ranlib"; \
:info:build 	./scripts/build/combine_libs libtor.a src/core/libtor-app.a src/lib/libtor-compress.a src/lib/libtor-evloop.a src/lib/libtor-tls.a src/lib/libtor-crypt-ops.a src/ext/keccak-tiny/libkeccak-tiny.a src/lib/libcurve25519_donna.a src/ext/ed25519/ref10/libed25519_ref10.a src/ext/ed25519/donna/libed25519_donna.a src/lib/libtor-geoip.a src/lib/libtor-process.a src/lib/libtor-buf.a src/lib/libtor-confmgt.a src/lib/libtor-pubsub.a src/lib/libtor-dispatch.a src/lib/libtor-time.a src/lib/libtor-fs.a src/lib/libtor-encoding.a src/lib/libtor-sandbox.a src/lib/libtor-container.a src/lib/libtor-net.a src/lib/libtor-thread.a src/lib/libtor-memarea.a src/lib/libtor-math.a src/lib/libtor-meminfo.a src/lib/libtor-osinfo.a src/lib/libtor-log.a src/lib/libtor-lock.a src/lib/libtor-fdio.a src/lib/libtor-string.a src/lib/libtor-term.a src/lib/libtor-smartlist-core.a src/lib/libtor-malloc.a src/lib/libtor-wallclock.a src/lib/libtor-err.a src/lib/libtor-version.a src/lib/libtor-llharden.a src/lib/libtor-intmath.a src/lib/libtor-ctime.a src/lib/libtor-metrics.a src/trunnel/libor-trunnel.a src/lib/libtor-trace.a
:info:build /opt/local/bin/clang-mp-11  -pipe -Os -arch x86_64 -arch i386 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Qunused-arguments -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-tables -Wall -fno-strict-aliasing -Wno-deprecated-declarations @warning_flags  -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -pie -rdynamic -dead_strip -o src/tools/tor-resolve src/tools/tor-resolve.o src/trunnel/libor-trunnel.a src/lib/libtor-geoip.a src/lib/libtor-process.a src/lib/libtor-buf.a src/lib/libtor-confmgt.a src/lib/libtor-pubsub.a src/lib/libtor-dispatch.a src/lib/libtor-time.a src/lib/libtor-fs.a src/lib/libtor-encoding.a src/lib/libtor-sandbox.a src/lib/libtor-container.a src/lib/libtor-net.a src/lib/libtor-thread.a src/lib/libtor-memarea.a src/lib/libtor-math.a src/lib/libtor-meminfo.a src/lib/libtor-osinfo.a src/lib/libtor-log.a src/lib/libtor-lock.a src/lib/libtor-fdio.a src/lib/libtor-string.a src/lib/libtor-term.a src/lib/libtor-smartlist-core.a src/lib/libtor-malloc.a src/lib/libtor-wallclock.a src/lib/libtor-err.a src/lib/libtor-version.a src/lib/libtor-llharden.a src/lib/libtor-intmath.a src/lib/libtor-ctime.a src/lib/libtor-metrics.a src/lib/libtor-tls.a src/lib/libtor-crypt-ops.a src/ext/keccak-tiny/libkeccak-tiny.a src/lib/libcurve25519_donna.a src/ext/ed25519/ref10/libed25519_ref10.a src/ext/ed25519/donna/libed25519_donna.a -lssl -lcrypto   
:info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_tor/tor/work/tor-0.4.7.10/src/core/libtor-app.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
:info:build ar: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_tor/tor/work/tor-0.4.7.10/src/core/libtor-app.a: Inappropriate file type or format
:info:build make[1]: *** [libtor.a] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....

Attachments (1)

tor.log (884.3 KB) - added by barracuda156 2 years ago.

Download all attachments as: .zip

Change History (1)

Changed 2 years ago by barracuda156

Attachment: tor.log added
Note: See TracTickets for help on using tickets.