[Bug c/12642] gcc segfaults when compiling nvidia drivers

jacob at gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Oct 16 17:06:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From jacob at gnu dot org  2003-10-16 17:06 -------
Created an attachment (id=4943)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4943&action=view)
the preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command

[root@abyss /tmp/selfgz613/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv] cc -c
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__
-DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=4496  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86     
-DREMAP_PAGE_RANGE_4  -I. -I/usr/src/linux/include -Wno-cast-qual nv.c
-save-temps
cc1: 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.



More information about the Gcc-bugs mailing list