[Openembedded-users] building mpc8323e-rdb

Anders Törnqvist a.tqvist at gmail.com
Mon Jan 24 17:29:38 UTC 2011


Just tried to build the mpc8323 with a fresh OE master from git.
The same result as with release 2010.12.
I use Bitbake 1.10.2 ad tries to build a minimal-image
Below follows the end of the build log.

The build does complete OK if the line "TARGET_FPU   ?=  "soft"" is 
added to conf/machine/include/tune-ppce300c2.inc

/Anders


  powerpc-angstrom-linux-gcc -mcpu=e300c2 
../sysdeps/powerpc/fpu/fraiseexcpt.c -c -std=gnu99 -fgnu89-inline -O2 
-Wall -Winline -Wwrite-strings -fexpensive-optimizations 
-fmerge-all-constants -mnew-mnemonics -Wstrict-prototypes 
-mlong-double-128 -fomit-frame-pointer   -Wno-uninitialized 
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include 
-I/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math 
-I/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux 
-I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu 
-I../sysdeps/powerpc/powerpc32/fpu 
-I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32 
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32 
-I../ports/sysdeps/unix/sysv/linux/powerpc 
-I../nptl/sysdeps/unix/sysv/linux/powerpc 
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm 
-I../sysdeps/ieee754/ldbl-opt -I../ports/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread 
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv 
-I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../ports/sysdeps/unix 
-I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 
-I../sysdeps/powerpc/fpu -I../ports/sysdeps/powerpc 
-I../nptl/sysdeps/powerpc -I../sysdeps/powerpc 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic 
-I../ports -I../nptl  -I.. -I../libio -I. -nostdinc -isystem 
/home/anders/oe1/build/tmp-angstrom/sysroots/x86_64-linux/usr/ppce300c2/lib/gcc/powerpc-angstrom-linux/4.3.3/include 
-isystem 
/home/anders/oe1/build/tmp-angstrom/sysroots/x86_64-linux/usr/ppce300c2/lib/gcc/powerpc-angstrom-linux/4.3.3/include-fixed 
-isystem 
/home/anders/oe1/build/tmp-angstrom/sysroots/ppce300c2-angstrom-linux/usr/include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1 
-DIS_IN_libm=1    -o 
/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fraiseexcpt.o 
-MD -MP -MF 
/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fraiseexcpt.o.dt 
-MT 
/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fraiseexcpt.o
| ../sysdeps/powerpc/fpu/fclrexcpt.c: In function '__feclearexcept':
| ../sysdeps/powerpc/fpu/fclrexcpt.c:29: error: impossible constraint in 
'asm'
| ../sysdeps/powerpc/fpu/fclrexcpt.c:36: error: impossible constraint in 
'asm'
| make[2]: *** 
[/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fclrexcpt.o] 
Error 1
| make[2]: *** Waiting for unfinished jobs....
| ../sysdeps/powerpc/fpu/fgetexcptflg.c: In function '__fegetexceptflag':
| ../sysdeps/powerpc/fpu/fgetexcptflg.c:29: error: impossible constraint 
in 'asm'
| make[2]: *** 
[/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fgetexcptflg.o] 
Error 1
| ../sysdeps/powerpc/fpu/fraiseexcpt.c: In function '__feraiseexcept':
| ../sysdeps/powerpc/fpu/fraiseexcpt.c:35: error: impossible constraint 
in 'asm'
| ../sysdeps/powerpc/fpu/fraiseexcpt.c:46: error: impossible constraint 
in 'asm'
| ../sysdeps/powerpc/fpu/fraiseexcpt.c:53: error: impossible constraint 
in 'asm'
| make[2]: *** 
[/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/build-powerpc-angstrom-linux/math/fraiseexcpt.o] 
Error 1
| make[2]: Leaving directory 
`/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/glibc-2.9/math'
| make[1]: *** [math/others] Error 2
| make[1]: Leaving directory 
`/home/anders/oe1/build/tmp-angstrom/work/ppce300c2-angstrom-linux/glibc-2.9-r37.4/glibc-2.9'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package glibc-2.9-r37.4: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/anders/oe1/openembedded/recipes/glibc/glibc_2.9.bb 
<http://glibc_2.9.bb> do_compile failed
ERROR: Task 129 
(/home/anders/oe1/openembedded/recipes/glibc/glibc_2.9.bb 
<http://glibc_2.9.bb>, do_compile) failed with 256
ERROR: '/home/anders/oe1/openembedded/recipes/glibc/glibc_2.9.bb 
<http://glibc_2.9.bb>' failed
ERROR: '/home/anders/oe1/openembedded/recipes/glibc/glibc_2.9.bb 
<http://glibc_2.9.bb>' failed



On 01/24/2011 04:40 PM, Anders Törnqvist wrote:
> Ok I'll check out a fresh oe/master from git and start build soon.
>
> /Anders
>
> Den 24 januari 2011 16:34 skrev Khem Raj <raj.khem at gmail.com 
> <mailto:raj.khem at gmail.com>>:
>
>     2011/1/24 Anders Törnqvist <a.tqvist at gmail.com
>     <mailto:a.tqvist at gmail.com>>:
>     > The build seems to continue if the following line is added to
>     > conf/machine/include/tune-ppce300c2.inc:
>     > TARGET_FPU   ?=  "soft"
>     >
>     > I have not had any possibility to verify the produced result in
>     another way
>     > than just checked that the build succeeds.
>     >
>
>     It should work. however care to post the exact failure when compiling
>     glibc/eglibc
>     can you try the same combination with oe/master and see if it works
>     there or not ?
>
>     > /Anders
>     >
>     >
>     > 2011/1/24 Wolfgang Denk <wd at denx.de <mailto:wd at denx.de>>
>     >>
>     >> Dear Anders,
>     >>
>     >> In message <4D3C9F16.8010406 at gmail.com
>     <mailto:4D3C9F16.8010406 at gmail.com>> you wrote:
>     >> >
>     >> > mpc8313e-rdb is e300c3 and builds
>     >> > mpc8323e-rdb is e300c2 and do NOT build
>     >>
>     >> mpc8313e has a e300c3 core which has a floating point unit (FPU).
>     >>
>     >> mpc8323e has a e300c2 core which does NOT contain a floating point
>     >> unit (FPU).
>     >>
>     >> Not sure if that makes any difference here.
>     >>
>     >>
>     >> [For optimum performance you want to build all code for e300c2
>     based
>     >> systems with -msoft-float.]
>     >>
>     >> Best regards,
>     >>
>     >> Wolfgang Denk
>     >>
>     >> --
>     >> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev
>     Zundel
>     >> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell,
>     Germany
>     >> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
>     wd at denx.de <mailto:wd at denx.de>
>     >> An Ada exception is when a routine gets in trouble and says
>     >> 'Beam me up, Scotty'.
>     >
>     >
>     > _______________________________________________
>     > Openembedded-users mailing list
>     > Openembedded-users at linuxtogo.org
>     <mailto:Openembedded-users at linuxtogo.org>
>     >
>     http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>     >
>     >
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20110124/0d4846d0/attachment-0002.html>


More information about the Openembedded-users mailing list