Segmentation fault happen when I was compiling 3.8.5 kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc |
Fix Released
|
Medium
|
|||
gcc-4.7 (Ubuntu) |
Fix Released
|
High
|
Matthias Klose |
Bug Description
/usr/src/
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/
CHK include/
CALL scripts/
CHK include/
CC arch/x86/
CC arch/x86/
arch/x86/
arch/x86/
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccj6Z7AH.out file, please attach this to your bugreport.
make[3]: *** [arch/x86/
make[2]: *** [arch/x86/
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2
ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: cpp-4.7 4.7.2-23ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.9.2-0ubuntu5
Architecture: amd64
Date: Fri Apr 5 10:11:37 2013
ExecutablePath: /usr/lib/
InstallationDate: Installed on 2013-02-05 (58 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: gcc-4.7
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in gcc-4.7 (Ubuntu): | |
assignee: | nobody → Matthias Klose (doko) |
importance: | Undecided → High |
milestone: | none → ubuntu-13.04-beta-2 |
status: | New → Confirmed |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Confirmed |
Changed in gcc: | |
status: | Confirmed → Fix Released |
Created attachment 29808
preprocessed source
lowering to -O1 works around it. r197184 does work, r197476 not.
$ gcc -c -g -O2 perf_event.i arch/x86/ kernel/ cpu/perf_ event.c: In function 'get_segment_base': kernel/ cpu/perf_ event.c: 1887:1: internal compiler error: Segmentation fault
arch/x86/
Please submit a full bug report,
with preprocessed source if appropriate.
(gdb) bt insn(deps_ desc*, rtx_def*) () deps_desc* , rtx_def*, rtx_def*) () compute_ dependencies( int) () one_pass( opt_pass* ) () pass_list( opt_pass* ) () pass_list( opt_pass* ) () pass_list( opt_pass* ) () of_compilation( tree_node* ) () finalize_ compilation_ unit() () global_ declarations( ) () 64-linux- gnu/libc. so.6
#0 0x0000000000bd312d in ?? ()
#1 0x0000000000bd305e in ?? ()
#2 0x0000000000bd2c6b in ?? ()
#3 0x0000000000bd357d in ?? ()
#4 0x0000000000bd51b0 in deps_analyze_
#5 0x0000000000bd5603 in sched_analyze(
#6 0x0000000000760d12 in sched_rgn_
#7 0x00000000007635f2 in schedule_insns() ()
#8 0x0000000000763a41 in ?? ()
#9 0x000000000070b778 in execute_
#10 0x000000000070bad5 in execute_
#11 0x000000000070bae7 in execute_
#12 0x000000000070bae7 in execute_
#13 0x00000000007e5439 in tree_rest_
#14 0x0000000000592afa in ?? ()
#15 0x000000000059434c in cgraph_optimize() ()
#16 0x00000000005947fa in cgraph_
#17 0x00000000004d44e8 in c_write_
#18 0x000000000079edce in toplev_main(int, char**) ()
#19 0x00007ffff670dea5 in __libc_start_main () from /lib/x86_
#20 0x00000000004c3351 in _start ()