View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007463 | CentOS-7 | gcc | public | 2014-08-04 17:45 | 2014-08-05 01:55 |
Reporter | fredex | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Centos-7 64-bit | OS | Centos-7 | OS Version | 7 |
Product Version | 7.0-1406 | ||||
Summary | 0007463: gcc compiled without support for -fsanitize=address and -fsanitize=thread | ||||
Description | when attempting to compile a C file using those two options, this error results: gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.2-20140120/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) | ||||
Steps To Reproduce | compile something with "-fsanitize=address -fsanitize=thread" | ||||
Additional Information | filed in Red Hat bugzilla as bug number 1126545 | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
... the idea behind this (CentOS) bug being to include a modified gcc in centosplus, until RH modifies the version shipped in RHEL | |
Hmmmm. it looks as if it WAS compiled with -fsanitize support, BUT you can use only one of the listed options at a time. if I use just "-fsanitize=address" it compiles stuff. haven't tested the result yet, nor have I tested "-fsanitize=thread", but I'll get to it. in the meantime should this bug be closed? |
|
You might want to file a bug to gcc's bugzilla, because "0007463: gcc compiled without support for -fsanitize=address and -fsanitize=thread" is misleading. Tell them you expected both instrumentations to work combined ... ;) | |