[poky] qemu-arm broke after Ubuntu 10.04 libc upgrade

Joe Sauer jsauer at vernier.com
Fri Oct 22 17:04:21 PDT 2010


I finally found the problem that was causing my build of glibc to fail.  I'm
sending this message for the benefit of posterity.

Here's the smoking gun:

jsauer at jazzman:/home/trunk.green/build$ sudo sysctl -n vm.mmap_min_addr
65536

Of course, that value should be 0!!!!!!

The Ubuntu 10.04 update of glibc/kernel last Friday must have set this value
back to the default.  Of course the error message I was getting gave NO CLUE
about the actual cause:

    qemu-arm: relocation error: qemu-arm: symbol unlink, version GLIBC_2.0
not defined in file libc.so.6 with link time reference

It only took a week to figure this out.  I'm going put the "sysctl -w
vm.mmap_min_addr=0" command in the build script so this can never happen
again!

--Joe


On Mon, Oct 18, 2010 at 4:40 PM, Joe Sauer <jsauer at vernier.com> wrote:

> A few days ago my Ubuntu 10.04 build machine pulled in this upgrade:
>
> Upgrade: linux-libc-dev (2.6.32-24.42, 2.6.32-25.44),
> linux-image-2.6.32-24-generic-pae (2.6.32-24.42, 2.6.32-24.43)
>
> and now I can't build binary locales -- I get these errors building glibc:
>
> qemu-arm: relocation error: qemu-arm: symbol fcntl,  version GLIBC_2.0 not
> defined in file libpthread.so.0 with link time reference
> qemu-arm: relocation error: qemu-arm: symbol unlink, version GLIBC_2.0 not
> defined in file libc.so.6 with link time reference
>
> Short of trying to back out that upgrade does anyone have an idea of a fix?
>
> --Joe Sauer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20101022/b554fa11/attachment.html>


More information about the poky mailing list