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


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


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