Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Soft float toolchain on ARM
@ 2007-06-03 19:55 David Lambert
  2007-06-04 15:07 ` Stuart Wood
  0 siblings, 1 reply; 8+ messages in thread
From: David Lambert @ 2007-06-03 19:55 UTC (permalink / raw)
  To: buildroot

I am running into problems when attempting to make a toolchain for the
ARM using soft-float. Does anyone have the magic combination of versions
for uClibc, gcc, etc. that provide a stable working toolchain?

TIA,

Dave.

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-03 19:55 [Buildroot] Soft float toolchain on ARM David Lambert
@ 2007-06-04 15:07 ` Stuart Wood
  2007-06-04 15:29   ` Konstantin Kletschke
                     ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Stuart Wood @ 2007-06-04 15:07 UTC (permalink / raw)
  To: buildroot

Dave, 

Our systems are running

GCC 3.4.6
binutils 2.16.1
uClibc 0.9.29

My understanding is that soft floating-point is broken in the gcc 4 series.


-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On
Behalf Of David Lambert
Sent: Sunday, June 03, 2007 3:55 PM
To: buildroot at uclibc.org
Subject: [Buildroot] Soft float toolchain on ARM


I am running into problems when attempting to make a toolchain for the ARM
using soft-float. Does anyone have the magic combination of versions for
uClibc, gcc, etc. that provide a stable working toolchain?

TIA,

Dave.


_______________________________________________
buildroot mailing list
buildroot at uclibc.org http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-04 15:07 ` Stuart Wood
@ 2007-06-04 15:29   ` Konstantin Kletschke
  2007-06-04 15:30   ` Philippe Ney
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Konstantin Kletschke @ 2007-06-04 15:29 UTC (permalink / raw)
  To: buildroot

Am 2007-06-04 11:07 -0400 schrieb Stuart Wood:

> using soft-float. Does anyone have the magic combination of versions for
> uClibc, gcc, etc. that provide a stable working toolchain?

Works fine here, EABI:

BR2_ARM_TYPE="GENERIC_ARM"
BR2_GNU_TARGET_SUFFIX="linux-uclibcgnueabi"
BR2_KERNEL_HEADERS_2_6_20=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.20"
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_PTHREADS_OLD=y
BR2_BINUTILS_VERSION_2_17=y
BR2_EXTRA_BINUTILS_CONFIG_OPTIONS=""
BR2_GCC_VERSION_4_1_2=y
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_INSTALL_LIBSTDCPP=y
BR2_GCC_SHARED_LIBGCC=y
BR2_ENABLE_MULTILIB=y
BR2_LARGEFILE=y
BR2_SOFT_FLOAT=y
BR2_TARGET_OPTIMIZATION="-Os -pipe"
BR2_CROSS_TOOLCHAIN_TARGET_UTILS=y

with

diff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h
--- gcc-4.1.1/gcc/config/arm/linux-eabi.h       2006-10-22 11:11:49.000000000 -0700
+++ gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h      2006-10-24 21:34:01.000000000 -0700
@@ -45,7 +45,7 @@
    The ARM10TDMI core is the default for armv5t, so set
    SUBTARGET_CPU_DEFAULT to achieve this.  */
 #undef SUBTARGET_CPU_DEFAULT
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi

 #undef SUBTARGET_EXTRA_LINK_SPEC
 #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"

applied.

Regards, Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-04 15:07 ` Stuart Wood
  2007-06-04 15:29   ` Konstantin Kletschke
@ 2007-06-04 15:30   ` Philippe Ney
  2007-06-04 15:43     ` Stuart Wood
  2007-06-04 15:44   ` Bernhard Fischer
  2007-06-05  7:55   ` MikeW
  3 siblings, 1 reply; 8+ messages in thread
From: Philippe Ney @ 2007-06-04 15:30 UTC (permalink / raw)
  To: buildroot

Hi,

I used

gcc-4.0.3
binutils-2.17
uClibc-0.9.28

Philippe


> Dave, 
> 
> Our systems are running
> 
> GCC 3.4.6
> binutils 2.16.1
> uClibc 0.9.29
> 
> My understanding is that soft floating-point is broken in the gcc 4 series.
> 
> 
> -----Original Message-----
> From: buildroot-bounces at uclibc.org [mailto:buildroot-bounces at uclibc.org] On
> Behalf Of David Lambert
> Sent: Sunday, June 03, 2007 3:55 PM
> To: buildroot at uclibc.org
> Subject: [Buildroot] Soft float toolchain on ARM
> 
> 
> I am running into problems when attempting to make a toolchain for the ARM
> using soft-float. Does anyone have the magic combination of versions for
> uClibc, gcc, etc. that provide a stable working toolchain?
> 
> TIA,
> 
> Dave.
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org http://busybox.net/mailman/listinfo/buildroot
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-04 15:30   ` Philippe Ney
@ 2007-06-04 15:43     ` Stuart Wood
  0 siblings, 0 replies; 8+ messages in thread
