I've got a broken gcc-4.4.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Or should I say somehow I've broken gcc-4.4.0???  This is what happens when
you get IT guys turned software developers, bad things happen.

So I built gcc-4.4.0 from source on CentOS 5.2/i386 using a stock system on
a Dell T5500 with a Xeon 5506 processor.

_ANYTHING_ I compile with gcc-4.4.0 segfaults before main...  Or at least
that's what the debugger is telling me and I'm not looking far enough???
Gcc build details are below.  GTW, I should have said anything compiled with
g++-4.4.0, gcc-4.4.0 is fine.

mvp-124:/release/5.4_gcc-4.4.0/host/configuration 07:19:53
87_ gdb configuration
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) b main
Breakpoint 1 at 0x804c3e3: file cfg_main.c, line 38.
(gdb) r
Starting program: 
/net/mustang/filevault/visionpro/release/5.4_gcc-4.4.0/host/configuration/co
nfiguration 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f85710 (LWP 10004)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7f85710 (LWP 10004)]
0x001b7800 in ?? () from /release/5.4_gcc-4.4.0/lib/libmvpalgodcip.so
(gdb) where
#0  0x001b7800 in ?? () from /release/5.4_gcc-4.4.0/lib/libmvpalgodcip.so
#1  0x064f3c50 in std::has_facet<std::ctype<char> > (__loc=@0x656a940)
    at 
/internal/gnu/CentOS-5.2/gcc-4.4.0/i686-pc-linux-gnu/libstdc++-v3/include/bi
ts/locale_classes.tcc:93
#2  0x064f3c88 in std::has_facet<std::ctype<char> > (__loc=@0x6569e70)
    at 
/internal/gnu/CentOS-5.2/gcc-4.4.0/i686-pc-linux-gnu/libstdc++-v3/include/bi
ts/locale_classes.tcc:97
#3  0x064e82b8 in std::basic_ios<char, std::char_traits<char>
>::_M_cache_locale (this=0x6569e04,
    __loc=@0x6569e70)
    at 
/internal/gnu/CentOS-5.2/gcc-4.4.0/i686-pc-linux-gnu/libstdc++-v3/include/bi
ts/basic_ios.tcc:158
#4  0x064e8367 in std::basic_ios<char, std::char_traits<char> >::init
(this=0x6569e04, __sb=0x656a260)
    at 
/internal/gnu/CentOS-5.2/gcc-4.4.0/i686-pc-linux-gnu/libstdc++-v3/include/bi
ts/basic_ios.tcc:131
#5  0x064d300a in Init (this=0xf224ac)
    at 
/internal/gnu/CentOS-5.2/gcc-4.4.0/i686-pc-linux-gnu/libstdc++-v3/include/os
tream:83
#6  0x00f10f11 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535)
    at 
/usr/local/gnu/lib/gcc/i686-pc-linux-gnu/4.4.0/../../../../include/c++/4.4.0
/iostream:72
#7  0x00f11053 in global constructors keyed to DelcoBDComplishQuery.c () at
DelcoBDComplishQuery.c:256
#8  0x00f1363d in __do_global_ctors_aux () from
/release/5.4_gcc-4.4.0/lib/libmvpfactory.so
#9  0x00efa5ad in _init () from /release/5.4_gcc-4.4.0/lib/libmvpfactory.so
#10 0x001341e3 in call_init () from /lib/ld-linux.so.2
#11 0x001342f3 in _dl_init_internal () from /lib/ld-linux.so.2
#12 0x0012684f in _dl_start_user () from /lib/ld-linux.so.2
(gdb) 


mvp-124:/release/5.4_gcc-4.4.0/host/configuration 07:24:42
89_ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../src/gcc-4.4.0/configure --srcdir=../../src/gcc-4.4.0
--prefix=/usr/local/gnu --exec_prefix=/usr/local/gnu --program-prefix=
--with-minimal-bfd --program-suffix=4.4.0 --with-gdb --with-stabs
--enable-shared --enable-static --enable-threads --enable-threads=posix
--enable-languages=c,c++,java --disable-nls
--with-gnu-ld=/usr/local/gnu/bin/ld --with-gnu-as=/usr/bin/local/gnu/bin/as
Thread model: posix
gcc version 4.4.0 (GCC)
mvp-124:/release/5.4_gcc-4.4.0/host/configuration 07:24:44
90_ g++ -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../src/gcc-4.4.0/configure --srcdir=../../src/gcc-4.4.0
--prefix=/usr/local/gnu --exec_prefix=/usr/local/gnu --program-prefix=
--with-minimal-bfd --program-suffix=4.4.0 --with-gdb --with-stabs
--enable-shared --enable-static --enable-threads --enable-threads=posix
--enable-languages=c,c++,java --disable-nls
--with-gnu-ld=/usr/local/gnu/bin/ld --with-gnu-as=/usr/bin/local/gnu/bin/as
Thread model: posix
gcc version 4.4.0 (GCC)

-brian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux