[Bug c/39433] gcc core dumping for unnecessary header file conflict

nmdilipsimha at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 11 17:48:00 GMT 2009



------- Comment #2 from nmdilipsimha at gmail dot com  2009-03-11 17:48 -------
(In reply to comment #1)
> It doesn't segfault for me (gcc version 4.1.3 20080704 (prerelease) (Debian
> 4.1.2-25)
> 

hmm.
Mine is:

simha@home_pc:~/test/header_file$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)


Core file:
simha@home_pc:~/test/header_file$ gdb gcc core
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"...
(no debugging symbols found)

warning: core file may not match specified executable file.
(no debugging symbols found)
(no debugging symbols found)
Core was generated by `/usr/lib/gcc/i486-linux-gnu/4.1.3/cc1 -quiet 1.c -quiet
-dumpbase 1.c -mtune=ge'.
Program terminated with signal 11, Segmentation fault.
[New process 23070]
#0  0x0836a480 in ?? ()

Couldn't debug much into this. No symbols are present.


-- 


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



More information about the Gcc-bugs mailing list