Bug 16043 - [3.4 only] gcc version not reported with "enable-version-specific-runtime-libs" to gcc-testresults
: [3.4 only] gcc version not reported with "enable-version-specific-runtime-lib...
Status: RESOLVED FIXED
Product: gcc
Classification: Unclassified
Component: other
: 4.0.0
: P2 normal
: 3.4.4
Assigned To: David Billinghurst
:
: patch
:
:
  Show dependency treegraph
 
Reported: 2004-06-18 00:42 UTC by David Billinghurst
Modified: 2005-01-24 05:19 UTC (History)
1 user (show)

See Also:
Host: i686-pc-cygwin
Target: i686-pc-cygwin
Build: i686-pc-cygwin
Known to work:
Known to fail:
Last reconfirmed: 2004-06-18 01:47:46


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Billinghurst 2004-06-18 00:42:35 UTC
The test_summary script is not reporting the GCC version in my mail to gcc-
testresults.  I think I have tracked down the problem and am testing a fix.

The problem appears to be in gcc/testsuite/gcc.exp (and the other tool.exp 
routines).  The regexp to print and report the version is

   regexp "version\[^\n\r\]*" $output version

However "/usr/local/obj/gcc/gcc/xgcc -B/usr/local/obj/gcc/gcc/ -v" gives

Reading specs from /usr/local/obj/gcc/gcc/specs
Configured with: /usr/local/src/gcc/configure --prefix=/usr/local/gcc-3_5 --
enable-threads=posix --enable-languages=c,c++,f95,java,objc --disable-libgcj --
enable-sjlj-exceptions --with-system-zlib --enable-nls --disable-libmudflap --
disable-libstdcxx-pch --enable-version-specific-runtime-libs --without-
included-gettext --disable-shared
Thread model: posix
gcc version 3.5.0 20040617 (experimental)


and the regexp finds --enable-version-specific-runtime-libs flag.
Comment 1 Andrew Pinski 2004-06-18 01:47:46 UTC
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01460.html>.
Comment 3 David Billinghurst 2004-06-18 23:57:40 UTC
Patch committed to to HEAD.  Need to backport to 3.4 branch after testing and 
approval.
Comment 4 Mark Mitchell 2004-08-29 18:44:11 UTC
Postponed until GCC 3.4.3.
Comment 5 Mark Mitchell 2004-11-01 00:45:10 UTC
Postponed until GCC 3.4.4.
Comment 6 David Billinghurst 2005-01-24 05:19:06 UTC
Patch applied to 3.4 branch