All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Arm build: asm error in libffi?
@ 2011-08-04  9:40 Dimitri Kaparis
  2011-08-04 19:49 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Dimitri Kaparis @ 2011-08-04  9:40 UTC (permalink / raw)
  To: buildroot

Greetings,

I'm doing a build for arm using a crosstool-ng generated toolchain
(gcc 4.4.6, uclibc 0.9.30.3).
With buildroot-2011.05 I'm getting this:


libtool: compile:
(...)/buildroot-2011.05/output/host/usr/bin/arm-unknown-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -I. -I./include
-Iinclude -I./src -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -MT src/arm/sysv.lo -MD -MP -MF
src/arm/.deps/sysv.Tpo -c src/arm/sysv.S  -fPIC -DPIC -o
src/arm/.libs/sysv.o
src/arm/sysv.S: Assembler messages:
src/arm/sysv.S:246: Error: missing .fnstart before unwinding directive
make[3]: *** [src/arm/sysv.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:
(...)/buildroot-2011.05/output/host/usr/bin/arm-unknown-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -Wall -g
-fexceptions -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -MTsrc/closures.lo -MD -MP -MF
src/.deps/closures.Tpo -c src/closures.c -o src/closures.o >/dev/null
2>&1
make[3]: Leaving directory `(...)/buildroot-2011.05/output/build/libffi-3.0.9'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `(...)/buildroot-2011.05/output/build/libffi-3.0.9'
make[1]: *** [all] Error 2
make[1]: Leaving directory `(...)/buildroot-2011.05/output/build/libffi-3.0.9'
make: *** [(...)/buildroot-2011.05/output/build/libffi-3.0.9/.stamp_built]
Error 2

Any ideas?

Thanks,
Dimitri

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Arm build: asm error in libffi?
  2011-08-04  9:40 [Buildroot] Arm build: asm error in libffi? Dimitri Kaparis
@ 2011-08-04 19:49 ` Thomas Petazzoni
  2011-08-05  7:56   ` Dimitri Kaparis
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2011-08-04 19:49 UTC (permalink / raw)
  To: buildroot

Le Thu, 4 Aug 2011 12:40:53 +0300,
Dimitri Kaparis <kaparis.dimitri@gmail.com> a ?crit :

> I'm doing a build for arm using a crosstool-ng generated toolchain
> (gcc 4.4.6, uclibc 0.9.30.3).
> With buildroot-2011.05 I'm getting this:

I guess it's a problem with the toolchain, because here libffi builds
just fine with an ARM CodeSourcery toolchain.

Which binutils version does your toolchain has ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Arm build: asm error in libffi?
  2011-08-04 19:49 ` Thomas Petazzoni
@ 2011-08-05  7:56   ` Dimitri Kaparis
  0 siblings, 0 replies; 3+ messages in thread
From: Dimitri Kaparis @ 2011-08-05  7:56 UTC (permalink / raw)
  To: buildroot

On Thu, Aug 4, 2011 at 10:49 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Le Thu, 4 Aug 2011 12:40:53 +0300,
> Dimitri Kaparis <kaparis.dimitri@gmail.com> a ?crit :
>
>> I'm doing a build for arm using a crosstool-ng generated toolchain
>> (gcc 4.4.6, uclibc 0.9.30.3).
>> With buildroot-2011.05 I'm getting this:
>
> I guess it's a problem with the toolchain, because here libffi builds
> just fine with an ARM CodeSourcery toolchain.
>
> Which binutils version does your toolchain has ?

20.20.1, which is the latest release available through crosstool-ng.

arm-unknown-linux-uclibc-as --version says:
GNU assembler (crosstool-NG 1.12.0) 2.20.1.20100303

Curiously, I was able to complete a build the other day on another
host. I think the only difference was I used uclibc version 0.9.32
instead of 0.9.30.3 for the toolchain. Can this be related?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-05  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04  9:40 [Buildroot] Arm build: asm error in libffi? Dimitri Kaparis
2011-08-04 19:49 ` Thomas Petazzoni
2011-08-05  7:56   ` Dimitri Kaparis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.