[PATCH v2] change ifunc assembly test to a link test

Mike Frysinger vapier@gentoo.org
Wed Oct 24 02:29:00 GMT 2012


On Tuesday 23 October 2012 19:51:01 Joseph S. Myers wrote:
> On Tue, 23 Oct 2012, Mike Frysinger wrote:
> > hmm, current code is already using such features:
> > $ grep 'grep -q' configure.in
> > if $CC -v -static-libgcc 2>&1 | grep -q 'unrecognized
> > option.*static-libgcc'; conftest.c -v 2>&1 >/dev/null | grep -q "
> > -lunwind "; then
> > 
> >    && grep -q .note.GNU-stack conftest.s \
> 
> Maybe you should raise this on bug-standards to get the GNU Coding
> Standards to allow it.  It seems strange that the GNU Coding Standards
> still refer to traditional Bourne shell compatibility (not even
> POSIX.2-1992), when they allow use of C99 and POSIX.1-2001 C library
> interfaces; I'd think it ought to be OK by now for shell scripts in GNU
> software to use at least anything from POSIX.2-1992 (both shell features,
> and utility options), and probably the 2001 edition of POSIX (like for C
> interfaces).

at least when it comes to shell functions, we're already relying on that.  we 
use autoconf, and autoconf generates shell functions now, and the generated 
code in the tree has had that since glibc-2.7 circa 2007.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20121024/abe25dd8/attachment.sig>


More information about the Libc-alpha mailing list