Skip to contentSkip to conversation

uclibc/thumb toolchain versions to use

DISCUSSION Khem Raj 2 participants 2 messages Apr 16, 2009

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

Hi

Recently, after switching to thumb mode for some on architectures. I tried to enable thumb for uclibc recipe itself too. Unfortunately it does not work with all versions of gcc and binutils we have

The version combos that work are

gcc 4.3.x + binutils 2.18
gcc-4.3.x + binutils_cvs

2.19x does not work and also 2.18.50.x.x does not work because of improper thumb to thumb veneer handling by linker gcc 4.2.4 does not work because ldso.c we relaxed optimization level which causes a gcc ICE

default gcc for angstrom is 4.2.4 and binutils 2.18.50.0.7 and unfortunately this combo will not work for uclibc thumb

Either we can think of bumping default gcc to 4.3.x and downgrade default binutils to 2.18 or let uclibc compile in arm mode even though everything else is in thumb mode.

Thanks

Signature · 1 line
Khem Raj
#1 lore raw
Quoted 10 lines · Khem Raj

Hi

Recently, after switching to thumb mode for some on architectures. I tried to enable thumb for uclibc recipe itself too. Unfortunately it does not work with all versions of gcc and binutils we have

The version combos that work are

gcc 4.3.x + binutils 2.18
gcc-4.3.x + binutils_cvs

Quoted 6 lines

2.19x does not work and also 2.18.50.x.x does not work because of improper thumb to thumb veneer handling by linker gcc 4.2.4 does not work because ldso.c we relaxed optimization level which causes a gcc ICE

default gcc for angstrom is 4.2.4 and binutils 2.18.50.0.7 and unfortunately this combo will not work for uclibc thumb

Either we can think of bumping default gcc to 4.3.x and downgrade default binutils to 2.18 or let uclibc compile in arm mode even though everything else is in thumb mode.

Graeme and I were working on making 4.3.x the default, so how about this:

* switch everything minus ppc and avr32 to 4.3.3
* make a snapshot of binutils cvs (or use a 2.19.50.x version) and switch to that (minus avr32).
* bump DISTRO_PR to force a full rebuild

regards,

Koen