[PATCH v2 3/6] ld: Pass $NOPIE_CFLAGS and $NOPIE_LDFLAGS to test pr21964-4

Jan Beulich jbeulich@suse.com
Mon Mar 24 16:10:39 GMT 2025


On 21.03.2025 17:58, Jens Remus wrote:
> Linker test "pr21964-4" fails on s390x on Ubuntu 24.10 but not on
> Fedora 41.  The reason is that GCC on Ubuntu is configured with
> --enable-default-pie, so that it defaults to compile with -fPIE
> and link with -pie, which causes the test to erroneously fail.
> 
> ld/testsuite/
> 	PR ld/21090
> 	* ld-elf/shared.exp: Compile pr21964-4 with $NOPIE_CFLAGS and
> 	link with $NOPIE_LDFLAGS.
> 
> Bug: https://sourceware.org/PR21090
> Signed-off-by: Jens Remus <jremus@linux.ibm.com>

Okay.

Jan



More information about the Binutils mailing list