Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

crossdev fail

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


ladmanj at volny

Jun 23, 2010, 10:39 PM

Post #1 of 8 (1107 views)
Permalink
crossdev fail

Hello friends

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


peter at stuge

Jun 24, 2010, 1:22 AM

Post #2 of 8 (1068 views)
Permalink
Re: crossdev fail [In reply to]

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


ladmanj at volny

Jun 24, 2010, 10:36 AM

Post #3 of 8 (1070 views)
Permalink
Re: crossdev fail [In reply to]

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
>


solar at gentoo

Jun 24, 2010, 2:45 PM

Post #4 of 8 (1068 views)
Permalink
Re: crossdev fail [In reply to]

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

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


>
> Jakub
>
> >
> > I just built arm-softfloat-eabi without problems, though that's
> > pretty different.
> >
> >
> > //Peter
> >
>

--
Ned Ludd <solar [at] gentoo>
Gentoo Linux


ladmanj at volny

Jun 24, 2010, 10:30 PM

Post #5 of 8 (1055 views)
Permalink
Re: crossdev fail [In reply to]

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


ladmanj at volny

Jun 25, 2010, 3:35 AM

Post #6 of 8 (1057 views)
Permalink
Re: crossdev fail [In reply to]

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
Attachments: cross-armv4tl-softfloat-linux-gnueabi-info.log (24.2 KB)
  cross-armv4tl-softfloat-linux-gnueabi-glibc-headers.log (12.5 KB)


odinshorse at googlemail

Jun 25, 2010, 4:27 AM

Post #7 of 8 (1052 views)
Permalink
Re: crossdev fail [In reply to]

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


ladmanj at volny

Jun 25, 2010, 7:55 AM

Post #8 of 8 (1049 views)
Permalink
Re: crossdev fail [In reply to]

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
>

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.