Skip to contentSkip to conversation

Strange name for cross binutils binaries

DISCUSSION Martin Dietze 3 participants 6 messages Mar 24, 2009 – Mar 26, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

just trying another build of OE for nylon/mtx-1 (which is
TARGET_ARCH "mipsel"). Compiling gcc-cross fails with this message:

| make[2]: mipsel-linux-ar: Command not found

Looking at tmp/cross, I find that the cross ar got installed under this name: tmp/cross/mipsel/bin/mipsel-linux-mipsel-linux-ar

This does not seem right, or is there anything which I need to adapt due to global bbclass/configuration changes?

Cheers,

Martin

Signature · 3 lines
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
* Free Speech Online!!! Support the Blue Ribbon Campaign! *
#1 lore raw
Quoted 6 lines · Martin Dietze

Hi,

 just trying another build of OE for nylon/mtx-1 (which is TARGET_ARCH "mipsel"). Compiling gcc-cross fails with this message:

Quoted 7 lines

| make[2]: mipsel-linux-ar: Command not found

Looking at tmp/cross, I find that the cross ar got installed under this name: tmp/cross/mipsel/bin/mipsel-linux-mipsel-linux-ar

This does not seem right, or is there anything which I need to adapt due to global bbclass/configuration changes?

Well nylon distro is using quite old tools and I dont think anybody has been using
gcc 3.3 binutils 2.14 and glibc 2.3.3 combo.

Thats your problem. Now if you can help in testing this distro I can certainly put new toolchain in
but that could mean more changes.

Quoted 15 lines

Cheers,

Martin

--
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+=
* Free Speech Online!!! Support the Blue Ribbon Campaign! *

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 7 lines · Khem Raj

Well nylon distro is using quite old tools and I dont think anybody has been using
gcc 3.3 binutils 2.14 and glibc 2.3.3 combo.

Thats your problem. Now if you can help in testing this distro I can certainly put new toolchain in
but that could mean more changes.

Yes I can. Actually I am in the progress of getting nylon to run again with the current OE toolchain (after leaving 4G I did not even have my own cube, but this has changed now).

Now just to simplify things for me, can you give me one or two more hints - I can't believe that "mipsel-linux-mipsel-ar" is right, or is it? I.e., is the name under which it is installed from binutils wrong or does gcc-cross-initial look for it under the wrong name?

Cheers,

Martin

Signature · 5 lines
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Nachts wache ich schwei�gebadet auf, weil OE-begeisterte Newbies mit Bill 
Gates hinterm Newsserver Schwarze Messen feiern, und auch mein Psychologe 
ist schon total ratlos. Ich habe einfach fertig.  -- anonymer Troll in dsnu
#3 lore raw
In reply to Khem Raj

You might want to derive nylon from minimal or just reuse minimal.

(Or Angstrom).

Most of the time what you are after is not really a distro, but a set of task and image packages.

Cheers,

:M:

#4 lore raw
Quoted 6 lines · Michael 'Mickey' Lauer

You might want to derive nylon from minimal or just reuse minimal.

(Or Angstrom).

Most of the time what you are after is not really a distro, but a set of task and image packages.

Thanks for this hint. Have there been any significant changes during the last 30 days? My last build was only on Feb 20, and I did not have any such problems then. Unless it is really necessary I would like to change as little as possible now in order to get a usable setup to get started with.

Cheers,

Martin

Signature · 3 lines
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
* Free Speech Online!!! Support the Blue Ribbon Campaign! *
#5 lore raw
In reply to Khem Raj
Quoted 3 lines · Khem Raj

Well nylon distro is using quite old tools and I dont think anybody has been using
gcc 3.3 binutils 2.14 and glibc 2.3.3 combo.

It seems like I found the culprit; in binutils 2.14 there is a double --program-prefix=.... argument in the configure options. This resulted in two consecutive sed substitutions for the executable program's prefixes.
I call this a bug regardless how old version 2.14 is. Actually, binutils have always had target-arch-related issues, I thus do not like the idea of upgrading just because the recipes are broken.

I hope I can come up with a set of patches soon.

Cheers,

Martin

Signature · 4 lines
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Was ist ein Cluster?
Wenn vier Bratscher unisono spielen.