GCC Bugzilla – Bug 16043
[3.4 only] gcc version not reported with "enable-version-specific-runtime-libs" to gcc-testresults
Last modified: 2005-01-24 05:19:06 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.
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-06/msg01460.html>.
Subject: Bug 16043 CVSROOT: /cvs/gcc Module name: gcc Changes by: billingd@gcc.gnu.org 2004-06-18 23:48:46 Modified files: gcc/testsuite/lib: g++.exp g77.exp gcc.exp gfortran.exp objc.exp treelang.exp gcc/testsuite : ChangeLog Log message: 2004-06-19 David Billinghurst (David.Billinghurst@riotinto.com) PR other/16043 * lib/g++.exp (g++_version): Tweak regexp for version * lib/g77.exp (g77_version): Likewise * lib/gfortran.exp (gfortran_version): Likewise * lib/objc.exp (objc_version): Likewise * lib/treelang.exp (treelang_version): Likewise Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/g++.exp.diff?cvsroot=gcc&r1=1.38&r2=1.39 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/g77.exp.diff?cvsroot=gcc&r1=1.18&r2=1.19 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/gcc.exp.diff?cvsroot=gcc&r1=1.13&r2=1.14 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/gfortran.exp.diff?cvsroot=gcc&r1=1.3&r2=1.4 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/objc.exp.diff?cvsroot=gcc&r1=1.23&r2=1.24 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/treelang.exp.diff?cvsroot=gcc&r1=1.2&r2=1.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3872&r2=1.3873
Patch committed to to HEAD. Need to backport to 3.4 branch after testing and approval.
Postponed until GCC 3.4.3.
Postponed until GCC 3.4.4.
Patch applied to 3.4 branch