Subject: Re: How to build your own toolchain (on ICS, for non-SSE3 CPUs) Hi Sefans, i can see following error log root@raj-desktop:~/android# ./prebuilt/linux-x86/toolchain/i686- android-linux-4.4.3/build-toolchain.sh Download toolchain patches to: /tmp/i686-android-linux-4.4.3-20120221/ toolchain-sources Using git clone prefix: https://android.googlesource.com/toolchain downloading sources for toolchain/binutils Using sources for date '2011-02-23': toolchain/binutils revision a4316ba2b7698435a68e9826cabd87ae43dad182 downloading sources for toolchain/build Using sources for date '2011-02-23': toolchain/build revision 2037ad5fa2969e0e77142548feb8cf54dc7b0a04 downloading sources for toolchain/gcc Using sources for date '2011-02-23': toolchain/gcc revision 80934e7f7db429984fb56756a4cc893ba412b7b5 downloading sources for toolchain/gdb Using sources for date '2011-02-23': toolchain/gdb revision 3954a66c7a6939e2c7bed362ec4df06b9f921bcf downloading sources for toolchain/gmp Using sources for date '2011-02-23': toolchain/gmp revision 9fb242a79dd122d7fbf867daf5620dba6927bd2e downloading sources for toolchain/gold Using sources for date '2011-02-23': toolchain/gold revision 8d401cf711539af5a2f78d12447341d774892618 downloading sources for toolchain/mpfr Using sources for date '2011-02-23': toolchain/mpfr revision da6dfde986af1b56f0f41e9f5de61d093fa8af90 Patching toolchain sources Toolchain sources downloaded and copied to /tmp/i686-android- linux-4.4.3-20120221/toolchain-sources Cleaning up... Done. Copy development/ndk to: /tmp/i686-android-linux-4.4.3-20120221/devel Generate platform files into: /tmp/i686-android-linux-4.4.3-20120221/ ndk-install WARNING: --abi=<names> is deprecated. Use --arch=<names> instead! Copying android-14 platform files Copying android-3 platform files Copying android-4 platform files Copying android-5 platform files Copying android-8 platform files Copying android-9 platform files Copying system files into: /tmp/i686-android-linux-4.4.3-20120221/ndk- install/sysroot Building i686-android-linux-4.4.3 now (this can be long). ### ndk/build/tools/build-gcc.sh --sysroot=/tmp/i686-android- linux-4.4.3-20120221/ndk-install/sysroot --build-out=/tmp/i686-android- linux-4.4.3-20120221/toolchain-build --mpfr-version=2.4.1 --gdb- version=6.6 --binutils-version=2.20.1 /tmp/i686-android- linux-4.4.3-20120221/toolchain-sources /tmp/i686-android- linux-4.4.3-20120221/ndk-install x86-4.4.3 To follow build in another terminal, please use: tail -F /tmp/i686- android-linux-4.4.3-20120221/toolchain-build/config.log Using C compiler: /root/android/ndk/../prebuilt/linux-x86/toolchain/ i686-linux-glibc2.7-4.4.3/bin/i686-linux-gcc Using C++ compiler: /root/android/ndk/../prebuilt/linux-x86/toolchain/ i686-linux-glibc2.7-4.4.3/bin/i686-linux-g++ Sysroot : Copying: /tmp/i686-android-linux-4.4.3-20120221/ndk-install/ sysroot --> /tmp/i686-android-linux-4.4.3-20120221/ndk-install/ toolchains/x86-4.4.3/prebuilt/linux-x86/sysroot Forcing -nostartfiles: -nostartfiles /tmp/i686-android- linux-4.4.3-20120221/ndk-install/toolchains/x86-4.4.3/prebuilt/linux- x86/sysroot/usr/lib/crtbegin_dynamic.o /tmp/i686-android- linux-4.4.3-20120221/ndk-install/toolchains/x86-4.4.3/prebuilt/linux- x86/sysroot/usr/lib/crtend_android.o Configure: x86-4.4.3 toolchain build Building : x86-4.4.3 toolchain [this can take a long time]. Error while building toolchain. See /tmp/i686-android- linux-4.4.3-20120221/toolchain-build/config.log PANIC: Could not build compiler! root@praj-desktop:~/android# are we missing any step here. Raj On Feb 17, 3:09 pm, StefanS <andr...@xxxxxxxxxxxxxxxxx> wrote: > Yes, that looks good. Even on my 32MBit internet connection it took a > good while to download all the resources, but in total including > download and build it didn't take more than 10 minutes to build. > > Stefan > > > > > > > > On Fri, Feb 17, 2012 at 08:32,veer<rajkumar.v...@xxxxxxxxx> wrote: > > Hi Stefan, > > sorry, still i can see following on console > > root@raj-desktop:~/android# ls > > abi bionic build development external hardware > > libcore ndk packages prebuilt.patch system > > apply.sh bootable dalvik device frameworks kernel > > Makefile ndk.patch prebuilt sdk > > root@prabhu-desktop:~/android# ./apply.sh > > Download toolchain patches to: /tmp/i686-android-linux-4.4.3-20120217/ > > toolchain-sources > > Using git clone prefix:https://android.googlesource.com/toolchain > > downloading sources for toolchain/binutils > > > Regards > > Raj > > > On Feb 17, 11:22 am, StefanS <andr...@xxxxxxxxxxxxxxxxx> wrote: > >> Hi raj, > > >> you didn't apply the patch. > >> You can now also check my github repository where I have committed a > >> shell script and the patches which build the toolchain. > >> Seehttps://github.com/seidler2547/android-x86-ibm-thinkpad-x41t/tree/x86... > > >> Stefan > > >> On Fri, Feb 17, 2012 at 07:08,veer<rajkumar.v...@xxxxxxxxx> wrote: > >> > Hi Stefan, > > >> > I tried as per your previous comment but i am facing following error. > >> > root@raj:~/android# > >> > prebuilt/linux-x86/toolchain/i686-android-linux-4.4.3/build- > >> > toolchain.sh > >> > Download toolchain patches to: > >> > /tmp/i686-android-linux-4.4.3-20120217/toolchain-sources > >> > Using git > >> > clone prefix: git://android.git.kernel.org/toolchain > >> > downloading > >> > sources for toolchain/binutils > >> > cloning > >> > git://android.git.kernel.org/toolchain/binutils.git > >> > <===================== > >> > cd: 170: can't cd to binutils > >> > fatal: > >> > Not a git repository (or any of the parent directories): .git > >> > Using > >> > sources for date '2011-02-23': toolchain/binutils revision > >> > ERROR: > >> > Could not checkout binutils ? > >> > PANIC: Could not download toolchain > >> > sources! > > >> > Regrads > >> > Raj > > >> > On Feb 15, 1:58 pm, StefanS <andr...@xxxxxxxxxxxxxxxxx> wrote: > >> >> Hi Raj, > > >> >> once you have built the toolchain, the script will delete itself. To > >> >> do it again, run > >> >> cd prebuilt > >> >> git checkout > >> >> linux-x86/toolchain/i686-android-linux-4.4.3/build-toolchain.sh > > >> >> Stefan > > >> >> On Wed, Feb 15, 2012 at 09:53,veer<rajkumar.v...@xxxxxxxxx> wrote: > >> >> > Hi Stefans, > > >> >> > As per above ,while i am tring to run "prebuilt/linux-x86/toolchain/ > >> >> > i686-android-linux-4.4.3/build-toolchain.sh",it's not showing any > >> >> > thing for > >> >> > me.please let me know your suggestion to make it work for me. > > >> >> > Regards > >> >> > Raj > > >> >> > -- > >> >> > You received this message because you are subscribed to the Google > >> >> > Groups > >> >> > "Android-x86" group. > >> >> > To view this discussion on the web visit > >> >> >https://groups.google.com/d/msg/android-x86/-/n9L0tz6BqX0J. > > >> >> > To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx > >> >> > To unsubscribe from this group, send email to > >> >> > android-x86+unsubscribe@xxxxxxxxxxxxxxxxx > >> >> > For more options, visit this group at > >> >> >http://groups.google.com/group/android-x86?hl=en. > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "Android-x86" group. > >> > To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx > >> > To unsubscribe from this group, send email to > >> > android-x86+unsubscribe@xxxxxxxxxxxxxxxxx > >> > For more options, visit this group > >> > athttp://groups.google.com/group/android-x86?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Android-x86" group. > > To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx > > To unsubscribe from this group, send email to > > android-x86+unsubscribe@xxxxxxxxxxxxxxxxx > > For more options, visit this group > > athttp://groups.google.com/group/android-x86?hl=en. -- You received this message because you are subscribed to the Google Groups "Android-x86" group. To post to this group, send email to android-x86@xxxxxxxxxxxxxxxxx To unsubscribe from this group, send email to android-x86+unsubscribe@xxxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/android-x86?hl=en. |