[Bug c/29241] New: gcc 4.1.2 segmentation fault

gcc at tommay dot net gcc-bugzilla@gcc.gnu.org
Tue Sep 26 19:37:00 GMT 2006


This gcc command causes a segmentation fault.  The pre-processed file this
output says to include in the bug report is far too large (675K) to inline in
this report, and I see no way to attach it to the report.  Let me know if you
want me to email it or something.

gcc -v -save-temps -Wp,-MD,net/ipv4/.ip_output.o.d -nostdinc -isystem
/usr/lib/gcc/i486-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -include
include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O0 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -D__arch_um__
'-DSUBARCH="i386"' -Iarch/um/include
-I/tom/linux/linux-uml/arch/um/include/skas -Dvmap=kernel_vmap
-Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno
-Dsigprocmask=kernel_sigprocmask -Dmktime=kernel_mktime -fno-unit-at-a-time
-U__i386__ -Ui386 -march=i686 -mtune=pentium4 -mpreferred-stack-boundary=2
-ffreestanding -D_LARGEFILE64_SOURCE -Wdeclaration-after-statement
-Wno-pointer-sign '-DKBUILD_STR(s)=#s'
'-DKBUILD_BASENAME=KBUILD_STR(ip_output)'
'-DKBUILD_MODNAME=KBUILD_STR(ip_output)' -c -o ip_output.o net/ipv4/ip_output.c
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
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
 /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -E -quiet -nostdinc -v -Iinclude
-Iarch/um/include -I/tom/linux/linux-uml/arch/um/include/skas -D__KERNEL__
-D__arch_um__ -DSUBARCH="i386" -Dvmap=kernel_vmap
-Din6addr_loopback=kernel_in6addr_loopback -Derrno=kernel_errno
-Dsigprocmask=kernel_sigprocmask -Dmktime=kernel_mktime -U__i386__ -Ui386
-D_LARGEFILE64_SOURCE -DKBUILD_STR(s)=#s
-DKBUILD_BASENAME=KBUILD_STR(ip_output) -DKBUILD_MODNAME=KBUILD_STR(ip_output)
-isystem /usr/lib/gcc/i486-linux-gnu/4.1.2/include -include
include/linux/autoconf.h -MD net/ipv4/.ip_output.o.d net/ipv4/ip_output.c
-march=i686 -mtune=pentium4 -mpreferred-stack-boundary=2 -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-aliasing -fno-common -fno-omit-frame-pointer
-fno-optimize-sibling-calls -fasynchronous-unwind-tables -fno-unit-at-a-time
-ffreestanding -fworking-directory -O0 -fpch-preprocess -o ip_output.i
#include "..." search starts here:
#include <...> search starts here:
 include
 arch/um/include
 /tom/linux/linux-uml/arch/um/include/skas
 /usr/lib/gcc/i486-linux-gnu/4.1.2/include
End of search list.
 /usr/lib/gcc/i486-linux-gnu/4.1.2/cc1 -fpreprocessed ip_output.i -quiet
-dumpbase ip_output.c -march=i686 -mtune=pentium4 -mpreferred-stack-boundary=2
-auxbase-strip ip_output.o -g -O0 -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -Wdeclaration-after-statement -Wno-pointer-sign -version
-fno-strict-aliasing -fno-common -fno-omit-frame-pointer
-fno-optimize-sibling-calls -fasynchronous-unwind-tables -fno-unit-at-a-time
-ffreestanding -o ip_output.s
GNU C version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13) (i486-linux-gnu)
        compiled by GNU C version 4.1.2 20060901 (prerelease) (Debian
4.1.1-13).GGC heuristics: --param ggc-min-expand=55 --param
ggc-min-heapsize=48160
Compiler executable checksum: 87670b01f6c8def5369835011f9cd001
net/ipv4/ip_output.c: In function ‘ip_output’:
net/ipv4/ip_output.c:217: 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.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccgHvFWq.out file, please attach this to
your bugreport.


-- 
           Summary: gcc 4.1.2 segmentation fault
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at tommay dot net


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



More information about the Gcc-bugs mailing list