Code Sample |
nptl/sysdeps/i386/tls.h:58:3: #error "TLS support is required." |
Code Sample |
$ /opt/build/lib/libc.so.6 GNU C Library stable release version 2.3.2, by Roland McGrath et al. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.5 (Debian 1:3.3.5-13). Compiled on a Linux 2.6.0-test7 system on 2007-10-10. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Report bugs using the `glibcbug' script to <bugs@gnu.org>. |
Code Sample |
From a separate build directory: ../glibc-2.3.6/configure --prefix=/glibc-nptl --disable-profile --enable-omitfp --enable-add-ons --enable-kernel=2.4.0 --disable-force-install --without-tls |
Code Sample |
'--prefix=/glibc-nptl' - To avoid installing into '/lib', which will overwrite your system glibc '--disable-profile' - Disabled profiling since we are optimizing for size ('-Os') '--enable-omitfp' - Actually not needed since I already have '-fomit-frame-pointer' in $CFLAGS ('-Os -march=i486 -fomit-frame-pointer -pipe') '--enable-add-ons' - ** This will enable the NPTL addon; linuxthreads is disabled in favour of NPTL. ** '--enable-kernel=2.4.0' - Support for kernel version 2.4.0 and later '--disable-force-install' - Disables forced installation '--without-tls' - Build without TLS support |
Code Sample |
running configure fragment for nptl/sysdeps/pthread configure: error: CFI directive support in assembler is required |
Code Sample |
../glibc-2.3.2/configure --prefix=/opt/build --enable-shared --enable-add-ons --enable-kernel=2.4.26 |