------- 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