public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile
@ 2012-10-29 20:13 rbmj at verizon dot net
  2012-10-29 20:36 ` [Bug c++/55126] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-29 20:13 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55126

             Bug #: 55126
           Summary: Libstdc++-v3 fails to compile
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rbmj@verizon.net


Hello everyone,

libstdc++-v3 fails to compile, with the following error message:

In file included from
../../../../../gcc/libstdc++-v3/src/c++98/complex_io.cc:25:0:
/home/rbmj/build/powerpc-wrs-vxworks/libstdc++-v3/include/complex: In function
'std::basic_ostream<_CharT, _Traits>&
std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
[with _Tp = float; _CharT = char; _Traits = std::char_traits<char>]':
/home/rbmj/build/powerpc-wrs-vxworks/libstdc++-v3/include/complex:529:5:
internal compiler error: Segmentation fault
     }
     ^
0xa582bf crash_signal
    ../../gcc/gcc/toplev.c:333
0xa43264 emit_case_dispatch_table
    ../../gcc/gcc/stmt.c:1919
0xa4a219 expand_sjlj_dispatch_table(rtx_def*, vec_t<tree_node*>*)
    ../../gcc/gcc/stmt.c:2292
0x81bde9 sjlj_emit_dispatch_table
    ../../gcc/gcc/except.c:1363
0x81bde9 sjlj_build_landing_pads
    ../../gcc/gcc/except.c:1420
0x81bde9 finish_eh_generation()
    ../../gcc/gcc/except.c:1454
0x784ef6 gimple_expand_cfg
    ../../gcc/gcc/cfgexpand.c:4600
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [complex_io.lo] Error 1

This is a regression, as it successfully compiled with revision 191596, but
with 192956 has the above error message.

I wasn't sure whether to file this under libstdc++ or the c++ front end.

Build configuration:

../gcc/configure          --prefix=/usr          --target=powerpc-wrs-vxworks  
       --with-gnu-as          --with-gnu-ld          --with-headers         
--disable-shared          --disable-libssp          --disable-multilib         
--with-float=hard          --enable-languages=c,c++          --enable-libstdcxx
         --enable-threads=vxworks          --without-gconv         
--disable-libgomp          --disable-nls          --disable-libmudflap         
--with-cpu-PPC603          --disable-symvers


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/55126] Libstdc++-v3 fails to compile
  2012-10-29 20:13 [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile rbmj at verizon dot net
@ 2012-10-29 20:36 ` redi at gcc dot gnu.org
  2012-10-30  1:04 ` [Bug target/55126] " rbmj at verizon dot net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2012-10-29 20:36 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55126

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |c++

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-10-29 20:35:52 UTC ---
if the C++ front-end segfaults it's a front-end bug (or maybe target)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/55126] Libstdc++-v3 fails to compile
  2012-10-29 20:13 [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile rbmj at verizon dot net
  2012-10-29 20:36 ` [Bug c++/55126] " redi at gcc dot gnu.org
@ 2012-10-30  1:04 ` rbmj at verizon dot net
  2012-10-30  1:15 ` d.g.gorbachev at gmail dot com
  2012-10-30  1:59 ` rbmj at verizon dot net
  3 siblings, 0 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-30  1:04 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55126

--- Comment #2 from rbmj at verizon dot net 2012-10-30 01:04:08 UTC ---
git bisect reports that commit that introduced the regression is svn: 192488
(or git: 584abc984ad...).

I don't know enough about the codebase to easily tell where gcc is segfaulting,
but hopefully somebody whose familiar with the internals can quickly see what
happened.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/55126] Libstdc++-v3 fails to compile
  2012-10-29 20:13 [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile rbmj at verizon dot net
  2012-10-29 20:36 ` [Bug c++/55126] " redi at gcc dot gnu.org
  2012-10-30  1:04 ` [Bug target/55126] " rbmj at verizon dot net
@ 2012-10-30  1:15 ` d.g.gorbachev at gmail dot com
  2012-10-30  1:59 ` rbmj at verizon dot net
  3 siblings, 0 replies; 5+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2012-10-30  1:15 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55126

--- Comment #3 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-10-30 01:14:47 UTC ---
A dup of PR54957 / PR55014.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/55126] Libstdc++-v3 fails to compile
  2012-10-29 20:13 [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile rbmj at verizon dot net
                   ` (2 preceding siblings ...)
  2012-10-30  1:15 ` d.g.gorbachev at gmail dot com
@ 2012-10-30  1:59 ` rbmj at verizon dot net
  3 siblings, 0 replies; 5+ messages in thread
From: rbmj at verizon dot net @ 2012-10-30  1:59 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55126

rbmj at verizon dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #4 from rbmj at verizon dot net 2012-10-30 01:59:10 UTC ---
Sorry for reporting a dup - I can confirm that the fix in 54957 works. 
Hopefully that will get in soon.

*** This bug has been marked as a duplicate of bug 54957 ***


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-30  1:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-29 20:13 [Bug libstdc++/55126] New: Libstdc++-v3 fails to compile rbmj at verizon dot net
2012-10-29 20:36 ` [Bug c++/55126] " redi at gcc dot gnu.org
2012-10-30  1:04 ` [Bug target/55126] " rbmj at verizon dot net
2012-10-30  1:15 ` d.g.gorbachev at gmail dot com
2012-10-30  1:59 ` rbmj at verizon dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).