ANN: rtems-4.10-gcc upgraded to 4.4.6

Kate Feng feng at
Tue Jun 21 19:06:32 UTC 2011

On 06/21/2011 01:57 PM, Gedare Bloom wrote:
> On Tue, Jun 21, 2011 at 10:56 AM, kfeng<feng at>  wrote:
>> On 04/22/2011 12:00 AM, Ralf Corsepius wrote:
>>> Hi,
>>> The subject says all:
>>> The rtems-4.10-gcc packages have been upgraded to FSF gcc-4.4.6.
>>> This upgrade is supposed to be a minor "bug-fix only" upgrade, which
>>> should not cause any major troubles to users.
>> The pre-built RPM tools, which includes gcc-4.4.6 works very well. I have
>> tested it successfully
>> with the mvme5500 BSP. I would be so happy if I could just use it forever.
>> However, here is a
>> Ubuntu PC, which requires on to build the tools.  I am not sure if all the
>> *.diff listed
>> at  ftp/pub/rtems/SOURCES/4.10/ have to be applied.  The 4.10 CVS head at
>> rtems/contrib/crossrpms/patches lists only a few, but it even includes a
>> patch
>> from gcc-4.4.5.  I got all sorts of different errors in building the tools
>> by playing guessing games.
>> I did successfully build the tools for gcc-4.4.5 , but I understand that
>> there are known bugs.
>> Could you verify the required patches for building ,gcc4.4.6 please ?
> You should only have to apply the most recent patch, i.e. they are not
> incremental. I guess for 4.10.1 these would be:
> binutils-2.20.1-rtems4.10-20100826.diff
> gcc-core-4.4.6-rtems4.10-20110420.diff
> newlib-1.18.0-rtems4.10-20110518.diff

May I know what platform you built 4.4.6 on ?
I did that, too.  I still got the same error message as the following:

cp xgcc gcc-cross
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual 
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include 
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber 
-I../../gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc/cppspec.c 
-o cppspec.o
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual 
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   
-DHAVE_CONFIG_H  -o cpp gcc.o opts-common.o gcc-options.o cppspec.o \
       intl.o prefix.o version.o  ../libcpp/libcpp.a   
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
powerpc-rtems4.10-gcc -nostdinc -isystem 
/usr/local/source/RTEMS/gcc-4.4.6/build/./gcc/include -isystem 
-isystem /usr/local/source/RTEMS/gcc-4.4.6/newlib/libc/include 
-dumpspecs > tmp-specs
/bin/bash: powerpc-rtems4.10-gcc: command not found
gmake[2]: *** [specs] Error 127

1) I configure it the same as I did in the past, except this is a x86_64 

--host=x86_64-pc-linux-gnu --target=powerpc-rtems4.10 
--prefix=/opt/rtems-4.10.0 --with-gnu-as --with-gnu-ld --with-newlib 
--verbose --with-system-zlib --disable-nls 
--enable-version-specific-runtime-libs --enable-threads=rtems 

The 4.4.5 one was build on i586 platform.

2) the autoconf for the RPM is listed as 2.68-1.
However, the source one can get is autoconf-2.68

I am not sure what I am missing.


>> Regards,
>> Kate Feng
>>> Ralf
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at

More information about the users mailing list