config/test_suite.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 2484 d1a8c2ae7946
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 # Test suite config options
     2 
     3 if EXPERIMENTAL
     4 
     5 menu "Test suite"
     6 
     7 config TEST_SUITE
     8     bool
     9 
    10 config TEST_SUITE_GCC
    11     bool
    12     prompt "GCC test suite"
    13     select TEST_SUITE
    14     help
    15       Select this option to install the GCC test suite in $CT_PREFIX_DIR/test_suite.
    16 
    17       The GCC test suite includes a collection of various toolchain tests for GCC -
    18       it utilizes the DejaGnu test framework.
    19 
    20       For some tests a network enabled target with ssh server is required.
    21 
    22       A helper Makefile is provided for running the tests - please see the included
    23       README for information on how to run the test suite.
    24 
    25 endmenu
    26 
    27 endif