This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/16344] New: g++ built by profiledbootstrap broken


On hppa-linux, using gcc-3.3.4 as the system/stage1 compiler, building gcc-3.4.1
using the profiledbootstrap target, leaves the libstdc++ with 

                === libstdc++ tests ===

Running target unix
FAIL: 17_intro/header_cassert.cc (test for excess errors)
WARNING: 17_intro/header_cassert.cc compilation failed to produce executable
[...]
                === libstdc++ Summary ===

# of expected passes            75
# of unexpected failures        1367
# of expected failures          3

<command line>:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

$ gdb /build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/cc1plus
GNU gdb 6.1-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa-linux"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) set args -quiet -nostdinc++ -nostdinc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/include/hppa-linux
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/include
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/libsupc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/libsupc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/include/backward
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/testsuite -iprefix
/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/../lib/gcc/hppa-linux/3.4.0/
-isystem /build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/include -isystem
/usr/hppa-linux/bin/include -isystem /usr/hppa-linux/lib/include -D_GNU_SOURCE
-D_GLIBCXX_ASSERT
-DLOCALEDIR=/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/po/share/locale
-isystem /usr/hppa-linux/include -isystem /usr/hppa-linux/sys-include -include
bits/stdc++.h
/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/testsuite/17_intro/header_cassert.cc
-quiet -dumpbase header_cassert.cc -auxbase header_cassert -g -O2 -version
-ffunction-sections -fdata-sections -fmessage-length=0 -o header_cassert.s
(gdb) r
Starting program: /build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/cc1plus -quiet
-nostdinc++ -nostdinc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/include/hppa-linux
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/include
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/libsupc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/libsupc++
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/include/backward
-I/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/testsuite -iprefix
/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/../lib/gcc/hppa-linux/3.4.0/
-isystem /build/packages/gcc/3.4/gcc-3.4-3.4.0/build/gcc/include -isystem
/usr/hppa-linux/bin/include -isystem /usr/hppa-linux/lib/include -D_GNU_SOURCE
-D_GLIBCXX_ASSERT
-DLOCALEDIR=/build/packages/gcc/3.4/gcc-3.4-3.4.0/build/hppa-linux/libstdc++-v3/po/share/locale
-isystem /usr/hppa-linux/include -isystem /usr/hppa-linux/sys-include -include
bits/stdc++.h
/build/packages/gcc/3.4/gcc-3.4-3.4.0/src/libstdc++-v3/testsuite/17_intro/header_cassert.cc
-quiet -dumpbase header_cassert.cc -auxbase header_cassert -g -O2 -version
-ffunction-sections -fdata-sections -fmessage-length=0 -o header_cassert.s
GNU C++ version 3.4.0 (Debian 3.4.0-4) (hppa-linux)
        compiled by GNU C version 3.4.0 (Debian 3.4.0-4).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=127775

Program received signal SIGSEGV, Segmentation fault.
__canonicalize_funcptr_for_compare (fptr=@0x7fb602: 0) at fptr.c:80
80        got = (unsigned int *) (plabel[0] + GOT_FROM_PLT_STUB);
(gdb) bt
#0  __canonicalize_funcptr_for_compare (fptr=@0x7fb602: 0) at fptr.c:80
#1  0x400b0e5c in ?? ()
Cannot find bounds of current function (@0x0), unwinding will fail.

building with the bootstrap target doesn't show these errors.

    Matthias

-- 
           Summary: g++ built by profiledbootstrap broken
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa-linux
  GCC host triplet: hppa-linux
GCC target triplet: hppa-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]