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 c/17126] New: ICE (segfault)


GCC Version: 3.5.0 20040815 (experimental)
uname -srm: Linux 2.6.8.1 i686
GCC Configure Flags: --with-languages=c,c++

Command: make bzImage V=1
...
make -f scripts/Makefile.build obj=drivers/usb/core
  gcc -Wp,-MD,drivers/usb/core/.inode.o.d -nostdinc -iwithprefix include
-D__KERNEL__ -Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -O3 -march=athlon-xp -pipe -msoft-float
-mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon
-Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer
-Wdeclaration-after-statement   -O3 -march=athlon-xp -DKBUILD_BASENAME=inode
-DKBUILD_MODNAME=usbcore -c -o drivers/usb/core/inode.o drivers/usb/core/inode.c

Compiler Output:
drivers/usb/core/inode.c: In function `get_dentry':
drivers/usb/core/inode.c:463: warning: pointer targets in assignment differ in
signedness
drivers/usb/core/inode.c:465: warning: pointer targets in passing arg 1 of
`full_name_hash' differ in signedness
drivers/usb/core/inode.c: In function `usbfs_add_device':
drivers/usb/core/inode.c:745: internal compiler error: Segmentation fault

Using the latest FTP snapshot from the 3.5 branch, I tried to build the latest
mm3 patch to the kernel.  Upon further investigation, the unpatched source from
the initial 2.6.8.1 release also fails to build, so feel free to skip the step
of applying the patch in reproducing the error.

As the compiler segfaults without any dump, and I stripped the binaries, I don't
have the skill to trace the error.  On that note, due to the lack of information
I have at this point, apologies if this has already been reported in another
bug, but I found no other segfault reported for this snapshot, and the 2.6.8.1
release compiled cleanly on last week's snapshot.

I'll attach the bz'ed preprocessed source ASAP.

-- 
           Summary: ICE (segfault)
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bommar33 at msu dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux


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


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