exactly the same problem found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422971 and I've traced it to gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch Incorrect: =================================================================== --- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200 +++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100 @@ -207,3 +207,6 @@ LSYM(Lepilogue): .ffi_call_SYSV_end: .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",@progbits +#endif =================================================================== Correct: =================================================================== --- libffi/src/arm/sysv.S.jj 2004-10-28 15:10:11.000000000 +0200 +++ libffi/src/arm/sysv.S 2005-02-08 16:14:02.282767581 +0100 @@ -207,3 +207,6 @@ LSYM(Lepilogue): .ffi_call_SYSV_end: .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) +#if defined __ELF__ && defined __linux__ + .section .note.GNU-stack,"",%progbits +#endif =================================================================== Reproducible: Always Actual Results: as fails for sysv.S Expected Results: as successful for sysv.S Apparently ARM asm does not allow the use of '@' as a variable indicator, only '%'. '@' indicates a comment. Thus, with the current patchset, it's impossible to create a cross-compiler for arm-softfloat-linux-gnu with gcc-4.1.2. I'll also include a replacement for the patch file in question.
Created attachment 141222 [details, diff] obseletes gcc-4.1.2-patches-1.0.2.tar.bz2/patch/62_all_gcc4-noteGNUstack.patch see line 148
looks like i fixed it already, just didnt post the new patchset i'll roll it now *** This bug has been marked as a duplicate of bug 167356 ***
Thanks !