13 Şubat 2013 Çarşamba

319. Collection of errors when compiling kernel 3.7.x on AMD FX 8150

To contact us Click HERE
This is a collection of errors
(although you can obviously compile the kernel this way -- just not on AMD FX 8150...)

It does not hold any solutions

See here for how to compile kernel 3.7.0 to 3.7.1:
http://verahill.blogspot.com.au/2012/12/compiling-kernel-37-on-debian.html
and here for how to patch 3.7.1
http://verahill.blogspot.com.au/2012/12/patching-kernel-371-to-fix.html

See here for how to compile 3.7.2 and 3.7.3:
http://verahill.blogspot.com.au/2013/01/321-compiling-kernel-372-on-debian.html

Post continues:
Normally this wouldn't merit its own post, but because I've been annoyed over the inability to compile
kernels on my AMD FX 8150 I decided to collect as much data on the errors as possible.

Basically, kernel 3.7.x fails to build on AMD FX 8150, while kernels 3.6.3 and 3.5 build just fine.
Here's the lspci -n hardware profile for my system, although I'm fairly certain it's due to AMD FX 8150:
00:00.0 0600: 1002:5a14 (rev 02)00:04.0 0604: 1002:5a1800:09.0 0604: 1002:5a1c00:11.0 0106: 1002:4390 (rev 40)00:12.0 0c03: 1002:439700:12.2 0c03: 1002:439600:13.0 0c03: 1002:439700:13.2 0c03: 1002:439600:14.0 0c05: 1002:4385 (rev 42)00:14.1 0101: 1002:439c (rev 40)00:14.2 0403: 1002:4383 (rev 40)00:14.3 0601: 1002:439d (rev 40)00:14.4 0604: 1002:4384 (rev 40)00:14.5 0c03: 1002:439900:15.0 0604: 1002:43a000:15.1 0604: 1002:43a100:15.2 0604: 1002:43a200:15.3 0604: 1002:43a300:16.0 0c03: 1002:439700:16.2 0c03: 1002:439600:18.0 0600: 1022:160000:18.1 0600: 1022:160100:18.2 0600: 1022:160200:18.3 0600: 1022:160300:18.4 0600: 1022:160400:18.5 0600: 1022:160501:00.0 0300: 10de:0a65 (rev a2)01:00.1 0403: 10de:0be3 (rev a1)02:00.0 0c03: 1b6f:7023 (rev 01)03:06.0 0200: 10ec:8169 (rev 10)04:00.0 0200: 10ec:8168 (rev 06)

The lower number of errors for kernel 3.7 below is because I did -j1 (so fewer threads to finish), not because it's any better.

Compilation (-O1 example)
mkdir ~/tmpcd ~/tmpwget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.7.2.tar.bz2tar xvf linux-3.7.2.tar.bz2cd linux-3.7.2/cat /boot/config-`uname -r`>.configmake oldconfigmake-kpkg clean
find -name Makefile|xargs -I {} sed -i 's/\-O2/\-O1/g' {}
time fakeroot make-kpkg -j9 --initrd kernel_image kernel_headers

Errors:

