This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2009 18:50:11 -0000
- Subject: [Bug libstdc++/38923] symbol versioning disabled due to non-portable sed script
- References: <bug-38923-5876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from bkoz at gcc dot gnu dot org 2009-01-20 18:50 -------
This code block appears to be capable of generating no end of issues, sadly.
For the record, POSIX head docs say -n is a requirement for conformance, at
least p.2791 of EEE Std 1003.1-2008. Of course, who knows if all platforms
support it.
I don't see how s/head -1/head -n 1/ will fix the solaris symbol versioning
configure error though.
FYI, libgomp also does much the same thing and we're trying to keep this stuff
in sync so you'll need to do the equivalent thing to libgomp/acinclude.m4's
LIBGOMP_CHECK_LINKER_FEATURES.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38923