From: Paul F. <pj...@wa...> - 2025-10-20 13:57:39
|
Sent from my iPad > On 20 Oct 2025, at 13:17, Florian Krohm <fl...@ei...> wrote: > > make check on x86-64 produces a bunch of warnings like this one: > > /usr/bin/ld: int3-x86.o: warning: relocation in read-only section `.text' > /usr/bin/ld: warning: creating DT_TEXTREL in a PIE > > Attached patch fixes these by passing -no-pie to the linker. Regtested on linux. But I'm not sure whether -no-pie might cause a problem on Darwin... > > OK? Hi Florian I’m away for a few days and I’ll check when I get back. LLVM ELF defaults to using PIE for executables so -no-pie should be OK on FreeBSD. Not sure about Darwin and macho. We’ll see soonish. A+ Paul |