-O2 on kernel 3.7.2 with AMD FX 8150:
net/mac80211/mesh_hwmp.c:1224:1: internal compiler error: in dwarf2out_finish, at dwarf2out.c:22603Please submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[3]: *** [net/mac80211/mesh_hwmp.o] Error 1make[2]: *** [net/mac80211] Error 2make[2]: *** Waiting for unfinished jobs....net/netfilter/xt_esp.c:94:1: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[3]: *** [net/netfilter/xt_esp.o] Error 1make[2]: *** [net/netfilter] Error 2make[1]: *** [net] Error 2make[1]: *** Waiting for unfinished jobs..../home/me/tmp/linux-3.7.2/arch/x86/include/asm/msr-index.h:1:0: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[6]: *** [drivers/net/wireless/ath/ath9k/ar5008_phy.o] Error 1make[6]: *** Waiting for unfinished jobs....make[5]: *** [drivers/net/wireless/ath/ath9k] Error 2make[4]: *** [drivers/net/wireless/ath] Error 2make[3]: *** [drivers/net/wireless] Error 2make[3]: *** Waiting for unfinished jobs..../home/me/tmp/linux-3.7.2/arch/x86/include/asm/elf.h:78:1: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[4]: *** [drivers/tty/ipwireless/main.o] Error 1make[3]: *** [drivers/tty/ipwireless] Error 2make[3]: *** Waiting for unfinished jobs....drivers/tty/serial/jsm/jsm_neo.c: In function 'neo_intr':drivers/tty/serial/jsm/jsm_neo.c:1244:1: internal compiler error: AbortedPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[5]: *** [drivers/tty/serial/jsm/jsm_neo.o] Error 1make[4]: *** [drivers/tty/serial/jsm] Error 2make[3]: *** [drivers/tty/serial] Error 2make[2]: *** [drivers/tty] Error 2make[2]: *** Waiting for unfinished jobs....drivers/staging/silicom/bp_proc.c:74:31: warning: 'bp_procfs_dir' defined but not used [-Wunused-variable]drivers/staging/silicom/bp_proc.c:76:31: warning: 'proc_getdir' defined but not used [-Wunused-function]{standard input}: Assembler messages:{standard input}:37643: Error: can't resolve `.LVL231' {*UND* section} - `.Ltext0' {.text section}{standard input}:37739: Error: can't resolve `.LVL231' {*UND* section} - `.Ltext0' {.text section}{standard input}:37743: Error: can't resolve `.LVL231' {*UND* section} - `.Ltext0' {.text section}{standard input}:37783: Error: can't resolve `.LVL231' {*UND* section} - `.Ltext0' {.text section}make[4]: *** [drivers/staging/speakup/kobjects.o] Error 1make[3]: *** [drivers/staging/speakup] Error 2make[3]: *** Waiting for unfinished jobs....make[2]: *** [drivers/staging] Error 2make[2]: *** [drivers/net] Error 2In file included from include/linux/genhd.h:65:0, from include/linux/blkdev.h:9, from include/scsi/scsi_cmnd.h:5, from drivers/scsi/sym53c8xx_2/sym_glue.h:58, from drivers/scsi/sym53c8xx_2/sym_hipd.c:44:include/linux/fs.h:1550:49: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[4]: *** [drivers/scsi/sym53c8xx_2/sym_hipd.o] Error 1make[3]: *** [drivers/scsi/sym53c8xx_2] Error 2make[3]: *** Waiting for unfinished jobs....make[2]: *** [drivers/scsi] Error 2make[1]: *** [drivers] Error 2make: *** [debian/stamp/build/kernel] Error 2

