[Bug libstdc++/58304] New: gcc dev branch compilation Failed at libstdc++-v3 (used gcc 4.7.3 to compile)

2013-09-03 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58304

Bug ID: 58304
   Summary: gcc dev branch compilation Failed at libstdc++-v3
(used gcc 4.7.3 to compile)
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: harsha.patankar at gmail dot com

gcc dev branch compilation failed at libstdc++-v3.

/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/include/future:322:21:
internal compiler error: tree check: expected lambda_expr, have trait_expr in
cp_parser_lambda_expression, at cp/parser.c:8520
  _M_cond.wait(__lock, [&] { return _M_ready(); });

I'm using gcc 4.7.3 to compile 
Version Details: 
---
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl
--disable-cloog-version-check --disable-ppl-version-check --enable-multiarch
--disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) 

Error Details:

mkdir -p ./x86_64-unknown-linux-gnu/bits/stdc++.h.gch
/exports/src/gcc_build/./gcc/xgcc -shared-libgcc -B/exports/src/gcc_build/./gcc
-nostdinc++ -L/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include-x c++-header -nostdinc++ -g
-O2 -D_GNU_SOURCE 
-I/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/include
-I/exports/src/gcc/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/exports/src/gcc/libstdc++-v3/include/precompiled/stdc++.h \
-o x86_64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/exports/src/gcc/libstdc++-v3/include/precompiled/stdc++.h:103:0:
/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/include/future: In
member function ‘std::__future_base::_Result_base&
std::__future_base::_State_base::wait()’:
/exports/src/gcc_build/x86_64-unknown-linux-gnu/libstdc++-v3/include/future:322:21:
internal compiler error: tree check: expected lambda_expr, have trait_expr in
cp_parser_lambda_expression, at cp/parser.c:8520
  _M_cond.wait(__lock, [&] { return _M_ready(); });
 ^
0xfbaef2 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
/exports/src/gcc/gcc/tree.c:9207
0x5983db tree_check(tree_node*, char const*, int, char const*, tree_code)
/exports/src/gcc/gcc/tree.h:2600
0x6e6f97 cp_parser_lambda_expression
/exports/src/gcc/gcc/cp/parser.c:8520
0x6dfb3d cp_parser_primary_expression
/exports/src/gcc/gcc/cp/parser.c:4221
0x6e29ed cp_parser_postfix_expression
/exports/src/gcc/gcc/cp/parser.c:5804
0x6e4e67 cp_parser_unary_expression
/exports/src/gcc/gcc/cp/parser.c:7000
0x6e5a68 cp_parser_cast_expression
/exports/src/gcc/gcc/cp/parser.c:7592
0x6e5ad9 cp_parser_binary_expression
/exports/src/gcc/gcc/cp/parser.c:7692
0x6e62a6 cp_parser_assignment_expression
/exports/src/gcc/gcc/cp/parser.c:7928
0x6e6410 cp_parser_assignment_expression
/exports/src/gcc/gcc/cp/parser.c:7978
0x6e418e cp_parser_parenthesized_expression_list
/exports/src/gcc/gcc/cp/parser.c:6518
0x6e2c12 cp_parser_postfix_expression
/exports/src/gcc/gcc/cp/parser.c:5873
0x6e4e67 cp_parser_unary_expression
/exports/src/gcc/gcc/cp/parser.c:7000
0x6e5a68 cp_parser_cast_expression
/exports/src/gcc/gcc/cp/parser.c:7592
0x6e5ad9 cp_parser_binary_expression
/exports/src/gcc/gcc/cp/parser.c:7692
0x6e62a6 cp_parser_assignment_expression
/exports/src/gcc/gcc/cp/parser.c:7928
0x6e6513 cp_parser_expression
/exports/src/gcc/gcc/cp/parser.c:8090
0x6e6723 cp_parser_expression
/exports/s

[Bug c++/58304] gcc dev branch compilation Failed at libstdc++-v3 (used gcc 4.7.3 to compile)

2013-09-04 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58304

--- Comment #3 from Harsha  ---
I'm compiling Revision: 202247  using gcc 4.7.3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202247
138bc75d-0d04-0410-961f-82ee72b054a4

And my OS is Ubuntu 64-bit
Linux DESK 3.8.0-29-generic #42-Ubuntu SMP Tue Aug 13 19:40:39 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux


[Bug c++/58304] gcc dev branch compilation Failed at libstdc++-v3 (used gcc 4.7.3 to compile)

2013-09-04 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58304

--- Comment #4 from Harsha  ---
Created attachment 30748
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30748&action=edit
config.log attached


[Bug bootstrap/58304] gcc dev branch compilation Failed at libstdc++-v3 (used gcc 4.7.3 to compile)

2013-09-06 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58304

Harsha  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Harsha  ---
Hi Paolo,
  I compiled it successfully :)
The texinfo pacakge was missing. 

After installing it and pulling the latest revision and recompiling it. Things
worked. 

Thanks for your support.


[Bug bootstrap/54452] "no makeinfo case" in classpath/doc still fails when makeinfo is not present

2013-09-06 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54452

Harsha  changed:

   What|Removed |Added

 CC||harsha.patankar at gmail dot 
com

--- Comment #1 from Harsha  ---
on ubuntu install texinfo package:
sudo apt-get install texinfo


Then try compiling again.


[Bug bootstrap/58304] gcc dev branch compilation Failed at libstdc++-v3 (used gcc 4.7.3 to compile)

2013-09-08 Thread harsha.patankar at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58304

Harsha  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #8 from Harsha  ---
As Paolo stated, this error may be due to intermediate code sync up and
compilation. But was not seen in later code sync. 
Therefore closing this case.