http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45863
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-01 23:54:16 UTC --- I got /export/gnu/import/svn/gcc-test/src-trunk/libstdc++-v3/testsuite/../scripts/extract_symvers: line 88: nawk: command not found^M or /export/gnu/import/git/gcc/libstdc++-v3/testsuite/../scripts/extract_symvers: line 55: [: pvs: binary operator expected^M Linux has pvs: [...@gnu-1 testsuite]$ rpm -qf /sbin/pvs lvm2-2.02.73-2.fc13.x86_64 [...@gnu-1 testsuite]$ # Sun ld doesn't record symbol versions in .dynsym entries and they cannot # easily be extracted from readelf --versions output, so use pvs instead. if type pvs 2>&1 | grep 'not found' > /dev/null; then : else pvs="pvs -dsvo" fi is completely bogus.