config/arch/x86.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Jan 04 01:02:57 2014 +0100 (2014-01-04)
changeset 3271 c65dc9b98841
parent 2444 896cb0d36c1a
permissions -rw-r--r--
cc/gcc: diable libsanitizer without NPTL

gcc-4.8 comes with a new library to sanitise memory access:
- heap-, stack-, and global-buffer overflow, use-after-free
- data-races between threads

This library requires some _np parts of the API, which are not
implemented in the (old) LinuxThreads, which is still available
in uClibc.

Since NPTL requires a i486 or above, i386 are stuck with using LT,
which precludes building the libsanitizer.

Disable libsanitizer, a bit like libatomic is.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Niels Penneman <niels@penneman.org>
yann@628
     1
# x86 specific options
yann@628
     2
yann@2444
     3
## select ARCH_SUPPORTS_32
yann@2444
     4
## select ARCH_SUPPORTS_64
yann@2444
     5
## select ARCH_DEFAULT_32
yann@2444
     6
## select ARCH_USE_MMU
yann@2788
     7
## select ARCH_SUPPORTS_WITH_ARCH
yann@2788
     8
## select ARCH_SUPPORTS_WITH_CPU
yann@2788
     9
## select ARCH_SUPPORTS_WITH_TUNE
yann@2444
    10
##
yann@2444
    11
## help The x86 architecture, as defined by:
yann@2444
    12
## help     32-bit (ia32) : http://www.intel.com/
yann@2444
    13
## help     64-bit (amd64): http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_875_7044,00.html