[oe-issues] [Bug 2432] New: Mesa fails on Efika

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Jun 7 18:57:12 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2432

           Summary: Mesa fails on Efika
           Product: Openembedded
           Version: Angstrom
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Distributions
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: skoroneos at digital-opsis.com
         QAContact: tinderbox-oe at gmx.net


OE Build Configuration:
BB_VERSION     = "1.8.3"
OE_REVISION    = "95bb7c56fa20da5b09bb4a569a012dff600c92ea"
TARGET_ARCH    = "powerpc"
TARGET_OS      = "linux"
MACHINE        = "efika"
DISTRO         = "angstrom"
DISTRO_VERSION = "test-20070607"
TARGET_FPU     = ""

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item
virtual/powerpc-angstrom-linux-libc-for-gcc)
NOTE: Preparing Runqueue
NOTE: Executing runqueue
NOTE: Running task 534 of 575 (ID: 8,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_fetch)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_fetch: started
NOTE: mesa-6.5.2-file://mklib-rpath-link.patch has no section, not checking URI
NOTE: package mesa-6.5.2-r0: task do_fetch: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 565 of 575 (ID: 2,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_unpack)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_unpack: started
NOTE: Unpacking /storage/sources/MesaLib-6.5.2.tar.bz2 to
/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/
NOTE: package mesa-6.5.2-r0: task do_unpack: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 566 of 575 (ID: 3,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_patch)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_patch: started
NOTE: Applying patch 'mklib-rpath-link.patch'
NOTE: package mesa-6.5.2-r0: task do_patch: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 567 of 575 (ID: 4,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb,
do_configure)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_configure: started
NOTE: package mesa-6.5.2-r0: task do_configure: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 568 of 575 (ID: 7,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb,
do_qa_configure)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_qa_configure: started
NOTE: Checking sanity of the config.log file
NOTE: package mesa-6.5.2-r0: task do_qa_configure: completed
NOTE: package mesa-6.5.2: completed
NOTE: Running task 569 of 575 (ID: 0,
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb, do_compile)
NOTE: package mesa-6.5.2: started
NOTE: package mesa-6.5.2-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/temp/log.do_compile.14478)
| NOTE: make -j15 -e MAKEFLAGS= default
| make: Warning: File `configs/current' has modification time 4.5e+02 s in the
future
| make[1]: Entering directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src'
| make[1]: Warning: File `../configs/default' has modification time 4.5e+02 s
in the future
| Making sources for linux
| mkdir ../lib
| make[2]: Entering directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa'
| make[2]: Warning: File `../../configs/default' has modification time 4.5e+02
s in the future
| make[3]: Entering directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa'
| make[3]: Warning: File `../../configs/default' has modification time 4.5e+02
s in the future
| make[4]: Entering directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa/x86'
| make[4]: Warning: File `../../../configs/default' has modification time
4.5e+02 s in the future
| gcc -I../../../include/GL -I../../../include -I.. -I../main -I../math
-I../glapi -I../tnl -Wall -Wmissing-prototypes
-isystem/storage/angstrom/tmp/libc/staging/powerpc-angstrom-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC 
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE
-D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN 
-I/storage/angstrom/tmp/libc/staging/powerpc-angstrom-linux/include/X11
-std=c99 -ffast-math  gen_matypes.c -o gen_matypes
| In file included from
/storage/angstrom/tmp/libc/staging/powerpc-angstrom-linux/include/endian.h:37,
|                  from
/storage/angstrom/tmp/libc/staging/powerpc-angstrom-linux/include/ctype.h:41,
|                  from ../main/glheader.h:57,
|                  from gen_matypes.c:35:
|
/storage/angstrom/tmp/libc/staging/powerpc-angstrom-linux/include/bits/endian.h:34:4:
warning: #warning Cannot determine current byte order, assuming big-endian.
| /tmp/ccJgnHyy.o: In function `main':
| gen_matypes.c:(.text+0xe0): undefined reference to `__nldbl_printf'
| gen_matypes.c:(.text+0x117): undefined reference to `__nldbl_printf'
| gen_matypes.c:(.text+0x132): undefined reference to `__nldbl_printf'
| gen_matypes.c:(.text+0x147): undefined reference to `__nldbl_printf'
| gen_matypes.c:(.text+0x15c): undefined reference to `__nldbl_printf'
| /tmp/ccJgnHyy.o:gen_matypes.c:(.text+0x171): more undefined references to
`__nldbl_printf' follow
| collect2: ld returned 1 exit status
| make[4]: *** [gen_matypes] Error 1
| make[4]: Leaving directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa/x86'
| make[3]: *** [subdirs] Error 2
| make[3]: Leaving directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa'
| make[2]: *** [default] Error 2
| make[2]: Leaving directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src/mesa'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory
`/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/Mesa-6.5.2/src'
| make: *** [default] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/storage/angstrom/tmp/libc/work/ppc603e-angstrom-linux/mesa-6.5.2-r0/temp/log.do_compile.14478
NOTE: package mesa-6.5.2-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package mesa-6.5.2: failed
ERROR: Build of
/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb do_compile
failed
ERROR: Task 0
(/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 568 tasks of which 563 didn't need to be rerun
and 1 failed.
ERROR: '/storage/angstrom/org.openembedded.dev/packages/mesa/mesa_6.5.2.bb'
failed


The problem is that it tries to build a binary (gen_matypes) used by the host
to generate an include file (matypes.h) using target's includes
Attached patch solves the problem 
Worked on i686 host with and without icecc. Not tested on 64 bit machine


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list