sparc 4.11 tools build failure on CentOS 6.x

Chris Johns chrisj at
Wed Jan 29 23:48:17 UTC 2014

On 30/01/2014 9:55 am, Joel Sherrill wrote:
> On 01/28/2014 10:04 PM, Alan Cudmore wrote:
>> I was just able to build the sparc-rtems4.11 toolchain on Centos 6.5 ,
>> 64 bit
>> This was on a fresh Centos 6.x VM with all updates, no previous RTEMS
>> tools installed.
> OK. I have solved it but it was a weird one. My PATH accidentally
> had :: in it and that let "." (the current directory) be in my PATH.
> GCC creates a shell script called "as" which invokes the cross
> assembler. It meant to get the native as but got the script for
> the cross.
> Having . in a PATH is bad and apparently :: gives you the same
> effect in at least bash.
> Should I file a PR to request that sb-check or the source builder
> check this condition?

Yes or a patch :).

This was asked for recently. I think sb-check is internally involved 
each build which means the path is checked each time.


More information about the devel mailing list