From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: Still not solved: glibc-dbg and insane.bbclass
Date: Mon, 08 Jun 2009 07:35:07 +0200 [thread overview]
Message-ID: <h0i7ub$lu6$1@ger.gmane.org> (raw)
In-Reply-To: <20090607191824.GB28536@fh-wedel.de>
On 07-06-09 21:18, Martin Dietze wrote:
> 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.
Ahh, it creates empty .debug/foo.so files. In that case do:
# The files are empty except for the elf header
INSANE_SKIP_glibc-dbg = True
In the offending glibc recipe
regards,
Koen
next prev parent reply other threads:[~2009-06-08 5:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-07 17:55 Still not solved: glibc-dbg and insane.bbclass Martin Dietze
2009-06-07 18:21 ` Koen Kooi
2009-06-07 19:18 ` Martin Dietze
2009-06-08 5:35 ` Koen Kooi [this message]
2009-06-08 9:58 ` Martin Dietze
2009-06-07 23:28 ` Rolf Leggewie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='h0i7ub$lu6$1@ger.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox