`i2o_exec_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `i2o_exec_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `i2o_driver_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o `i2o_driver_exit' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o alpha-unknown-linux-gnu-ld: BFD 2.17 assertion fail /var/tmp/cross/alpha-unknown-linux-gnu/portage/cross-alpha-unknown-linux-gnu/binutils-2.17/work/binutils-2.17/bfd/elf64-alpha.c:4170 /bin/sh: line 1: 23061 Segmentation fault alpha-unknown-linux-gnu-ld -static -N -o .tmp_vmlinux1 -T arch/alpha/kernel/vmlinux.lds arch/alpha/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/alpha/kernel/built-in.o arch/alpha/mm/built-in.o arch/alpha/math-emu/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/alpha/lib/lib.a lib/built-in.o arch/alpha/lib/built-in.o drivers/built-in.o sound/built-in.o net/built-in.o --end-group make: *** [.tmp_vmlinux1] Error 139 CONFIG_ALPHA_RAWHIDE=y (EV56) generic doesn't work, may be another binutils/gcc problem. tools:[I--] [ ~] cross-alpha-unknown-linux-gnu/binutils-2.17 (alpha-unknown-linux-gnu) [I--] [ ~] cross-alpha-unknown-linux-gnu/gcc-4.1.2 (alpha-unknown-linux-gnu-4.1) [I--] [ ] cross-alpha-unknown-linux-gnu/gdb-6.6-r2 (alpha-unknown-linux-gnu) [I--] [ ~] cross-alpha-unknown-linux-gnu/glibc-2.5-r1 (alpha-unknown-linux-gnu-2.2) [I--] [ -] cross-alpha-unknown-linux-gnu/linux-headers-2.6.11-r5 (alpha-unknown-linux-gnu) on x86. while compiling many of : {standard input}: Assembler messages: {standard input}:7: Warning: setting incorrect section attributes for .got kernel: linux-2.6.19-gentoo-r5 , and others (newer). Not too interesting bt: (gdb) bt #0 0xb7eb0285 in ?? () from /usr/i686-pc-linux-gnu/alpha-unknown-linux-gnu/lib/libbfd-2.17.so #1 0xb7ef8c18 in ?? () from /usr/i686-pc-linux-gnu/alpha-unknown-linux-gnu/lib/libbfd-2.17.so #2 0x0000104a in ?? () #3 0xbfa06364 in ?? () #4 0x085920d0 in ?? () #5 0x0000bc7c in ?? () #6 0x00000000 in ?? () I`ll try with older version or with gentoo vendor if it means difference.
Created attachment 116885 [details] ltrace (This is my first contact with alpha arch.)
[I--] [ -] cross-alpha-gentoo-linux-gnu/binutils-2.16.1-r3 (alpha-gentoo-linux-gnu) [I--] [ -] cross-alpha-gentoo-linux-gnu/gcc-4.1.1-r3 (alpha-gentoo-linux-gnu-4.1) [I--] [ -] cross-alpha-gentoo-linux-gnu/linux-headers-2.6.11-r5 (alpha-gentoo-linux-gnu) same result. :(
i can cross-compile linux-2.6.21 without any crashes ... i see the .got warning, but that's it ... post your kernel .config you used
Created attachment 118124 [details] .config but , the default(generic) has other problem. CFLAGS maybe wrong. I will compare the FLAGS with natively compiling FLAGS.
seems to only happen on 32bit hosts ... tried on my ppc and it bombed while it worked on my x86_64
not sure i'm inclined to debug/fix this ... binutils 2.17.50.0.16 works just fine you should just upgrade your cross-compiler to a newer version i think