|
|
Message-ID: <20261115100449.GC3542221@port70.net> Date: Sun, 15 Nov 2026 11:04:49 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: Yegor Yefremov <yegorslists@...glemail.com> Cc: musl@...ts.openwall.com Subject: Re: powerpc64: libc.so fails to link with -mcpu=power10 (pc-relative code) * Yegor Yefremov <yegorslists@...glemail.com> [2026-11-15 07:55:45 +0100]: > Building musl 1.2.6 for powerpc64le with gcc 15.3.0 and binutils > 2.46.1/2.47, with -mcpu=power10 or -mcpu=power11 in CFLAGS, fails > when linking libc.so: > > obj/ldso/dlstart.lo: in function `_dlstart': > dlstart.c:(.text+0x24): call to `_dlstart_c' lacks nop, can't restore toc; (toc save/adjust stub) > ld: final link failed: bad value https://marc.info/?l=musl&s=lacks+nop+toc+restore gives https://www.openwall.com/lists/musl/2026/11/05/6 > Disclosure: I used an AI assistant (Claude) to analyse this failure. > I reproduced the failure and verified the -mno-pcrel workaround > myself, as described above. I'm not submitting a patch. next time search the list first.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.