Re: disable-pie build

2023-11-12 Thread Michael Tokarev
12.11.2023 20:03, Paolo Bonzini пишет: Il sab 11 nov 2023, 03:40 Michael Tokarev mailto:m...@tls.msk.ru>> ha scritto: Hi! It looks like --disable-pie configure, which uses -fno-pie -no-pie flags for the compiler, is broken: it does not not tell the *linker* about the option, s

Re: disable-pie build

2023-11-12 Thread Paolo Bonzini
Il sab 11 nov 2023, 03:40 Michael Tokarev ha scritto: > Hi! > > It looks like --disable-pie configure, which uses -fno-pie -no-pie flags > for the compiler, is broken: it does not not tell the *linker* about the > option, so the link fails (at least on debian bookworm): > > /usr/bin/ld: libcommon

Re: disable-pie build

2023-11-12 Thread Michael Tokarev
On 12.11.2023 12:13, Paolo Bonzini wrote: Il sab 11 nov 2023, 21:09 Volker Rümelin mailto:vr_q...@t-online.de>> ha scritto: No, this doesn't look good. This patch again breaks the native Windows build with MSYS2 and mingw64 cross compile probably too. Doh, you're right of course (ht

Re: disable-pie build

2023-11-12 Thread Paolo Bonzini
Il sab 11 nov 2023, 21:09 Volker Rümelin ha scritto: > No, this doesn't look good. This patch again breaks the native Windows > build with MSYS2 and mingw64 cross compile probably too. > Doh, you're right of course ( https://lists.nongnu.org/archive/html/qemu-devel/2023-05/msg05486.html). We nee

Re: disable-pie build

2023-11-11 Thread Volker Rümelin
Am 11.11.23 um 17:09 schrieb Paolo Bonzini: > On Sat, Nov 11, 2023 at 3:40 AM Michael Tokarev wrote: >> Hi! >> >> It looks like --disable-pie configure, which uses -fno-pie -no-pie flags >> for the compiler, is broken: it does not not tell the *linker* about the >> option, so the link fails (at le

Re: disable-pie build

2023-11-11 Thread Paolo Bonzini
On Sat, Nov 11, 2023 at 3:40 AM Michael Tokarev wrote: > > Hi! > > It looks like --disable-pie configure, which uses -fno-pie -no-pie flags > for the compiler, is broken: it does not not tell the *linker* about the > option, so the link fails (at least on debian bookworm): Looks good, if you can

disable-pie build

2023-11-10 Thread Michael Tokarev
Hi! It looks like --disable-pie configure, which uses -fno-pie -no-pie flags for the compiler, is broken: it does not not tell the *linker* about the option, so the link fails (at least on debian bookworm): /usr/bin/ld: libcommon.fa.p/hw_core_cpu-common.c.o: relocation R_X86_64_32 against `.roda