I'm building an ARM compiler, using crossdev, with the stable versions of everything. crossdev --stage4 --stable --show-fail-log --target arm It fails at glibc, attached are the info.log and the build log. I've tried with other versions of glibc as well, they all seem to fail for me. Anyone seen this before? The main error is this: make[2]: *** [/media/multimedia/build/portage/cross-arm-unknown-linux-gnu/glibc-2.13-r4/work/build-default-arm-unknown-linux-gnu-nptl/signal/sigrestorer.os] Error 1 Reproducible: Always Steps to Reproduce: 1. On 64bit gentoo, execute crossdev --stage4 --stable --show-fail-log --target arm Actual Results: glibc does not compile Expected Results: glibc should compile just right.
Created attachment 302927 [details] /var/log/portage/cross-arm-unknown-linux-gnu-info.log
Created attachment 302929 [details] /var/log/portage/cross-arm-unknown-linux-gnu-glibc.log
rm -rf /.config seemed to do some magic, it gave me a more better debuggable error this time: ../ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S: Assembler messages: ../ports/sysdeps/unix/sysv/linux/arm/sigrestorer.S:30: Error: previous CFI entry not closed (missing .cfi_endproc) /media/multimedia/build/portage/cross-arm-unknown-linux-gnu/glibc-2.13-r4/temp/ccZ576E6.s: Error: open CFI at the end of file; missing .cfi_endproc directive make[2]: *** [/media/multimedia/build/portage/cross-arm-unknown-linux-gnu/glibc-2.13-r4/work/build-default-arm-unknown-linux-gnu-nptl/signal/sigrestorer.os] Error 1 geneswitch on #gentoo pointed me to http://sourceware.org/ml/libc-ports/2012-01/msg00003.html
Failed yet again with vapier's patch: ../sysdeps/unix/syscall-template.S: Assembler messages: ../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc ../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc ../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc ../sysdeps/unix/syscall-template.S:82: Error: CFI instruction used without previous .cfi_startproc
already been fixed in newer versions of glibc
Which version is it fixed in? I just ran crossdev --stage4 --stable --show-fail-log --target arm --l 2.14 and got the same error. Thanks (In reply to comment #5) > already been fixed in newer versions of glibc
it's fixed in 2.14.1 alternatively, use EABI instead of OABI
2.14.1-r2 failed with the same issue, let me try changing ABIs
Created attachment 303113 [details] build log for glibc 2.14.1-r2 with EABI - still fails EABI fails too. Here's a build log for glibc 2.14.1-r2 crossdev command: crossdev --stage4 --stable --show-fail-log --target arm --abis EABI
the EABI failure is completely different; please file a new bug OABI builds fine for me: cross-arm-unknown-linux-gnu/binutils-2.22-r1 cross-arm-unknown-linux-gnu/gcc-4.5.3-r2 cross-arm-unknown-linux-gnu/glibc-2.14.1-r2 cross-arm-unknown-linux-gnu/linux-headers-3.1
actually, don't file a bug. if you want to use eabi, you have to set your tuple accordingly. arm-linux-gnueabi.
Using your versions of the packages for OABI failed, I used the EABI tuple, and it worked. The OABI issue still needs to be fixed, I received the same efi errors.
*** Bug 411263 has been marked as a duplicate of this bug. ***