<div dir="ltr">Thanks Sebastian, your question about where it got the binutils from put me on the right track.  The binutils that it was picking up were the ones that I built on January 9.  I removed the directory from my PATH and still had the problem, so I looked in the log and discovered that there are several paces where the build is adding the target bin directory to the PATH, so I renamed the original $PREFIX directory and that solved the issue.  It appears that source builder doesn't like building into a location that already contains a tool chain.<div><br></div><div>Until recently, I have been using MING32 on Windows and so was using pre-built tools.  It may be that this is a known limitation, please excuse my ignorance if it is.</div><div><br></div><div>Regards</div><div><br></div><div>Simon</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, 22 Jan 2016 at 06:30 Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 22/01/16 00:09, Simon Williams wrote:<br>
> I am having problems building the arm tool set.  I built the tools<br>
> successfully on January 9, so something has gone wrong in the last 12<br>
> days!  This appears to  be the pertinent part of the log:-<br>
><br>
> Running configure in multilib subdir thumb/cortex-m7/fpv5-d16/hard<br>
> pwd:<br>
> /home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/arm-rtems4.12<br>
> mkdir thumb/cortex-m7<br>
> mkdir thumb/cortex-m7/fpv5-d16<br>
> mkdir thumb/cortex-m7/fpv5-d16/hard<br>
> configure: creating cache ./config.cache<br>
> checking build system type... x86_64-pc-linux-gnu<br>
> checking host system type... arm-unknown-rtems4.12<br>
> checking for --enable-version-specific-runtime-libs... yes<br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
> checking for gawk... gawk<br>
> checking for arm-rtems4.12-ar...<br>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/ar<br>
<br>
Why did it pick up these Binutils?<br>
<br>
/home/simon.williams/rtems/4.12/arm-rtems4.12/bin<br>
<br>
> checking for arm-rtems4.12-lipo... arm-rtems4.12-lipo<br>
> checking for arm-rtems4.12-nm...<br>
> /home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/./gcc/nm<br>
> checking for arm-rtems4.12-ranlib...<br>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/ranlib<br>
> checking for arm-rtems4.12-strip...<br>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/strip<br>
> checking whether ln -s works... yes<br>
> checking for arm-rtems4.12-gcc...<br>
> /home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/./gcc/xgcc<br>
> -B/home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/./gcc/<br>
> -nostdinc<br>
> -B/home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/cortex-m7/fpv5-d16/hard/newlib/<br>
> -isystem<br>
> /home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/cortex-m7/fpv5-d16/hard/newlib/targ-include<br>
> -isystem<br>
> /home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/gcc-6-20160117/newlib/libc/include<br>
> -B/home/simon.williams/rtems/4.12/arm-rtems4.12/bin/<br>
> -B/home/simon.williams/rtems/4.12/arm-rtems4.12/lib/ -isystem<br>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/include -isystem<br>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/sys-include  -mthumb<br>
> -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard<br>
> configure: error: in<br>
> `/home/simon.williams/rtems/rtems-source-builder/rtems/build/arm-rtems4.12-gcc-6-20160117-newlib-2.3.0.20160104-x86_64-linux-gnu-1/build/arm-rtems4.12/thumb/cortex-m7/fpv5-d16/hard/libgcc':<br>
> configure: error: cannot compute suffix of object files: cannot compile<br>
> See `config.log' for more details.<br>
> make[1]: *** [configure-target-libgcc] Error 1<br>
><br>
> The build system in Fedora Linux 23 X86_64 and is up to date.  My copy<br>
> of the RSB repository os up to date as of tonight.<br>
> Any ideas?<br>
<br>
Your Binutils version is too old. The RSB has the right version, but the<br>
configure finds something else.<br>
<br>
--<br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : +49 89 189 47 41-16<br>
Fax     : +49 89 189 47 41-09<br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
</blockquote></div>