After some months i need to rebuild my arm-softfloat-linux-gnu toolchain.
Every --l --g --b --k version combination i tryed fails.
I can't find the table of working combinations, which was accesible from
embedded gentoo handbook (imho).
I did the complex cleaning of /etc/portage, but maybe there is still some
garbage.
Please recommend me, what to check up.
Thank You
Jakub Ladman
06-24-2010, 08:22 AM
Peter Stuge
crossdev fail
Jakub Ladman wrote:
> After some months i need to rebuild my arm-softfloat-linux-gnu toolchain.
..
> Please recommend me, what to check up.
Is the arm-version needed? armv6, armv7, etc?
I just built arm-softfloat-eabi without problems, though that's
pretty different.
//Peter
06-24-2010, 05:36 PM
Jakub Ladman
crossdev fail
Dne čtvrtek 24 Červen 2010 10:22:01 Peter Stuge napsal(a):
> Jakub Ladman wrote:
> > After some months i need to rebuild my arm-softfloat-linux-gnu toolchain.
>
> ..
>
> > Please recommend me, what to check up.
>
> Is the arm-version needed? armv6, armv7, etc?
The chip has core arm920t, where i get info about its name in current
crossdev?
I have functional system built with toolchain generated before two years, now
i must appned some new packeges and do upgrade, but my toolchain stops
working, i need functional arm-softfloat-linux-gnu toolchain, not eabi for
binary compatibility. I need to send binary package via slow curious line to
the system and it must run.
Three days of trying and still nothing, i'm stuck in big piece of shit.
I have somewhere backup of old toolchain, on former colegue's notebook, but
...
Jakub
>
> I just built arm-softfloat-eabi without problems, though that's
> pretty different.
>
>
> //Peter
>
06-24-2010, 09:45 PM
Ned Ludd
crossdev fail
On Thu, 2010-06-24 at 19:36 +0200, Jakub Ladman wrote:
> Dne čtvrtek 24 Červen 2010 10:22:01 Peter Stuge napsal(a):
> > Jakub Ladman wrote:
> > > After some months i need to rebuild my arm-softfloat-linux-gnu toolchain.
> >
> > ..
> >
> > > Please recommend me, what to check up.
> >
> > Is the arm-version needed? armv6, armv7, etc?
>
> The chip has core arm920t, where i get info about its name in current
> crossdev?
If it's an 920t then most likely you will want a chost such as
armv4tl-softfloat-linux-gnu(eabi)
>
> I have functional system built with toolchain generated before two years, now
> i must appned some new packeges and do upgrade, but my toolchain stops
> working, i need functional arm-softfloat-linux-gnu toolchain, not eabi for
> binary compatibility. I need to send binary package via slow curious line to
> the system and it must run.
>
> Three days of trying and still nothing, i'm stuck in big piece of shit.
Try not to get discouraged. If it's not working for you. Take a break,
and return at a later time when you feel less stressed.
> I have somewhere backup of old toolchain, on former colegue's notebook, but
> ...
>
> Jakub
>
> >
> > I just built arm-softfloat-eabi without problems, though that's
> > pretty different.
> >
> >
> > //Peter
> >
>
--
Ned Ludd <solar@gentoo.org>
Gentoo Linux
06-25-2010, 05:30 AM
Jakub Ladman
crossdev fail
Dne čtvrtek 24 Červen 2010 23:45:17 Ned Ludd napsal(a):
> > The chip has core arm920t, where i get info about its name in current
> > crossdev?
>
> If it's an 920t then most likely you will want a chost such as
> armv4tl-softfloat-linux-gnu(eabi)
I am a little bit confused, why i foundn't it in the handbook.
> > Three days of trying and still nothing, i'm stuck in big piece of shit.
>
> Try not to get discouraged. If it's not working for you. Take a break,
> and return at a later time when you feel less stressed.
This is a good idea :-)
>
> > I have somewhere backup of old toolchain, on former colegue's notebook,
> > but ...
>
> Here are some known working versions.
>
> wizdev local # qlist -I armv4tl -v
> cross-armv4tl-softfloat-linux-gnueabi/binutils-2.19.1-r1
> cross-armv4tl-softfloat-linux-gnueabi/gcc-4.2.4
> cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.2
> cross-armv4tl-softfloat-linux-gnueabi/glibc-2.9_p20081201-r2
> cross-armv4tl-softfloat-linux-gnueabi/linux-headers-2.6.30-r1
Thank You very much.
Jakub
06-25-2010, 10:35 AM
Jakub Ladman
crossdev fail
Dne čtvrtek 24 Červen 2010 23:45:17 Ned Ludd napsal(a):
> Here are some known working versions.
>
> wizdev local # qlist -I armv4tl -v
> cross-armv4tl-softfloat-linux-gnueabi/binutils-2.19.1-r1
> cross-armv4tl-softfloat-linux-gnueabi/gcc-4.2.4
> cross-armv4tl-softfloat-linux-gnueabi/gcc-4.4.2
> cross-armv4tl-softfloat-linux-gnueabi/glibc-2.9_p20081201-r2
> cross-armv4tl-softfloat-linux-gnueabi/linux-headers-2.6.30-r1
>
Tryed these versions, both gcc 4.2.4 and 4.4.2, both gnu and gnueabi and
everything failed :-(
Don't have any clue what is wrong with my system.
Jakub
06-25-2010, 11:27 AM
Sven Rebhan
crossdev fail
Hey!
Well, your problem is described easily once you read
cross-armv4tl-softfloat-linux-gnueabi-glibc-headers.log::
checking for /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/as...
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/as
checking version of
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/as...
2.20.1.20100303, bad
checking for /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld...
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld
checking version of
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld...
2.20.1.20100303, bad
and checking the glibc-2.9_p20081201-r2 's configure script:
4530 echo $ECHO_N "checking version of $AS... $ECHO_C" >&6; }
4531 ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU
assembler.* ([0-9]*.[0-9.]*).*$/1/p'`
4532 case $ac_prog_version in
4533 ') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
4534 2.1[3-9]*)
4535 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
4536 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
4537
4538 esac
In the above lines, you see that the binutils-2.20.1.20100303
of your host is too new for the glibc version, which requires
version 2.1*. :-) If you require this glibc version one would
need to replace the check in line 4534 with
2.1[3-9]*|2.2[0-9]*)
and test with this setting. Alternatively you could try with
>=glibc-2.11.1 which has a check for newer binutils.
Have fun!
Sven
06-25-2010, 02:55 PM
Jakub Ladman
crossdev fail
This helped!!!!!
Thank You
Jakub
Dne pátek 25 Červen 2010 13:27:38 Sven Rebhan napsal(a):
> >=glibc-2.11.1 which has a check for newer binutils.
>
> Have fun!
>
> Sven
>