https://sourceware.org/bugzilla/show_bug.cgi?id=21964
--- Comment #6 from Michael Matz <matz at suse dot de> --- Created attachment 10354 --> https://sourceware.org/bugzilla/attachment.cgi?id=10354&action=edit tarball with testcase Here is one. Unlike libqb it's not using dl_iterate_phdr and then dlopen with the known name to get the shared lib, but instead dlopen directly, but that doesn't matter here. It's supposed to be extracted inside the binutils build directory, it calls ../ld/ld-new directly. I.e.: % cd build % tar xvf orphan.tar.gz && cd orphan % make gcc -o app app.c -ldl gcc -c -fPIC -o lib.o lib.c /usr/bin/ld -shared -o liborphan.so lib.o ./app && echo okay okay ../ld/ld-new -shared -o liborphan.so lib.o ./app can't find __start___verbose make: *** [failing] Error 2 % The above happens when the system /usr/bin/ld is still pre-2.29. With the patch it's: % make /usr/bin/ld -shared -o liborphan.so lib.o ./app && echo okay okay ../ld/ld-new -shared -o liborphan.so lib.o ./app % -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils