Skip to contentSkip to conversation

drivers/serial/8250.c:2411:1: internal compiler error: Segmentation fault

DISCUSSION Delan Azabani 1 participant 2 messages Dec 1, 2010

lore
Share & tools
lore
#1 lore raw
In reply to Delan Azabani
Quoted 21 lines · Delan Azabani

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....

...

Quoted 8 lines

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.

#0 lore raw

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.