Problem with shell scripts in sys-root

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Tue Dec 21 17:23:00 GMT 2010


Bryan, All,

On Tuesday 21 December 2010 02:04:04 Bryan Hundven wrote:
> I noticed today that some shell scripts, specifically:
> usr/bin/ldd
> usr/bin/xtrace
> usr/bin/tzselect
> 
> have the path to the bash symlink from the tools directory as their header:
> ----------------8<-----------------8<----------------8<--------------------
> #! /home/bryan/builds/ppc/.build/tools/bin/bash
> ----------------8<-----------------8<----------------8<--------------------
> 
> This doesn't seem right, if buildroot (or any other build system) suck
> these files into their staging directory, they will probably not run
> correctly on the target.

Definitely, not! :-)

> I'm not sure I know the correct solution to this problem.

Well, I already tried to handle this case. See:
  scripts/build/libc/glibc.sh@420 (in tip)

I'm building a glibc-based toolchain right now to check whether it works,
or not.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  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