https://sourceware.org/bugzilla/show_bug.cgi?id=32460
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 Last reconfirmed| |2024-12-17 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Stas Sergeev from comment #2) > Created attachment 15849 [details] > new test case > > No custom linker here, no! > Attached it a new test-case. > Now it links libtmp.so from > object files with plain `cc -shared -o libtmp.so` Works for me: [hjl@gnu-tgl-3 ld2]$ make OBJCOPY=objcopy cc -shared -o libtmp.so command.o cmdbuf.o mouse.o env.o psp.o umb.o ae0x.o compl.o clip.o thunks_a.o thunks_c.o -L. -ldj64 -Wl,-Bsymbolic -Wl,--no-undefined -Wl,--as-needed objcopy --only-keep-debug libtmp.so tmp.dbg [hjl@gnu-tgl-3 ld2]$ Which linker were you using? I tried, ld, lld, gold and mold. All worked. -- You are receiving this mail because: You are on the CC list for the bug.