Error during building- GLIBC 2.11 not found

604 views
Skip to first unread message

Sush

unread,
May 5, 2011, 2:02:33 AM5/5/11
to Android Building
I have mentioned the result of each cmd execution:-

$ source build/envsetup.sh

including device/htc/passion/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh


$. build/envsetup.sh

including device/htc/passion/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh


$ lunch full-eng

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================


$make -j4

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=AOSP
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================


AT THE END OF MAKE THIS IS THE RESULT:-

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-
interwork -Ibionic/libc/private -Ibionic/libc/private -o out/target/
product/generic/obj/lib/crtbegin_dynamic.o -c bionic/libc/arch-arm/
bionic/crtbegin_dynamic.S
target thumb C: dalvikvm <= dalvik/dalvikvm/Main.c
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
make: *** [out/target/product/generic/obj/lib/crtbegin_dynamic.o]
Error 1
make: *** Waiting for unfinished jobs....
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: /lib32/
libc.so.6: version `GLIBC_2.11' not found (required by prebuilt/linux-
x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc)
make: *** [out/target/product/generic/obj/EXECUTABLES/
dalvikvm_intermediates/Main.o] Error 1

How do i resolve the error ??

Jean-Baptiste Queru

unread,
May 5, 2011, 10:35:30 AM5/5/11
to android-...@googlegroups.com
I believe that we've reached the point where a 64-bit Ubuntu 10.04 is
a hard requirement, where neither older nor newer versions can be used
to build Android.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Sush

unread,
May 6, 2011, 2:17:16 AM5/6/11
to Android Building
No I don't use Ubuntu 10.10..

I use 64bit Ubuntu 9.10...

Can this be resolved now ??


Regards
Sush :)

Jean-Baptiste Queru

unread,
May 6, 2011, 10:22:50 AM5/6/11
to android-...@googlegroups.com
I think you'll need to upgrade to 10.04 (but not any further).

JBQ

AppCoder

unread,
May 6, 2011, 5:00:17 PM5/6/11
to Android Building
Can you see any disconnect between:

Upgrade but not all the way, grab an old version of Ubuntu.

and

anything out of date (the old porting guide, any older versions
of the sdk or ndk) is pulled from google sites and folks are told
to "do your upgrade and/or use the new stuff only"?

Just for a second, imagine the pain you would have if all the
10.04 ubuntu install sources and upgrade repositories started
to return "data not found, upgrade to 11.0" and maybe consider
the pain caused to developers for android stuff when old (and
functional) tools and data are removed.

My particular pain is having to fight changes going from the
ndk r4 (where the make files and ant stuff works, but we can't
get the r4 ndk to install on machines for new developers) so
they can transition to the r5 ndk and attempt to make changes.

Yes, I know this isn't the right group for ndk questions, but
this is more a plea for google consider a different approach
to keeping older versions of things around to not punish
developers that can't quite keep up with their rapid development
pace.

Jean-Baptiste Queru

unread,
May 6, 2011, 5:39:22 PM5/6/11
to android-...@googlegroups.com
We've actually tried to cross-compile a x86-Hardy-compatible
ARM-cross-compiler on an x86-64-Lucid host, but that turned out to not
work for reasons that we don't understand.

If you can figure out how to make that happen, I'll gladly pass the
information to our toolchain team. This might end up being useful next
year once Lucid isn't the latest LTS, i.e. might help avoid a similar
situation in early 2013.

Thanks,
JBQ

Reply all
Reply to author
Forward
0 new messages