broken build when -fsanitize=thread = yes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Committed
|
Medium
|
Brian Aker |
Bug Description
Build on Fedora 19, with latest gcc fails.
...
checking whether C compiler accepts -fsanitize=
...
Configuration summary for libmemcached version 1.0.17
* Installation prefix: /usr
* System type: redhat-linux-gnu
* Host CPU: x86_64
* C Compiler: gcc (GCC) 4.8.0 20130320 (Red Hat 4.8.0-0.18)
* C Flags: -O2 -g -pipe -Wall -Wp,-D_
* C++ Compiler: g++ (GCC) 4.8.0 20130320 (Red Hat 4.8.0-0.18)
* C++ Flags: -O2 -g -pipe -Wall -Wp,-D_
* CPP Flags: -fvisibility=hidden
* LIB Flags:
* Assertions enabled: no
* Debug enabled: no
* Shared: yes
* Warnings as failure: no
* SASL support: yes
* make -j: 4
* VCS checkout: no
...
CC libmemcached-
g++: error: -fsanitize=thread linking must be done with -pie or -shared
make[1]: *** [libtest/
make[1]: *** Waiting for unfinished jobs....
g++: error: -fsanitize=thread linking must be done with -pie or -shared
make[1]: *** [libtest/backtrace] Error 1
make[1]: Leaving directory `/builddir/
make: *** [all] Error 2
Changed in libmemcached: | |
milestone: | none → 1.0.18 |
assignee: | nobody → Brian Aker (brianaker) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in libmemcached: | |
status: | In Progress → Fix Committed |