[oe] gcc-4.1.2 compile breaking in OE stable for powerpc

Welch, Martyn (GE EntSol, Intelligent Platforms) martyn.welch at gefanuc.com
Thu Jul 31 08:51:50 UTC 2008


Hi all,

I have just tried compiling gcc 4.1.2 to allow native compiling on top
of one of our targets.

I'm getting the following error:

ccache powerpc-angstrom-linux-gcc
-isystem/tftpboot/auto/ppc7d/build//staging/powerpc-angstrom-linux/inclu
de -O2  -g -Os -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-specs=ldblspecs -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/
gcc-4.1.2/gcc
-I/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/
gcc-4.1.2/gcc/.
-I/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/
gcc-4.1.2/gcc/../include
-I/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/
gcc-4.1.2/gcc/../libcpp/include  -fPIC -mstrict-align -DL_muldc3
-fvisibility=hidden -DHIDE_EXPORTS -c
/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/gc
c-4.1.2/gcc/libgcc2.c -o libgcc/./_muldc3.o
/tftpboot/auto/ppc7d/build//work/powerpc-angstrom-linux/gcc-4.1.2-r11/gc
c-4.1.2/gcc/libgcc2.c:1629: error: size of array 'compile_type_assert'
is negative
make[3]: *** [libgcc/./_muldc3.o] Error 1
make[3]: Leaving directory
`/tftpboot/auto/ppc7d/build/work/powerpc-angstrom-linux/gcc-4.1.2-r11/gc
c-4.1.2/build.powerpc-angstrom-linux.powerpc-angstrom-linux/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory
`/tftpboot/auto/ppc7d/build/work/powerpc-angstrom-linux/gcc-4.1.2-r11/gc
c-4.1.2/build.powerpc-angstrom-linux.powerpc-angstrom-linux/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/tftpboot/auto/ppc7d/build/work/powerpc-angstrom-linux/gcc-4.1.2-r11/gc
c-4.1.2/build.powerpc-angstrom-linux.powerpc-angstrom-linux'
make: *** [all] Error 2
FATAL: oe_runmake failed


Googling threw up some old mails concerning "cache-amnesia.patch",
however this is already being applied.

I am using the org.openembedded.stable branch, with the "angstron
2007.1" distribution (though this seems to be building "angstrom
2007.12-r18") and compiling for the powerpc arch.

Have I got something configured wrong/ are others able to confirm this
works for them?

Martyn

-- 
Martyn Welch MEng MPhil MIET
Principal Software Engineer

GE Fanuc Intelligent Platforms
Tove Valley Business Park, Towcester,
Northants, NN12 6PF, United Kingdom

Telephone: +44 (0) 1327 359444
Direct Dial: +44 (0) 1327 322748
Fax: +44 (0) 1327 322800
email: martyn.welch at gefanuc.com
web: www.gefanuc.com

GE Fanuc Intelligent Platforms Ltd, registered in England and Wales
(3828642) at 100 Barbirolli Square, Manchester, M2 3AB, VAT GB 729 849
476  

GE Fanuc Intelligent Platforms Confidential and Proprietary. If you have
received this message in error please notify us immediately and
permanently remove it from your system and destroy any printed
hardcopies.    




More information about the Openembedded-devel mailing list