Is glibc 2.8 required for building from source?

19 views
Skip to first unread message

David Santinoli

unread,
Feb 11, 2010, 6:38:27 PM2/11/10
to 0xlab...@googlegroups.com

Hi,
trying to build 0xdroid from source on an Ubuntu 8.04, I stumbled upon
this error:

[...]
Install: out/host/linux-x86/framework/traceview.jar
Target buildinfo: out/target/product/beagleboard/root/default.prop
prebuilt/linux-x86/toolchain/arm-android-eabi-4.4.1/bin/arm-android-eabi-gcc -mthumb-interwork -o out/target/product/beagleboard/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
/_var/src/beagle-donut/prebuilt/linux-x86/toolchain/arm-android-eabi-4.4.1/bin/../libexec/gcc/arm-android-eabi/4.4.1/cc1: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.8' not found (required by /_var/src/beagle-donut/prebuilt/linux-x86/toolchain/arm-android-eabi-4.4.1/bin/../libexec/gcc/arm-android-eabi/4.4.1/cc1)
make: *** [out/target/product/beagleboard/obj/lib/crtbegin_static.o] Error 1

So, it looks like the toolchain bundled with the sources requires glibc
2.8.
Is a toolchain suitable for glibc 2.7 available somewhere?

Thanks,
David

Jim Huang

unread,
Feb 12, 2010, 4:43:21 AM2/12/10
to 0xlab...@googlegroups.com
2010/2/12 David Santinoli <da...@santinoli.com>:

>  trying to build 0xdroid from source on an Ubuntu 8.04, I stumbled upon
> this error:
> /_var/src/beagle-donut/prebuilt/linux-x86/toolchain/arm-android-eabi-4.4.1/bin/../libexec/gcc/arm-android-eabi/4.4.1/cc1: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.8' not found (required by /_var/src/beagle-donut/prebuilt/linux-x86/toolchain/arm-android-eabi-4.4.1/bin/../libexec/gcc/arm-android-eabi/4.4.1/cc1)
[...]

hi David,

Yes, I am sorry that the prebuilt toolchain only works on GNU/Linux
with glibc versioning >= 2.8 . However, you can rebuild the Android
toolchain from scratch:
http://gitorious.org/0xdroid/android-toolchain

It is expected to support glibc < 2.8 in our next Eclair build. You
could alternatively use prebuilt toolchain provided by Google Android
team.

Sincerely,
-jserv

David Santinoli

unread,
Feb 12, 2010, 5:26:25 AM2/12/10
to 0xlab...@googlegroups.com

Jim Huang wrote:
>
> Yes, I am sorry that the prebuilt toolchain only works on GNU/Linux
> with glibc versioning >= 2.8 . �However, you can rebuild the Android
> toolchain from scratch:
> � �http://gitorious.org/0xdroid/android-toolchain
>
> It is expected to support glibc < 2.8 in our next Eclair build. �You
> could alternatively use prebuilt toolchain provided by Google Android
> team.

Hi Jim,
thanks for the prompt reply.
I downloaded the code from the git repo you pointed me to, and now I
need to include the tarballs for the tools. Where can I find a list of
the required tarfiles? Is there a document detailing the whole
procedure? (Please consider I am quite new to all this Android stuff.)

Thanks,
David

David Santinoli

unread,
Feb 12, 2010, 3:48:02 PM2/12/10
to 0xlab...@googlegroups.com
On Fri, Feb 12, 2010 at 11:26:25AM +0100, David Santinoli wrote:
> I downloaded the code from the git repo you pointed me to, and now I
> need to include the tarballs for the tools. Where can I find a list
> of the required tarfiles? Is there a document detailing the whole
> procedure?

Never mind, I managed to find out what was needed and to build the
toolchain. (It was not that difficult, after all.)
I was then able to compile 0xdroid, flash it on a SD (plain uncompressed
FS, no ubi blob) and run it on the Beagle. Quite cool!

My next goal would be to add kernel support for the USB -> Ethernet
converter supplied with my EBV Beagle clone.

BTW I can make my glibc-2.7 toolchain available on the web, if this
might be of use to someone.

Thanks,
David

Reply all
Reply to author
Forward
0 new messages