[PATCH] Properly handle --disable-default-pie [BZ #28780]

Siddhesh Poyarekar siddhesh@sourceware.org
Mon Jan 17 04:02:15 GMT 2022


On 16/01/2022 03:59, H.J. Lu wrote:
> When --disable-default-pie is used, glibc programs and the testsuite
> should be built as position dependent executables (non-PIE), regardless

should *not* be built?

> if the build compiler supports PIE or static PIE.
> 
> When --disable-default-pie is used, don't build PIE nor static PIE.
> by default.
> 
> This fixes BZ #28780.

I can't reproduce the bug here.  Could you share what you're doing?

Thanks,
Siddhesh


More information about the Libc-alpha mailing list