public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37615]  New: terminate called after throwing and instance of 'XXX' c++ testsuite failures
@ 2008-09-22 13:29 sposelenov at emcraft dot com
  2008-09-22 13:33 ` [Bug c++/37615] " sposelenov at emcraft dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sposelenov at emcraft dot com @ 2008-09-22 13:29 UTC (permalink / raw)
  To: gcc-bugs

Ran gcc testsuite and got a lot of c++ testsuite failures like for
g++.dg/eh/cond1.C:
...
terminate called after throwing an instance of 'int'
terminate called recursively
...

Compiler details:
Target: arm-linux-gnueabi
Configured with:
/work/psl/eldk-builds/arm-2008-09-10/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/gcc-4.2.2/configure
--target=arm-linux-gnueabi --host=i686-host_pc-linux-gnu
--prefix=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi
--disable-hosted-libstdcxx
--with-headers=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/arm-linux-gnueabi/include
--with-local-prefix=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/arm-linux-gnueabi
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++,java --enable-shared --enable-c99 --enable-long-long
--without-x
Thread model: posix
gcc version 4.2.2

It's interesting that statically-built binary run OK.
Also, according to testresults in
http://gcc.gnu.org/ml/gcc-testresults/2007-09/msg00570.html , this should work,
unless got broken in release version.

Known to work on powerpc, toolchain is the same.


-- 
           Summary: terminate called after throwing and instance of 'XXX'
                    c++ testsuite failures
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sposelenov at emcraft dot com
  GCC host triplet: i386-linux
GCC target triplet: arm-linux-gnueabi


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


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

* [Bug c++/37615] terminate called after throwing and instance of 'XXX' c++ testsuite failures
  2008-09-22 13:29 [Bug c++/37615] New: terminate called after throwing and instance of 'XXX' c++ testsuite failures sposelenov at emcraft dot com
@ 2008-09-22 13:33 ` sposelenov at emcraft dot com
  2008-10-01 11:30 ` [Bug target/37615] " sposelenov at emcraft dot com
  2008-10-25 17:29 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: sposelenov at emcraft dot com @ 2008-09-22 13:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sposelenov at emcraft dot com  2008-09-22 13:32 -------
Created an attachment (id=16378)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16378&action=view)
Reduced testcase

Build as:
arm-linux-gnueabi-g++ -o cond1 cond1.C


-- 


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


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

* [Bug target/37615] terminate called after throwing and instance of 'XXX' c++ testsuite failures
  2008-09-22 13:29 [Bug c++/37615] New: terminate called after throwing and instance of 'XXX' c++ testsuite failures sposelenov at emcraft dot com
  2008-09-22 13:33 ` [Bug c++/37615] " sposelenov at emcraft dot com
@ 2008-10-01 11:30 ` sposelenov at emcraft dot com
  2008-10-25 17:29 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: sposelenov at emcraft dot com @ 2008-10-01 11:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sposelenov at emcraft dot com  2008-10-01 11:28 -------
Found the cause of the problem - it's binutils 2.17.50. Using ld version 2.18
or even 2.17.90 creates workable libstdc++.so.

Could please someone responsible close this bug with correct "resolution"?


-- 


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


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

* [Bug target/37615] terminate called after throwing and instance of 'XXX' c++ testsuite failures
  2008-09-22 13:29 [Bug c++/37615] New: terminate called after throwing and instance of 'XXX' c++ testsuite failures sposelenov at emcraft dot com
  2008-09-22 13:33 ` [Bug c++/37615] " sposelenov at emcraft dot com
  2008-10-01 11:30 ` [Bug target/37615] " sposelenov at emcraft dot com
@ 2008-10-25 17:29 ` manu at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-10-25 17:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2008-10-25 17:28 -------
closed as INVALID then.


-- 

manu at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-10-25 17:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-22 13:29 [Bug c++/37615] New: terminate called after throwing and instance of 'XXX' c++ testsuite failures sposelenov at emcraft dot com
2008-09-22 13:33 ` [Bug c++/37615] " sposelenov at emcraft dot com
2008-10-01 11:30 ` [Bug target/37615] " sposelenov at emcraft dot com
2008-10-25 17:29 ` manu at gcc dot gnu dot org

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).