how to get x86_64 TLS support?
Robert P. J. Day
rpjday@mindspring.com
Sun May 6 19:26:00 GMT 2007
ok, this one should be a piece of cake. given the following:
x86_64.dat:
===========
TARGET=x86_64-unknown-linux-gnu
TARGET_CFLAGS="-O"
GCC_EXTRA_CONFIG="--disable-multilib"
USE_SYSROOT=1
KERNELCONFIG=`pwd`/x86_64.config
gcc-4.1.2-glibc-2.5-tls.dat:
============================
BINUTILS_DIR=binutils-2.17
GCC_DIR=gcc-4.1.2
GLIBC_DIR=glibc-2.5
LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
GDB_DIR=gdb-6.6
GLIBC_EXTRA_CONFIG="$GLIBC_EXTRA_CONFIG --with-tls --with-__thread --enable-kernel=2.6.0"
GLIBC_ADDON_OPTIONS="=nptl"
when i get around to configuring/building glibc headers, i get:
...
running configure fragment for sysdeps/x86_64/elf
checking for x86-64 TLS support... no <--------- dang!
running configure fragment for nptl/sysdeps/pthread
...
which produces numerous subsequent instances of:
...
In file included from include/tls.h:6,
from sysdeps/unix/sysv/linux/x86_64/sysdep.h:26,
from <stdin>:1:
nptl/sysdeps/x86_64/tls.h:62:3: error: #error "TLS support is required."
...
how can i get by this? or can i? i'm just about to start hunting
through the config files but if someone can save me the trouble, that
would be just ducky.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list