Re: drivers/serial/8250.c:2411:1: internal compiler error: Segmentationfault

From: Delan Azabani
Date: Wed Dec 01 2010 - 00:35:34 EST


On 01/12/10 13:04, Delan Azabani wrote:
Compiling the latest from linux/kernel/git/torvalds/linux-2.6 fails on
drivers/serial/8250.c regardless of config (default config or Ubuntu
config):

...

drivers/serial/8250.c: In function ‘serial8250_do_set_termios’:
drivers/serial/8250.c:2411:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[3]: *** [drivers/serial/8250.o] Error 1
make[3]: *** Waiting for unfinished jobs....

...

make[2]: *** [drivers/serial] Error 2
make[2]: *** Waiting for unfinished jobs....

...

make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/delan/Build/linux-2.6'
make: *** [debian/stamp/build/kernel] Error 2
delan@delan1:~/Build/linux-2.6$

I don't know if this is a kernel source issue or, as the output states,
a gcc issue with 4:4.5.1-1ubuntu3. I'll try compiling the mainline
kernel, rather than git, to see if this is still an issue.

Looks like it's a gcc issue. I'm going to test a gcc snapshot.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/