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]

Problem with cross tool and compiling glibc with nptl


Using crosstool-0.38 with crosstool-0.28-extra-patches.patch and 
crosstool-0.28-rc37-e500.patch.  We are using demo-e500.sh which sets up 
the following:

--demo-e500.sh
TARBALLS_DIR=$HOME/downloads
RESULT_TOP=/opt/crosstool
export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES="c,c++"
export GCC_LANGUAGES
EXTRA_PATCHES="spe"
export EXTRA_PATCHES

# Really, you should do the mkdir before running this,
# and chown /opt/crosstool to yourself so you don't need to run as root.
mkdir -p $RESULT_TOP

# Build the toolchain.
eval `cat powerpc-e500.dat gcc-3.4.3-e500-glibc-2.3.3-spe.dat`  sh all.sh 
--notest

echo Done.

--gcc-3.4.3-e500-glibc-2.3.3-spe.dat
BINUTILS_DIR=binutils-2.15
GCC_DIR=gcc-3.4.3
GLIBC_DIR=glibc-2.3.3
LINUX_DIR=linux-2.6.9
GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.3

--powerpc-e500.dat
TARGET=powerpc-linux-gnuspe
TARGET_CFLAGS="-O"
GLIBC_ADDON_OPTIONS="=linuxthreads,spe"
KERNELCONFIG=`pwd`/powerpc-e500.config

We are trying to build gcc and glibc with tls and ntpl support.  We are 
getting the following error:

running configure fragment for nptl/sysdeps/pthread
configure: error: compiler support for __thread is required

We have read some posts that suggested compiling gcc several times but we 
not sure how to do that with crosstool.  We have the glibc addon for nptl 
enable.  So how do we get the compiler to support __thread? 

Thanks,
Cory and Gabe

--
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]