Skip to contentSkip to conversation

Soft float toolchain on ARM

Buildroot Applied David Lambert 6 participants 8 messages Jun 3, 2007 – Jun 5, 2007

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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: [email protected] [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

#2 lore raw

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

Quoted 2 lines

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

gcc/config/arm/linux-eabi.h 2006-10-24 21:34:01.000000000 -0700 renamed from gcc/config/arm/linux-eabi.h 2006-10-22 11:11:49.000000000 -0700 +1 -1
diff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h
@@ -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

Signature · 2 lines
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF
#3 lore raw
In reply to Stuart Wood

Hi,

I used

gcc-4.0.3
binutils-2.17
uClibc-0.9.28

Philippe

Quoted 37 lines

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

#4 lore raw

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: [email protected] [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

Quoted 30 lines

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.

Quoted 8 lines

_______________________________________________
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

#5 lore raw
In reply to Stuart Wood
Quoted 9 lines · Stuart Wood

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..

#6 lore raw
In reply to Stuart Wood
Quoted 11 lines · Stuart Wood

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

#7 lore raw

Mike,

Quoted 10 lines · MikeW
Quoted 8 lines · Stuart Wood

Dave,

Our systems are running

GCC 3.4.6
binutils 2.16.1
uClibc 0.9.29

Quoted 5 lines
Quoted 2 lines

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.