[oe] Still not solved: glibc-dbg and insane.bbclass

Martin Dietze di at fh-wedel.de
Sun Jun 7 19:18:25 UTC 2009


On Sun, June 07, 2009, Koen Kooi wrote:

> What's exactly breaking? It's perfectly legal (and needed for depchains!) 
> for -dbg package to be empty.

This is the QA error I am getting:

| % cat log.qa_package
| wrong architecture, glibc-dbg, /work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/ld-2.3.3.so
| wrong architecture, glibc-dbg, /work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/libc-2.3.3.so

And this is what the files look like:

| % file  /var/src/OE/tmp/work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/ld-2.3.3.so
| /var/src/OE/tmp/work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/ld-2.3.3.so: ELF 32-bit LSB no file type, no machine, invalid version (SYSV)
| % file  /var/src/OE/tmp/work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/libc-2.3.3.so
| /var/src/OE/tmp/work/mipsel-nylon-linux/glibc-2.3.3-r17/install/glibc-dbg/lib/.debug/libc-2.3.3.so: ELF 32-bit LSB no file type, no machine, invalid version (SYSV)

The files are practicall empty (here libc-2.3.3.so): 

7f 45 4c 46  01 01 01 00  00 00 00 00  00 00 00 00  .ELF............
00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  ................
00 00 00 00  01 00 00 00  03 00 00 00  00 00 00 00  ................
00 00 00 00  00 00 00 00  0b 00 00 00  00 00 00 00  ................
00 00 00 00  01 00 00 00  00 00 00 00               ............

For whatever reason the build creates those files in .debug
even though the build is performed without debug code.

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
"This has been the most frustrating week in my life for a very long time."
 -- Australian soccer legend Paul Wade at Australia vs. Brazil in 1999 --




More information about the Openembedded-devel mailing list