[MacPorts] #71680: gnuregex fails on powerpc: symbol dyld_stub_binding_helper not defined for architecture ppc
MacPorts
noreply at macports.org
Mon Dec 30 17:12:38 UTC 2024
#71680: gnuregex fails on powerpc: symbol dyld_stub_binding_helper not defined for
architecture ppc
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: gnuregex |
---------------------------+--------------------
Comment (by kencu):
When driving the linker, libtool and the gcc compiler invoke it quite
differently.
As gcc's works, and libtool's does not, it might be fruitful to see what
exactly those differences are:
{{{
$ libtool -v -lSystem -dynamic -install_name
/opt/local/lib/libgnuregex.dylib -o libgnuregex.dylib regex.o
+ /opt/local/bin/ld -arch_multiple -arch ppc -dylib -dynamic -all_load
-force_cpusubtype_ALL -no_arch_warnings -dylib_install_name
/opt/local/lib/libgnuregex.dylib -lSystem regex.o -o libgnuregex.dylib
ld: symbol dyld_stub_binding_helper not defined (usually in
crt1.o/dylib1.o/bundle1.o) for architecture ppc
fatal error: libtool: internal link edit command failed
$ /usr/bin/gcc-4.2 -v -Wl,-v -lSystem -dynamiclib -install_name
${prefix}/lib/libgnuregex.dylib -o libgnuregex.dylib regex.o
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5577~1/src/configure --disable-
checking --prefix=/usr --mandir=/usr/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-
name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
darwin9 --with-gxx-include-dir=/usr/include/c++/4.0.0 --program-prefix=
--host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5577)
/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/collect2 -dynamic -dylib
-arch ppc -dylib_install_name /lib/libgnuregex.dylib -macosx_version_min
10.5.8 -weak_reference_mismatches non-weak -o libgnuregex.dylib
-ldylib1.10.5.o -L/usr/lib/powerpc-apple-darwin9/4.2.1 -L/usr/lib/gcc
/powerpc-apple-darwin9/4.2.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.2.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/../../../powerpc-apple-
darwin9/4.2.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/../../.. -v
-lSystem regex.o -lgcc_s.10.5 -lgcc -lSystemStubs -lSystem
collect2 version 4.2.1 (Apple Inc. build 5577) (Darwin/PowerPC)
/usr/libexec/gcc/powerpc-apple-darwin9/4.2.1/ld -dynamic -dylib -arch ppc
-dylib_install_name /lib/libgnuregex.dylib -macosx_version_min 10.5.8
-weak_reference_mismatches non-weak -o libgnuregex.dylib -ldylib1.10.5.o
-L/usr/lib/powerpc-apple-darwin9/4.2.1 -L/usr/lib/gcc/powerpc-apple-
darwin9/4.2.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.2.1 -L/usr/lib/gcc
/powerpc-apple-darwin9/4.2.1/../../../powerpc-apple-darwin9/4.2.1
-L/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/../../.. -v -lSystem regex.o
-lgcc_s.10.5 -lgcc -lSystemStubs -lSystem
}}}
--
Ticket URL: <https://trac.macports.org/ticket/71680#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list