config/libc/none.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 1591 11460fc587e6
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>
     1 # Dummy config file to not use a C library *at all*
     2 
     3 ## depends on BARE_METAL
     4 ##
     5 ## help Do not use a C library.
     6 ## help
     7 ## help This is usefull if your project is self-contained, does not rely on
     8 ## help an external C library, and provides all the necessary bits.
     9 ## help
    10 ## help Most probably usefull to bootloaders, as they generally don't depend
    11 ## help on the C library.
    12 ## help
    13 ## help If unsure: do *not* choose that, and use another option in the choice.