From: John R. <jr...@bi...> - 2025-10-20 16:44:00
|
On 10/20/25 4:16 AM, Florian Krohm 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. Please add a comment about the source of that relocation. Was -fPIC omitted on purpose from some specific compilation, or did the static binder /usr/bin/ld cause that relocation during LinkTimeOptimization, or what? |