From: John Toomey <john.toomey@linux.intel.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: uclibc elfutils
Date: Tue, 28 Feb 2012 13:38:52 +0000 [thread overview]
Message-ID: <4F4CD8EC.3080308@linux.intel.com> (raw)
In-Reply-To: <CAMKF1sqp-4PkEXTdbNRxEXxFhtPAi9LAn4ibhyHhjqBk6WESAQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2857 bytes --]
On 27/02/2012 17:07, Khem Raj wrote:
> On Mon, Feb 27, 2012 at 8:35 AM, John Toomey
> <john.toomey@linux.intel.com> wrote:
>> Hello all,
>>
>> I'm having some difficulty building elfutils (required by gdb) and I think
>> its relating to the fact that im using uclibc.
> Yes elfutils has some glibc kinship unfortunately which is hard to untangle.
> However gdb does not need elfutils in fact. please cherry-pick
> following commit from oe-core master
>
> commit 8330205eeb605354c139605618255940e3b312d4
> Author: Khem Raj<raj.khem@gmail.com>
> Date: Fri Jan 20 17:07:42 2012 -0800
>
> gdb-common: Drop elfutils from DEPENDS
>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
>
>
>> NOTE: package elfutils-0.148-r5: task do_compile: Started
>> ERROR: Function failed: do_compile (see
>> /tmp/work/i586-poky-linux-uclibc/elfutils-0.148-r5/temp/log.do_compile.14653
>> for further information)
>> ERROR: Logfile of failure stored in:
>> /tmp/work/i586-poky-linux-uclibc/elfutils-0.148-r5/temp/log.do_compile.14653
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
>> 'common-linux', 'common-uclibc', 'i586-linux-uclibc', 'common']
>> | NOTE: make -j 24 -C libelf
>> | make: Entering directory
>> `/tmp/work/i586-poky-linux-uclibc/elfutils-0.148-r5/elfutils-0.148/libelf'
>> ...
>> | elf_error.c:56:21: fatal error: libintl.h: No such file or directory
>> | compilation terminated.
>> | make: *** [elf_error.o] Error 1
>> | make: *** Waiting for unfinished jobs....
>> | make: Leaving directory
>> `/tmp/work/i586-poky-linux-uclibc/elfutils-0.148-r5/elfutils-0.148/libelf'
>> | ERROR: oe_runmake failed
>> NOTE: package elfutils-0.148-r5: task do_compile: Failed
>> ERROR: Task 218
>> ([path]/poky/meta/recipes-devtools/elfutils/elfutils_0.148.bb, do_compile)
>> failed with exit code '1'
>>
>> The build works if I switch to eglibc. Can anyone help me figure out what
>> might cause this?
>>
>> Regards
>> John
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
Hi Raj
Thank you for your reply - this seems to have resolved my issue.
Can you let me know if there is a correct way to build gdbserver into my
target? I have tried a few things and none of them seem to work. THIS
<http://www.yoctoproject.org/docs/1.1/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdbserver>page
suggests that there should be a gdbserver package but it doesn seem to
exist when I try to include it. Including 'gdb' on its own doesnt seem
to put gdbserver on the target. Also - i have tried EXTRA_IMAGE_FEATURES
= "tools-debug" in local.conf but that breaks everything as it depends
on X11 which I am not using.
Regards,
John
[-- Attachment #2: Type: text/html, Size: 3784 bytes --]
prev parent reply other threads:[~2012-02-28 13:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 16:35 uclibc elfutils John Toomey
2012-02-27 17:07 ` Khem Raj
2012-02-28 13:38 ` John Toomey [this message]
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=4F4CD8EC.3080308@linux.intel.com \
--to=john.toomey@linux.intel.com \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.