[oe-users] PowerPC build failing in glibc-intermediate

Benjamin Heyne benjamin.heyne at uni-dortmund.de
Tue Oct 23 08:47:18 UTC 2007


Hi all,
I am new to OpenEmbedded, and just trying to build the first system with it - I have used buildroot previously.

I need to build a PowerPC 405 RFS, so I have used dht-walnut as machine and oplinux as distro without any changes.
Unfortunately the build of "bootstrap-image" always fails at glibc-intermediate (I have tried several versions after first
failure - always the same result, also tried angstrom-2007.1 distro without success...):

| make[2]: Entering directory `/home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/glibc-2.5/math'
| powerpc-oplinux-linux-gcc -mcpu=405 ../sysdeps/powerpc/powerpc32/fpu/s_isnan.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fexpensive-optimizations -fmerge-all-constants -
frename-registers -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/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux/math -I/home/heyne/Projekte/Software/Linux/OERoot/tmp/
work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerpc/
powerpc32/fpu -I../sysdeps/powerpc/powerpc32/fpu -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/
linux/powerpc/powerpc32 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../ports/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm 
I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../
sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/
powerpc -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu -I../
nptl/sysdeps/powerpc -I../ports/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../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /home/heyne/Projekte/Software/Linux/OERoot/tmp/cross/lib/gcc/powerpc-oplinux-linux/4.1.1/include -
isystem /home/heyne/Projekte/Software/Linux/OERoot/tmp/staging/powerpc-oplinux-linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /home/heyne/Projekte/
Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux/math/s_isnan.o -MD -MP -MF /home/heyne/Projekte/Software/Linux/OERoot/tmp/
work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux/math/s_isnan.o.dt -MT /home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux/math/s_isnan.o
| In file included from ../sysdeps/powerpc/powerpc32/fpu/s_isnan.c:1:
| ../sysdeps/powerpc/fpu/s_isnan.c:59: warning: conflicting types for built-in function 'isnanf'
| ../sysdeps/powerpc/fpu/s_isnan.c: In function '__isnan':
| ../sysdeps/powerpc/fpu/s_isnan.c:45: error: impossible constraint in 'asm'
| ../sysdeps/powerpc/fpu/s_isnan.c:48: error: impossible constraint in 'asm'
| make[2]: *** [/home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/build-powerpc-oplinux-linux/math/s_isnan.o] Error 1
| make[2]: Leaving directory `/home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/glibc-2.5/math'
| make[1]: *** [math/subdir_lib] Error 2
| make[1]: Leaving directory `/home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/glibc-2.5'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/heyne/Projekte/Software/Linux/OERoot/tmp/work/ppc405-oplinux-linux/glibc-intermediate-2.5-r7/temp/log.do_compile.13880
NOTE: package glibc-intermediate-2.5-r7: task do_compile: failed

In the archives I've seen that someone else had the same problem (Thread "State of PowerPC" in September) - But there was no solution given.
I also couldn't find this bug in Bugzilla. As I am just starting with OpenEmbedded, I probably don't know
enought of the internals of it to find the problem myself in reasonable time - So any hint would be appreciated...Is it a bug of OE or of the user? ;-)
Is there any option I could change to make it work?

Best regards
-- 
Benjamin Heyne




More information about the Openembedded-users mailing list