From: Stuart Wood @ 2007-06-04 15:43 UTC (permalink / raw)
  To: buildroot

Dave, 

I forgot to add OABI and ARM920T, with no patches.

Does anyone know if there is a difference in 
the support for ARMv4 vs. ARMv5 instruction sets?

-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On
Behalf Of Philippe Ney
Sent: Monday, June 04, 2007 11:31 AM
To: buildroot at uclibc.org
Subject: Re: [Buildroot] Soft float toolchain on ARM


Hi,

I used

gcc-4.0.3
binutils-2.17
uClibc-0.9.28

Philippe


> Dave,
> 
> Our systems are running
> 
> GCC 3.4.6
> binutils 2.16.1
> uClibc 0.9.29
> 
> My understanding is that soft floating-point is broken in the gcc 4 
> series.
> 
> 
> -----Original Message-----
> From: buildroot-bounces at uclibc.org 
> [mailto:buildroot-bounces at uclibc.org] On Behalf Of David Lambert
> Sent: Sunday, June 03, 2007 3:55 PM
> To: buildroot at uclibc.org
> Subject: [Buildroot] Soft float toolchain on ARM
> 
> 
> I am running into problems when attempting to make a toolchain for the 
> ARM using soft-float. Does anyone have the magic combination of 
> versions for uClibc, gcc, etc. that provide a stable working 
> toolchain?
> 
> TIA,
> 
> Dave.
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org http://busybox.net/mailman/listinfo/buildroot
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org http://busybox.net/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot at uclibc.org http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-04 15:07 ` Stuart Wood
  2007-06-04 15:29   ` Konstantin Kletschke
  2007-06-04 15:30   ` Philippe Ney
@ 2007-06-04 15:44   ` Bernhard Fischer
  2007-06-05  7:55   ` MikeW
  3 siblings, 0 replies; 8+ messages in thread
From: Bernhard Fischer @ 2007-06-04 15:44 UTC (permalink / raw)
  To: buildroot

On Mon, Jun 04, 2007 at 11:07:19AM -0400, Stuart Wood wrote:
>Dave, 
>
>Our systems are running
>
>GCC 3.4.6
>binutils 2.16.1
>uClibc 0.9.29
>
>My understanding is that soft floating-point is broken in the gcc 4 series.

My understanding is that there is a fixed-point branch, unless you want
to revive libfloat (which is not the way to go, imo). I do have an FPU, but patches are welcome..

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-04 15:07 ` Stuart Wood
                     ` (2 preceding siblings ...)
  2007-06-04 15:44   ` Bernhard Fischer
@ 2007-06-05  7:55   ` MikeW
  2007-06-05  8:32     ` Bernhard Fischer
  3 siblings, 1 reply; 8+ messages in thread
From: MikeW @ 2007-06-05  7:55 UTC (permalink / raw)
  To: buildroot

Stuart Wood <stuart.wood@...> writes:

> 
> Dave, 
> 
> Our systems are running
> 
> GCC 3.4.6
> binutils 2.16.1
> uClibc 0.9.29
> 
> My understanding is that soft floating-point is broken in the gcc 4 series.
> 

But no-one has managed to analyse exactly *where/how* ?
Could be difficult I know ...

Regards,
MikeW

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

* [Buildroot] Soft float toolchain on ARM
  2007-06-05  7:55   ` MikeW
@ 2007-06-05  8:32     ` Bernhard Fischer
  0 siblings, 0 replies; 8+ messages in thread
From: Bernhard Fischer @ 2007-06-05  8:32 UTC (permalink / raw)
  To: buildroot

Mike,

On Tue, Jun 05, 2007 at 07:55:03AM +0000, MikeW wrote:
>Stuart Wood <stuart.wood@...> writes:

>> Dave, 
>> 
>> Our systems are running
>> 
>> GCC 3.4.6
>> binutils 2.16.1
>> uClibc 0.9.29
>> 
>> My understanding is that soft floating-point is broken in the gcc 4 series.
>> 
>
>But no-one has managed to analyse exactly *where/how* ?
>Could be difficult I know ...

This is nothing one has to analyze, just making it work. I have
repeatedly asked for a kernel .config ?) that is noMMU and softfloat
that i can use with qemu to check, to no avail. Apparently noone is
interrested in both noMMU nor softfloat and i do have both an mmu and an
fpu. "My lack of caring is deep and profound" as some usually say.

?) I'm lazy and don't want to experiment with a setup i don't use --
i.e. anything except i386.

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

end of thread, other threads:[~2007-06-05  8:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-03 19:55 [Buildroot] Soft float toolchain on ARM David Lambert
2007-06-04 15:07 ` Stuart Wood
2007-06-04 15:29   ` Konstantin Kletschke
2007-06-04 15:30   ` Philippe Ney
2007-06-04 15:43     ` Stuart Wood
2007-06-04 15:44   ` Bernhard Fischer
2007-06-05  7:55   ` MikeW
2007-06-05  8:32     ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox