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