and finally
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2b377411eead]/usr/lib/gcc/x86_64-linux-gnu/4.7/cc1[0x4d2f51]======= Memory map: ========00400000-00fd3000 r-xp 00000000 08:01 1312897 /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1011d2000-011dd000 rw-p 00bd2000 08:01 1312897 /usr/lib/gcc/x86_64-linux-gnu/4.7/cc1011dd000-0133c000 rw-p 00000000 00:00 001df7000-020b7000 rw-p 00000000 00:00 0 [heap]2b3772f20000-2b3772f40000 r-xp 00000000 08:01 11800025 /lib/x86_64-linux-gnu/ld-2.13.so2b3772f40000-2b3772f42000 rw-p 00000000 00:00 02b377313f000-2b3773140000 r--p 0001f000 08:01 11800025 /lib/x86_64-linux-gnu/ld-2.13.so2b3773140000-2b3773141000 rw-p 00020000 08:01 11800025 /lib/x86_64-linux-gnu/ld-2.13.so2b3773141000-2b3773142000 rw-p 00000000 00:00 02b3773148000-2b3773151000 r-xp 00000000 08:01 2233201 /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so2b3773151000-2b3773351000 ---p 00009000 08:01 2233201 /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so2b3773351000-2b3773352000 rw-p 00009000 08:01 2233201 /usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so2b377336b000-2b377336c000 rw-p 00000000 00:00 02b3773370000-2b3773384000 r-xp 00000000 08:01 1321607 /usr/lib/x86_64-linux-gnu/libmpc.so.2.0.02b3773384000-2b3773584000 ---p 00014000 08:01 1321607 /usr/lib/x86_64-linux-gnu/libmpc.so.2.0.02b3773584000-2b3773585000 rw-p 00014000 08:01 1321607 /usr/lib/x86_64-linux-gnu/libmpc.so.2.0.02b3773588000-2b37735e3000 r-xp 00000000 08:01 1321605 /usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.02b37735e3000-2b37737e3000 ---p 0005b000 08:01 1321605 /usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.02b37737e3000-2b37737e5000 rw-p 0005b000 08:01 1321605 /usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.02b37737e8000-2b377384f000 r-xp 00000000 08:01 1321603 /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.52b377384f000-2b3773a4f000 ---p 00067000 08:01 1321603 /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.52b3773a4f000-2b3773a57000 rw-p 00067000 08:01 1321603 /usr/lib/x86_64-linux-gnu/libgmp.so.10.0.52b3773a57000-2b3773a58000 rw-p 00000000 00:00 02b3773a58000-2b3773a5a000 r-xp 00000000 08:01 11800014 /lib/x86_64-linux-gnu/libdl-2.13.so2b3773a5a000-2b3773c5a000 ---p 00002000 08:01 11800014 /lib/x86_64-linux-gnu/libdl-2.13.so2b3773c5a000-2b3773c5b000 r--p 00002000 08:01 11800014 /lib/x86_64-linux-gnu/libdl-2.13.so2b3773c5b000-2b3773c5c000 rw-p 00003000 08:01 11800014 /lib/x86_64-linux-gnu/libdl-2.13.so2b3773c60000-2b3773c76000 r-xp 00000000 08:01 11796562 /lib/x86_64-linux-gnu/libz.so.1.2.72b3773c76000-2b3773e75000 ---p 00016000 08:01 11796562 /lib/x86_64-linux-gnu/libz.so.1.2.72b3773e75000-2b3773e76000 r--p 00015000 08:01 11796562 /lib/x86_64-linux-gnu/libz.so.1.2.72b3773e76000-2b3773e77000 rw-p 00016000 08:01 11796562 /lib/x86_64-linux-gnu/libz.so.1.2.72b3773e78000-2b3773ef9000 r-xp 00000000 08:01 11800003 /lib/x86_64-linux-gnu/libm-2.13.so2b3773ef9000-2b37740f8000 ---p 00081000 08:01 11800003 /lib/x86_64-linux-gnu/libm-2.13.so2b37740f8000-2b37740f9000 r--p 00080000 08:01 11800003 /lib/x86_64-linux-gnu/libm-2.13.so2b37740f9000-2b37740fa000 rw-p 00081000 08:01 11800003 /lib/x86_64-linux-gnu/libm-2.13.so2b37740fa000-2b37740fb000 rw-p 00000000 00:00 02b3774100000-2b3774280000 r-xp 00000000 08:01 11796538 /lib/x86_64-linux-gnu/libc-2.13.so2b3774280000-2b3774480000 ---p 00180000 08:01 11796538 /lib/x86_64-linux-gnu/libc-2.13.so2b3774480000-2b3774484000 r--p 00180000 08:01 11796538 /lib/x86_64-linux-gnu/libc-2.13.so2b3774484000-2b3774485000 rw-p 00184000 08:01 11796538 /lib/x86_64-linux-gnu/libc-2.13.so2b3774485000-2b377448d000 rw-p 00000000 00:00 02b3774490000-2b3774681000 r--p 00000000 08:01 1310939 /usr/lib/locale/locale-archive2b3774681000-2b377469e000 rw-p 00000000 00:00 02b37746a3000-2b37750d8000 rw-p 00000000 00:00 02b3775119000-2b3776444000 rw-p 00000000 00:00 02b3776460000-2b3776475000 r-xp 00000000 08:01 11796737 /lib/x86_64-linux-gnu/libgcc_s.so.12b3776475000-2b3776675000 ---p 00015000 08:01 11796737 /lib/x86_64-linux-gnu/libgcc_s.so.12b3776675000-2b3776676000 rw-p 00015000 08:01 11796737 /lib/x86_64-linux-gnu/libgcc_s.so.12b3778000000-2b3778021000 rw-p 00000000 00:00 02b3778021000-2b377c000000 ---p 00000000 00:00 07ffffd08f000-7ffffd0b2000 rw-p 00000000 00:00 0 [stack]7ffffd200000-7ffffd201000 r-xp 00000000 00:00 0 [vdso]ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]


