Opened 15 months ago
Last modified 7 weeks ago
#70706 new defect
libmd build error: Undefined symbols: "_SHA224Transform", referenced from: -exported_symbols_list command line option
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.1 |
| Keywords: | legacy-os ppc | Cc: | raimue (Rainer Müller), potmj (Michael Pot) |
| Port: | libmd |
Description
GEN libmd.sym
CCLD libmd.la
Undefined symbols:
"_SHA224Transform", referenced from:
-exported_symbols_list command line option
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [libmd.la] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmd/libmd/work/libmd-1.1.0/src'
make[2]: *** [all] Error 2
Attachments (1)
Change History (6)
comment:1 Changed 15 months ago by raimue (Rainer Müller)
comment:2 Changed 15 months ago by raimue (Rainer Müller)
| Keywords: | legacy-os ppc added |
|---|
comment:4 Changed 7 weeks ago by potmj (Michael Pot)
| Cc: | potmj added |
|---|
comment:5 Changed 7 weeks ago by potmj (Michael Pot)
It seems configure is selecting preferred compiler Xcode-gcc-4.2 for me, and this is not supporting the symbol aliasing properly.
macports apple-gcc-4.2 works for me as far as i386 x86_64 +universal on 10.5.8 Intel (I don't have a newer 4 arch [ppc ppc64 i386 x86_64] compiler working yet).
$ sudo port -n upgrade --force libmd +universal configure.compiler=apple-gcc-4.2 'configure.universal_archs=x86_64 i386'
$ port -v installed libmd libmd @1.1.0_0 requested_variants='' platform='darwin 9' archs='i386' date='2025-10-30T15:54:01+1300' libmd @1.1.0_0+universal (active) requested_variants='+universal' platform='darwin 9' archs='i386 x86_64' date='2025-10-30T16:19:08+1300'
local-link.h strong_alias() does not seem to be working with the Xcode compiler.
The assembly code under #if defined(__APPLE__) probably needs separate code blocks added for ppc & ppc64 I guess.
Note: See
TracTickets for help on using
tickets.

Could you please attach a full main.log? Also on which macOS version does this occurr?