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] |
--- Steve Papacharalambous <stevep@freescale.com> wrote: > Hi, > > I'm trying to build an arm-linux-gnueabi toolchain using: > > binutils-2.16.1 > gcc-4.1.0 > linux-2.6.16.1 kernel headers > glibc-2.4 > glibc-ports-2.4 > > I applied the patches posted by Khem Raj to crosstool-0.42: > http://sourceware.org/ml/crossgcc/2006-03/msg00090.html > > The configure for build-glibc-startfiles fails with: "configure: error: > compiler support for __thread is required" > > If I try to compile a simple test program: "extern __thread int i;" with > the gcc-core compiler it gives the error: "test-__thread.c:1: error: > thread-local storage not supported for this target" > > The configuration for the gcc-core compiler is: > > [snip] > arm-linux-gnueabi-gcc -v > Using built-in specs. > Target: arm-linux-gnueabi > Configured with: ../gcc-4.1.0/configure --target=arm-linux-gnueabi > --host=i686-host_pc-linux > --prefix=/home/stevep/work/tools/tcf/glibc-2.4-work/gcc-core-prefix > --with-local-prefix=/opt/crosstool/gcc-4.1.0-glibc-2.4/arm-linux-gnueabi/arm-linux-gnueabi > > --disable-multilib --with-newlib --disable-libunwind-exceptions > --without-headers --disable-nls --enable-threads=posix > --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c > --disable-shared --with-tls --with-__thread > Thread model: posix > gcc version 4.1.0 > [/snip] > > I tried different configuration combinations for gcc, but it doesn't > seem to make any differnce as I get the same error every time I try to > compile the test program. :-( > > Is thread local storage supported for arm eabi targets in gcc-4.1.0, or > have I configured the core compiler incorrectly? Or is there a patch > needed to gcc? > I've been pulled away by other priorities but have a look at my earlier posts to crossgcc. I'll get back to looking at this as soon as I can. Maybe we'll get further than I have alone. Steve ___________________________________________________________ Yahoo! Photos ? NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com -- 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] |