[oe] gettext native failure

Khem Raj raj.khem at gmail.com
Tue Feb 23 18:36:13 UTC 2010


On Tue, Feb 23, 2010 at 8:27 AM, Cliff Brake <cliff.brake at gmail.com> wrote:
> make[4]: Entering directory
> `/scratch/oe/oe-from-scratch/tmp/work/x86_64-linux/gettext-native-0.17-r5/gettext-0.17/gettext-tools/src'
> ∘ /bin/sh ../x86_64-linux-libtool --tag=CC   --mode=link gcc
> -std=gnu99  -isystem/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/include
> -O2 -g  -L/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> -Wl,-rpath-link,/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> -Wl,-rpath,/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> -Wl,-O1 -o msgcmp msgcmp-msgcmp.o libgettextsrc.la
> ∘ x86_64-linux-libtool: link: gcc -std=gnu99
> -isystem/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/include
> -O2 -g -Wl,-rpath-link
> -Wl,/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> -Wl,-rpath -Wl,/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> -Wl,-O1 -o .libs/msgcmp msgcmp-msgcmp.o
> -L/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> ./.libs/libgettextsrc.so
> /scratch/oe/oe-from-scratch/tmp/work/x86_64-linux/gettext-native-0.17-r5/gettext-0.17/gettext-tools/gnulib-lib/.libs/libgettextlib.so
> /usr/lib/libcroco-0.6.so /usr/lib/libglib-2.0.so -lncurses -lc
> -Wl,-rpath -Wl,/scratch/oe/oe-from-scratch/tmp/staging/x86_64-linux/usr/lib
> ∘ /usr/lib64/libxml2.so.2: undefined reference to `gzopen64'
> ∘ collect2: ld returned 1 exit status
>
> http://bugs.openembedded.org/show_bug.cgi?id=2679
>
> http://bugs.openembedded.org/show_bug.cgi?id=5139
>
> Looks like a classic case of using the staging libz, but libxml2 from
> the host.  It appears that libxml2 cannot be built in OE until gettext
> is built.  Any thoughts on this one?


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

and then more detailed explanation is here
http://article.gmane.org/gmane.comp.handhelds.openembedded/22700/match=libxml2

IIRC when I tested it. It was not happening with gcc 4.4.x
Which version of gcc do you have on your build box.

>
> Thanks,
> Cliff
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list