This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I'm currently trying to build a "modern" ARM toolchain based on gcc-4.4.4 and uClibc + NPTL, using today's uClibc git version (0.9.31-339-g42fb51e). As a reference I used the script at http://uclibc.org/~kraj/toolchain-uclibc.sh After some trial & error I got it to build mostly (it broke when trying to build gdbserver), but the result is of course totally untested. I'm sending the changes I made so far in the spirit of "release early" as replies to this mail. These are the sources I used: -rw-r--r-- 1 js js 17501436 Jun 18 12:15 binutils-2.20.1.tar.bz2 -rw-r--r-- 1 js js 767694 Jun 18 12:22 cloog-ppl-0.15.9.tar.gz -rw-r--r-- 1 js js 666608 May 14 2007 dmalloc-5.5.2.tgz -rw-r--r-- 1 js js 63018867 Jun 16 16:22 gcc-4.4.4.tar.bz2 -rw-r--r-- 1 js js 17977195 Jun 18 12:16 gdb-7.1.tar.bz2 -rw-r--r-- 1 js js 1897483 Jun 18 12:17 gmp-4.3.2.tar.bz2 -rw-r--r-- 1 js js 148529 Nov 1 2009 libelf-0.8.13.tar.gz -rw-r--r-- 1 js js 64424183 Jul 5 20:26 linux-2.6.32.16.tar.bz2 -rw-r--r-- 1 js js 147198 Jun 25 11:18 ltrace-0.5.3.tar.gz -rw-r--r-- 1 js js 1077886 Jun 18 12:18 mpfr-2.4.2.tar.bz2 -rw-r--r-- 1 js js 2445052 Jun 25 11:18 ncurses-5.7.tar.gz -rw-r--r-- 1 js js 9820135 Apr 18 2009 ppl-0.10.2.tar.bz2 -rw-r--r-- 1 js js 14020 Jun 25 11:08 sstrip.c -rw-r--r-- 1 js js 499565 Oct 21 2009 strace-4.5.19.tar.bz2 -rw-r--r-- 1 js js 2700311 Jul 9 12:55 uClibc-0.9.31-339-g42fb51e.tar.bz2 I succeeded to build uClibc and the final gcc, but got these errors when building gdbserver: [ALL ] /home/js/temp/toolchain/i/arm-unknown-linux-uclibcgnueabi//sys-root/usr/lib/libdl.a(libdl.os): In function `_dl_load_elf_shared_library': [ALL ] libdl.c:(.text+0x24fc): undefined reference to `_dl_next_tls_modid' [ALL ] /home/js/temp/toolchain/i/arm-unknown-linux-uclibcgnueabi//sys-root/usr/lib/libdl.a(libdl.os): In function `dlopen': [ALL ] libdl.c:(.text+0x2f3c): undefined reference to `_dl_add_to_slotinfo' [ALL ] /home/js/temp/toolchain/i/arm-unknown-linux-uclibcgnueabi//sys-root/usr/lib/libdl.a(libdl.os): In function `_dl_do_reloc': [ALL ] libdl.c:(.text+0x3290): undefined reference to `_dl_allocate_static_tls' [ALL ] /home/js/temp/toolchain/i/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.4/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: gdbserver: hidden symbol `_dl_allocate_static_tls' isn't defined [ALL ] /home/js/temp/toolchain/i/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.4/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: final link failed: Nonrepresentable section on output [ALL ] collect2: ld returned 1 exit status I guess this is a uClibc issue, but the build process itself seemed to have worked. Johannes -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |