]> sourceware.org Git - glibc.git/commit
Properly check linker option in LIBC_LINKER_FEATURE [BZ #28738]
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 2 Jan 2022 14:01:21 +0000 (06:01 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 3 Jan 2022 13:12:34 +0000 (05:12 -0800)
commitbd1616c6bee625a2726d0f8b477881b4b25697d8
treeb3dae5efabfe793bcd72173eaab4a9dec1d06871
parenta51faeee6ae68da63e65eb0a1eb6c9ec2ce2148b
Properly check linker option in LIBC_LINKER_FEATURE [BZ #28738]

Update LIBC_LINKER_FEATURE to also check linker warning message since
unknown linker -z option may be ignored by linker:

$ touch x.c
$ gcc -shared -Wl,-z,foobar x.c
/usr/bin/ld: warning: -z foobar ignored
$ echo $?
0
$

This fixes BZ #28738.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
aclocal.m4
configure
This page took 0.040651 seconds and 5 git commands to generate.