Opened 5 years ago

Closed 5 years ago

#4873 closed bug (fixed)

ARM/linux build broken due to libffi errors

Reported by: kgardas Owned by:
Priority: normal Milestone:
Component: Compiler Version: 6.12.3
Keywords: Cc:
Operating System: Linux Architecture: arm
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

Hello,
the unregisterised build on armv7l-unknown-linux-gnueabi is broken due to erros in libffi:

 /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include -Iinclude -I./src -w -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S -o src/arm/sysv.o
src/arm/sysv.S: Assembler messages:
src/arm/sysv.S:203: Error: selected processor does not support `stfeqs f0,[r2]'
src/arm/sysv.S:208: Error: selected processor does not support `stfeqd f0,[r2]'
src/arm/sysv.S:283: Error: selected processor does not support `ldfs f0,[sp]'
src/arm/sysv.S:286: Error: selected processor does not support `ldfd f0,[sp]'
src/arm/sysv.S:289: Error: selected processor does not support `ldfd f0,[sp]'
make[4]: *** [src/arm/sysv.lo] Error 1
make[4]: Leaving directory `/home/kgardas/src/ghc-6.12.3/libffi/build'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kgardas/src/ghc-6.12.3/libffi/build'
make[2]: *** [all] Error 2
make[1]: *** [libffi/stamp.ffi.build] Error 2
make: *** [all] Error 2

The platform provides just ghc 6.10.4 so I'm not able probably to try 7.0.x. Also provided gcc is 4.4.1 version.

Change History (2)

comment:1 Changed 5 years ago by kgardas

As a workaround it looks like updating libffi/build/src/arm files from libffi 3.0.9 distro is working well. At least this makes the build continue over the libffi compilation...

comment:2 Changed 5 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

We have 3.0.9 in 7.0.1, so I assume this is already fixed.

Note: See TracTickets for help on using tickets.