[OE-core] libiconv_1.14.bb do_install failure

Khem Raj raj.khem at gmail.com
Sun Jan 8 10:29:02 UTC 2012


On Fri, Jan 6, 2012 at 3:14 PM, James Baker <muriani at gmail.com> wrote:
> Greetings folks,
>
> I'm trying to build an OE system and the process stops at the do_install
> phase of building libiconv_1.14
>
> Build system is Ubuntu 10.04 x86_64, plenty of HDD and ram to spare.
> Possibly pertinent log:
> | arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc
> -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp
> -mfpu=neon -mtune=cortex-a8
> --sysroot=/home/james/stuff/beagle/tmp-eglibc/sysroots/beagleboard -Wl,-O1
> -Wl,--hash-style=gnu -Wl,--as-needed -O2 -pipe -g
> -feliminate-unused-debug-types -Wl,-rpath -Wl,\$ORIGIN/../lib iconv.o -o
> iconv  ../srclib/libicrt.a
> /home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/image/usr/lib/libiconv.so
> -Wl,-rpath
> -Wl,/home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/image/usr/lib
> | iconv.o: In function `main':
> |
> /home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/libiconv-1.14/src/./iconv.c:861:
> undefined reference to `relocate'
> | ../srclib/libicrt.a(progreloc.o): In function `prepare_relocate':
> |
> /home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/libiconv-1.14/srclib/progreloc.c:297:
> undefined reference to `compute_curr_prefix'
> |
> /home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/libiconv-1.14/srclib/progreloc.c:302:
> undefined reference to `set_relocation_prefix'
> | collect2: ld returned 1 exit status
> | make[1]: *** [install] Error 1
> | make[1]: Leaving directory
> `/home/james/stuff/beagle/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/libiconv-1.14-r0/libiconv-1.14/src'
>
>
> This problem is present regardless of the target I've chosen, and has been
> tried with qemuarm (armv5) and beagleboard targets, as well as a netbookpro
> target I'm trying to build (gotta get some use out of the darned thing)
>
> According to git, my local repository is up to date. Any ideas?

yes. sadly the upgrade to 1.14 broke it. Please try the patch posted here

http://patchwork.openembedded.org/patch/18767/

Please test it and report if it works for you.

-Khem




More information about the Openembedded-core mailing list