This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with shell scripts in sys-root


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]