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