[crosstool-ng] Internal compiler error with gcc 4.3.2 + patch

Thomas Petazzoni thomas.petazzoni@free-electrons.com
Wed Aug 5 19:13:00 GMT 2009


Le Wed, 5 Aug 2009 17:23:17 +0200,
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> a écrit :

> WFM here:
> ./configure --local
> make
> ./scripts/addToolVersion.sh

Strange. Doesn't work for me, even starting from a pristine hg clone.
By any chance, do you have the current directory "." in your PATH ?
Because I don't.

See the following test:

thomas@surf:/tmp/tst$ cat foobar.sh 
#!/bin/sh
. "test.mk"
thomas@surf:/tmp/tst$ cat test.mk 
export foo=bar
thomas@surf:/tmp/tst$ echo $PATH
/home/thomas/sys/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
thomas@surf:/tmp/tst$ sh foobar.sh 
.: 2: test.mk: not found

Then, I add . to the PATH and try again:

thomas@surf:/tmp/tst$ export PATH=$PATH:.
thomas@surf:/tmp/tst$ sh foobar.sh 
thomas@surf:/tmp/tst$

It works, but only when '.' is in the PATH.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com

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



More information about the crossgcc mailing list