View Issue Details

IDProjectCategoryView StatusLast Update
0007463CentOS-7gccpublic2014-08-05 01:55
Reporterfredex Assigned To 
Status newResolutionopen 
PlatformCentos-7 64-bitOSCentos-7OS Version7
Product Version7.0-1406 
Summary0007463: gcc compiled without support for -fsanitize=address and -fsanitize=thread
Descriptionwhen attempting to compile a C file using those two options, this error results:
gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --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 Reproducecompile something with "-fsanitize=address -fsanitize=thread"
Additional Informationfiled in Red Hat bugzilla as bug number 1126545
TagsNo tags attached.



2014-08-04 18:05


... the idea behind this (CentOS) bug being to include a modified gcc in centosplus, until RH modifies the version shipped in RHEL


2014-08-04 19:27

reporter   ~0020585

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?


2014-08-05 01:55

reporter   ~0020586

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 ... ;)

Issue History

Date Modified Username Field Change
2014-08-04 17:45 fredex New Issue
2014-08-04 18:05 user1999 Note Added: 0020583
2014-08-04 19:27 fredex Note Added: 0020585
2014-08-05 01:55 mlampe Note Added: 0020586