gen5200 compilation issue (CVS head)
Ralf Corsepius
ralf.corsepius at rtems.org
Tue Jan 10 15:29:50 UTC 2006
On Tue, 2006-01-10 at 16:14 +0100, Karel Gardas wrote:
> On Tue, 10 Jan 2006, Ralf Corsepius wrote:
>
> > On Tue, 2006-01-10 at 13:20 +0100, Karel Gardas wrote:
> >> Hello,
> >>
> >> I'm using GCC 4.0.1/binutils 2.16.1 based toolchain for powerpc-rtems
> >> platform and trying to compile CVS head of RTEMS from today and found that
> >> while configuring with:
> >> /home/karel/cvs/rtems/rtems/configure --target=powerpc-rtems
> >> --prefix=/tmp/ppc-rtems-bsps --enable-tests --enable-rtemsbsp="gen405
> >> mcp750 gen5200 mvme2100 mvme2307 mvme5500 ss555"
> >>
> >> make all fails with:
> >>
> >> make[3]: Entering directory `/tmp/ppc-rtems/powerpc-rtems/c/gen5200'
> >> make[3]: Leaving directory `/tmp/ppc-rtems/powerpc-rtems/c/gen5200'
> >> checking for RTEMS_CPU_MODEL... mpc6xx
> >> checking for RTEMS_BSP_FAMILY... (cached) gen5200
> >> checking for CPU_CFLAGS... (cached) -mcpu=603e -mstrict-align -D
> >> checking for CFLAGS_OPTIMIZE_V... (cached) -O4 -fno-keep-inline-functions
> >> -g
> >> checking for style of include used by make... GNU
> >> checking for powerpc-rtems-gcc... powerpc-rtems-gcc
> >> checking for powerpc-rtems-gcc... (cached) powerpc-rtems-gcc
> >> checking for C compiler default output file name... configure: error: C
> >> compiler cannot create executables
> >> See `config.log' for more details.
> > Which gcc version is it?
>
> As I've written above: 4.0.1, or more precisely:
The interesting part would have been newlib.
Vanilla newlib-1.13.0 isn't sufficient for rtems-CVS, vanilla-1.14.0
should be OK for "C", but currently suffers from a problem with its
interaction with rtems in "C++" (The cause is known, a proper fix still
has to be implemented).
> > What does config.log say?
>
> configure:2888: $? = 0
> configure:2890: powerpc-rtems-gcc -v </dev/null >&5
> Using built-in specs.
> Target: powerpc-rtems
> Configured with: /tmp/ppc-rtems/gcc-4.0.1/configure
> --prefix=/home/karel/usr/local/powerpc-rtems-toolchain/ --target=powe
> rpc-rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose
> --enable-threads --enable-languages=c,c++
> Thread model: rtems
> gcc version 4.0.1
> configure:2893: $? = 0
> configure:2895: powerpc-rtems-gcc -V </dev/null >&5
> powerpc-rtems-gcc: '-V' option must have argument
> configure:2898: $? = 1
> configure:2921: checking for C compiler default output file name
> configure:2924: powerpc-rtems-gcc -mcpu=603e -mstrict-align -D -O4
This is the culprit ^^
> >> is this know issue?
_This_ issue is known!
You can't build a plain "gen5200" BSP due a design limitation lurking
inside of this BSP. You should only be able to build the pm520_cr825 and
pm520_ze30 BSP, which are derived from it.
I thought I already fixed this issue (I think committed the patches
yesterday). May-be I missed something, may-be you need a "cvs update".
> > No, but the addition of the gen5200 isn't finished yet.
> > I am still working on merging Thomas BSP into the source tree.
>
> OK, so forget it. I'm just trying to build as much as possible from
> RTEMS/PPC world to see if gxemul brings us anything.
Ralf
More information about the users
mailing list