This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/42289] New: libffi fails to build with binutils-2.20 on ARM
- From: "flameeyes at gentoo dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Dec 2009 22:42:48 -0000
- Subject: [Bug libffi/42289] New: libffi fails to build with binutils-2.20 on ARM
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is the error reported:
libtool: compile:
/var/tmp/cross/arm-carel-linux-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/build/./gcc/xgcc
-B/var/tmp/cross/arm-carel-linux-gnu/portag
e/cross-arm-carel-linux-gnu/gcc-4.3.4/work/build/./gcc/
-B/usr/arm-carel-linux-gnu/bin/ -B/usr/arm-carel-linux-gnu/lib/ -isystem
/usr/arm-carel-linux-gnu/include -
isystem /usr/arm-carel-linux-gnu/sys-include -I.
-I/var/tmp/cross/arm-carel-linux-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/gcc-4.3.4/libffi/include
-Ii
nclude
-I/var/tmp/cross/arm-carel-linux-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/gcc-4.3.4/libffi/src
-O2 -g -O2 -pipe -c /var/tmp/cross/arm-carel-linu
x-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/gcc-4.3.4/libffi/src/arm/sysv.S
-fPIC -DPIC -o src/arm/.libs/sysv.o
/var/tmp/cross/arm-carel-linux-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/gcc-4.3.4/libffi/src/arm/sysv.S:
Assembler messages:
/var/tmp/cross/arm-carel-linux-gnu/portage/cross-arm-carel-linux-gnu/gcc-4.3.4/work/gcc-4.3.4/libffi/src/arm/sysv.S:238:
Error: missing .fnstart before unwinding directive
The problem is that at line 238 there is a .pad directive without an UNWIND
prefix (which is expanded to @ in my case, which means it all gets commented
out).
I'm attaching a patch to fix this.
--
Summary: libffi fails to build with binutils-2.20 on ARM
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libffi
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: flameeyes at gentoo dot org
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42289