Hidden error(?) during build

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Mon Jan 5 20:00:00 GMT 2009


Michael,
All,

On Sunday 04 January 2009 14:06:53 michael wrote:
> Building powerpc-405-linux-gnu I noticed one error message (I've elided 
> the path for clarity):
> [ERROR]    .../powerpc-405-linux-gnu/build/build-libc/elf/ld.so.1: 1:
> Syntax error: "(" unexpected 

> This is building on Ubuntu; building on RHEL I get the slightly more 
> illuminating message (but not flagged as an error):
> [ALL  ]    /bin/sh: .../powerpc-405-linux-gnu/build/build-libc/elf/ld.so.1: cannot execute binary file

> Ah: now all is clear.  *Somebody* is trying to execute the target ld.so.1 
> -- that's not going to work, now is it?

Surely not! :-)

> I don't know whether this actually matters, and whether the offending code 
> is in crosstool-ng itself, or is part of glibc (I guess my money isss with 
> glibc).

I'd say it lives somewhere in the glibc Makefiles. Sigh... :-(

> Still, it's a bit bothersome.  The built toolchain actually seems  
> to work just fine -- I think the only side effect here is that 
> sys-root/usr/libexec/getconf is empty -- but something odd to notice!

I don't have PowerPC to test on. Does the toolchain work? What is .../getconf
used for? Is it vital?

My bet is, unless the toolchain does not work, leave it alone, and go your
way. There are better things to work on than fixing glibc weirdness.

Regards,
Yann E. MORIN.


-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list