Problem with shell scripts in sys-root

Bryan Hundven bryanhundven@gmail.com
Tue Dec 21 17:29:00 GMT 2010


On Tue, Dec 21, 2010 at 9:23 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> 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.

I guess I forgot to mention that I am building eglibc.

Maybe that support is in glibc, but not on eglibc.

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

-Bryan

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



More information about the crossgcc mailing list