[PATCH] csu: Fix static when PIE is enabled but static PIE is not supported (BZ #29575)

John Paul Adrian Glaubitz glaubitz@physik.fu-berlin.de
Sun Nov 6 15:14:48 GMT 2022


Hello!

On 10/5/22 19:08, Adhemerval Zanella wrote:
> On architectures where static PIE is not supported, both libc and
> static binaries are built still with -fPIE and -DPIC.  It leads to
> wrong code for some architectures (for instance sparc).

Just noticed today that this issue affects the sh4 architecture as well [1].

Adrian

> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29575#c4

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Libc-alpha mailing list