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: A bug in crosstool-NG 1.7.0


Sergei, All,

On Sunday 27 June 2010 00:31:01 Sergei Zhirikov wrote:
> The ldd and xtrace scripts produced inside the sys-root directory contain
> shebang line that refers to ${CT_TOP_DIR}/targets/tools/bin/bash instead
> of the standard /bin/bash.

OK, I have an easy workaround, but that means that bash *will* have to be
/bin/bash on the target. If you install bash somewhere else, it will not
work. Care to test attached patch, please?

Will push that later tonight.

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.  |
'------------------------------^-------^------------------^--------------------'
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh
--- a/scripts/build/libc/glibc.sh
+++ b/scripts/build/libc/glibc.sh
@@ -409,6 +409,10 @@
         echo libc_cv_c_cleanup=yes
     fi >config.cache
 
+    # ./configure is mislead by our tools override wrapper for bash
+    # so just tell it where the real bash is.
+    echo "ac_cv_path_BASH_SHELL=${bash}" >>config.cache
+
     # Configure with --prefix the way we want it on the target...
     # There are a whole lot of settings here.  You'll probably want
     # to read up on what they all mean, and customize a bit, possibly by setting GLIBC_EXTRA_CONFIG

--
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]