Problem running source builder

Simon Williams williamssimonp at gmail.com
Fri Jan 22 11:05:50 UTC 2016


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.

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.

Regards

Simon

On Fri, 22 Jan 2016 at 06:30 Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

>
>
> On 22/01/16 00:09, Simon Williams wrote:
> > I am having problems building the arm tool set.  I built the tools
> > successfully on January 9, so something has gone wrong in the last 12
> > days!  This appears to  be the pertinent part of the log:-
> >
> > Running configure in multilib subdir thumb/cortex-m7/fpv5-d16/hard
> > pwd:
> >
> /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
> > mkdir thumb/cortex-m7
> > mkdir thumb/cortex-m7/fpv5-d16
> > mkdir thumb/cortex-m7/fpv5-d16/hard
> > configure: creating cache ./config.cache
> > checking build system type... x86_64-pc-linux-gnu
> > checking host system type... arm-unknown-rtems4.12
> > checking for --enable-version-specific-runtime-libs... yes
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking for gawk... gawk
> > checking for arm-rtems4.12-ar...
> > /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/ar
>
> Why did it pick up these Binutils?
>
> /home/simon.williams/rtems/4.12/arm-rtems4.12/bin
>
> > checking for arm-rtems4.12-lipo... arm-rtems4.12-lipo
> > checking for arm-rtems4.12-nm...
> >
> /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
> > checking for arm-rtems4.12-ranlib...
> > /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/ranlib
> > checking for arm-rtems4.12-strip...
> > /home/simon.williams/rtems/4.12/arm-rtems4.12/bin/strip
> > checking whether ln -s works... yes
> > checking for arm-rtems4.12-gcc...
> >
> /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
> >
> -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/
> > -nostdinc
> >
> -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/
> > -isystem
> >
> /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
> > -isystem
> >
> /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
> > -B/home/simon.williams/rtems/4.12/arm-rtems4.12/bin/
> > -B/home/simon.williams/rtems/4.12/arm-rtems4.12/lib/ -isystem
> > /home/simon.williams/rtems/4.12/arm-rtems4.12/include -isystem
> > /home/simon.williams/rtems/4.12/arm-rtems4.12/sys-include  -mthumb
> > -mcpu=cortex-m7 -mfpu=fpv5-d16 -mfloat-abi=hard
> > configure: error: in
> >
> `/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':
> > configure: error: cannot compute suffix of object files: cannot compile
> > See `config.log' for more details.
> > make[1]: *** [configure-target-libgcc] Error 1
> >
> > The build system in Fedora Linux 23 X86_64 and is up to date.  My copy
> > of the RSB repository os up to date as of tonight.
> > Any ideas?
>
> Your Binutils version is too old. The RSB has the right version, but the
> configure finds something else.
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160122/5f7ef16c/attachment.html>


More information about the users mailing list