This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40092] [c++0x] expansion pattern fails with error about derived template instead of actual template
- From: "cppljevans at suddenlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2009 14:07:07 -0000
- Subject: [Bug c++/40092] [c++0x] expansion pattern fails with error about derived template instead of actual template
- References: <bug-40092-7390@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from cppljevans at suddenlink dot net 2009-08-17 14:07 -------
Subject: Re: -std=gnu++0x expansion pattern fails with error
about derived template instead of actual template
On 08/16/09 10:45, paolo dot carlini at oracle dot com wrote:
> ------- Comment #13 from paolo dot carlini at oracle dot com 2009-08-16 15:45 -------
> (In reply to comment #12)
>
>> Does anything else need to be done before the patch is accepted?
>>
>
> Yes, patch + testcase must be sent to the gcc-patches mailing list. If the
> changes are not trivial, of course you need a Copyright assignment.
>
Thank you; however, I'm having problems with libstdc++ tests.
I downloaded from svn the trunk:
<---cut here---
-*- mode: compilation; default-directory: "~/download/gcc/svn/trunk/" -*-
Compilation started at Mon Aug 17 09:05:35
svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 150807
Node Kind: directory
Schedule: normal
Last Changed Author: jason
Last Changed Rev: 150807
Last Changed Date: 2009-08-16 12:42:56 -0500 (Sun, 16 Aug 2009)
Compilation finished at Mon Aug 17 09:05:35
>---cut here---
However, the libstdc++ tests failed:
<---cut here---
Test Run By evansl on Mon Aug 17 08:05:33 2009
Native configuration is x86_64-unknown-linux-gnu
=== libstdc++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
FAIL: abi_check
Running
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
...
FAIL: 17_intro/headers/c++1998/all.cc (test for excess errors)
FAIL: 17_intro/headers/c++1998/all_c++200x_compatibility.cc (test for
excess errors)
FAIL: 17_intro/headers/c++1998/all_no_exceptions.cc (test for excess errors)
FAIL: 17_intro/headers/c++1998/all_pedantic_errors.cc (test for excess
errors)
FAIL: 17_intro/headers/c++1998/stdc++.cc (test for excess errors)
FAIL: 17_intro/headers/c++1998/stdc++_assert_neg.cc (test for errors,
line 34)
FAIL: 17_intro/headers/c++1998/stdc++_assert_neg.cc (test for excess errors)
FAIL: 17_intro/headers/c++1998/stdc++_multiple_inclusion.cc (test for
excess errors)
FAIL: 17_intro/headers/c++200x/all_no_exceptions.cc (test for excess errors)
FAIL: 17_intro/headers/c++200x/all_pedantic_errors.cc (test for excess
errors)
FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors)
FAIL: 17_intro/headers/c++200x/stdc++_multiple_inclusion.cc (test for
excess errors)
=== libstdc++ Summary ===
# of expected passes 6296
# of unexpected failures 13
# of expected failures 85
# of unsupported tests 335
make[2]: *** [check-DEJAGNU] Error 1
make[2]: Leaving directory
`/home/evansl/download/gcc/svn/build/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/home/evansl/download/gcc/svn/build/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite'
make: *** [check-recursive] Error 1
>---cut here---
The .log file contents suggest some missing files:
<---cut here---
-*- mode: compilation; default-directory:
"~/download/gcc/svn/build/x86_64-unknown-linux-gnu/libstdc++-v3/testsuite/"
-*-
Compilation started at Mon Aug 17 09:22:51
head --lines=1684 libstdc++.log|tail --lines=10
compilation terminated.
compiler exited with status 1
output is:
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all.cc:20:25:
error: one or more PCH files were found, but they were invalid
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all.cc:20:25:
error: use -Winvalid-pch for more information
/home/evansl/download/gcc/svn/src/libstdc++-v3/testsuite/17_intro/headers/c++1998/all.cc:20:25:
fatal error: bits/extc++.h: No such file or directory
compilation terminated.
FAIL: 17_intro/headers/c++1998/all.cc (test for excess errors)
Excess errors:
Compilation finished at Mon Aug 17 09:22:51
>---cut here---
Could you give me some hint on how to correct this?
I did do all the steps outlined here:
http://gcc.gnu.org/contribute.html#testing
i.e.
make clean-target-libstdc++-v3 # clean libstdc++ and ...
test -d */libjava && make -C */libjava clean-nat # ... parts of libjava
make all-target-libstdc++-v3 all-target-libjava # rebuild compiler and
libraries
make -k check-c++ # run C++/libstdc++
testsuite
So, I've no idea how to proceed.
Any help would be appreciated.
TIA.
-Larry
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092