gen5200 compilation issue (CVS head)

Karel Gardas kgardas at objectsecurity.com
Tue Jan 10 15:14:54 UTC 2006


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:
silence:/tmp/gen5200-obj$ powerpc-rtems-gcc -v
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=powerpc-rtems --with-gnu-as --with-gnu-ld --with-newlib --verbose 
--enable-threads --enable-languages=c,c++
Thread model: rtems
gcc version 4.0.1
silence:/tmp/gen5200-obj$

> 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 
-fno-keep-inline-functions -g   conftest.c  >&5
<command line>:1:1: error: macro names must be identifiers
configure:2927: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "rtems-c-src"
| #define PACKAGE_TARNAME "rtems-c-src"
| #define PACKAGE_VERSION "4.6.99.2"
| #define PACKAGE_STRING "rtems-c-src 4.6.99.2"
| #define PACKAGE_BUGREPORT "rtems-bugs at rtems.com"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2966: error: C compiler cannot create executables
See `config.log' for more details.

>> is this know issue?
>
> 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.

Thanks,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com



More information about the users mailing list