-O1; kernel 3.7.2; AMD FX 8150
fs/ecryptfs/keystore.c:1168:28: warning: 'payload_len' may be used uninitialized in this function [-Wmaybe-uninitialized]sound/pci/hda/patch_cmedia.c:777:1: internal compiler error: in size_of_die, at dwarf2out.c:7795Please submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[4]: *** [sound/pci/hda/patch_cmedia.o] Error 1make[3]: *** [sound/pci/hda] Error 2make[3]: *** Waiting for unfinished jobs....make[2]: *** [sound/pci] Error 2make[1]: *** [sound] Error 2make[1]: *** Waiting for unfinished jobs....In file included from drivers/mtd/chips/cfi_cmdset_0001.c:35:0:drivers/mtd/chips/cfi_cmdset_0001.c: In function 'cfi_intelext_write_words':include/linux/mtd/map.h:331:11: warning: 'r.x[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]drivers/media/usb/gspca/topro.c:4968:1: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[5]: *** [drivers/media/usb/gspca/topro.o] Error 1make[4]: *** [drivers/media/usb/gspca] Error 2make[3]: *** [drivers/media/usb] Error 2make[3]: *** Waiting for unfinished jobs....drivers/net/ethernet/amd/nmclan_cs.c: In function 'nmclan_config':drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at include/pcmcia/ds.h:201) [-Wdeprecated-declarations]make[2]: *** [drivers/media] Error 2make[2]: *** Waiting for unfinished jobs....drivers/net/ethernet/intel/ixgb/ixgb_ee.c:604:1: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[6]: *** [drivers/net/ethernet/intel/ixgb/ixgb_ee.o] Error 1make[6]: *** Waiting for unfinished jobs....make[5]: *** [drivers/net/ethernet/intel/ixgb] Error 2make[4]: *** [drivers/net/ethernet/intel] Error 2make[3]: *** [drivers/net/ethernet] Error 2make[3]: *** Waiting for unfinished jobs....make[2]: *** [drivers/net] Error 2make[1]: *** [drivers] Error 2make: *** [debian/stamp/build/kernel] Error 2

-O0, kernel 3.7.2, AMD FX 8150
exec make kpkg_version=12.036+nmu3 -f /usr/share/kernel-package/ruleset/minimal.mk debian INITRD=YES exec debian/rules INITRD=YES kernel_image kernel_headers Setup is 16988 bytes (padded to 17408 bytes).System is 2884 kBCRC f8376713drivers/isdn/hardware/eicon/divasi.c:577:1: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[5]: *** [drivers/isdn/hardware/eicon/divasi.o] Error 1make[4]: *** [drivers/isdn/hardware/eicon] Error 2make[4]: *** Waiting for unfinished jobs....make[3]: *** [drivers/isdn/hardware] Error 2make[3]: *** Waiting for unfinished jobs....make[2]: *** [drivers/isdn] Error 2make[2]: *** Waiting for unfinished jobs....fs/reiserfs/bitmap.c: In function 'scan_bitmap_block.constprop.9':fs/reiserfs/bitmap.c:236:9: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]make[1]: *** [drivers] Error 2make[1]: *** Waiting for unfinished jobs....make: *** [debian/stamp/build/kernel] Error 2

Error messages when compiling kernel 3.7 on AMD FX 8150 with -O2 or -O1

exec make kpkg_version=12.036+nmu3 -f /usr/share/kernel-package/ruleset/minimal.mk debian INITRD=YES exec debian/rules INITRD=YES kernel_image kernel_headers net/xfrm/xfrm_sysctl.c:75:1: internal compiler error: in pop_scope, at c-decl.c:1244Please submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[3]: *** [net/xfrm/xfrm_sysctl.o] Error 1make[2]: *** [net/xfrm] Error 2make[1]: *** [net] Error 2make: *** [debian/stamp/build/kernel] Error 2


Kernel 3.7 with -O0 on AMD FX 8150
exec make kpkg_version=12.036+nmu3 -f /usr/share/kernel-package/ruleset/minimal.mk debian INITRD=YES exec debian/rules INITRD=YES kernel_image kernel_headers In file included from include/acpi/platform/aclinux.h:59:0, from include/acpi/platform/acenv.h:141, from include/acpi/acpi.h:56, from drivers/acpi/acpica/exmisc.c:45:include/linux/sched.h:1352:9: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.The bug is not reproducible, so it is likely a hardware or OS problem.make[4]: *** [drivers/acpi/acpica/exmisc.o] Error 1make[3]: *** [drivers/acpi/acpica] Error 2make[2]: *** [drivers/acpi] Error 2make[1]: *** [drivers] Error 2make: *** [debian/stamp/build/kernel] Error 2

Hiç yorum yok:

Yorum Gönder