gcc build breaks when . in PATH

Johannes Stezenbach js@sig21.net
Wed Jul 14 13:09:00 GMT 2010


Hi,

while testing arm-uClibc-NPTL build on an older machine
I found that including . in PATH causes build breakage in the
cc_core_pass_1 step (with gcc-4.4.4):

[ALL  ]    checking what assembler to use... /tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL  ]    config.status: creating as


i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.


It might be a good idea to add a check for . in PATH in
crosstool-NG's "Performing some trivial sanity checks" step?


Thanks
Johannes

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



More information about the crossgcc mailing list