r1104 breaks build @ "error: -fsanitize=address is incompatible with -fsanitize=thread"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
Fix Committed
|
Medium
|
Brian Aker |
Bug Description
on linux/64, with gcc version 4.8.0, r1100 builds OK.
r1101 (tip) breaks @ make ...
cd ~/TEST
rm -rf *
bzr branch lp:libmemcached -r 1100 libmemcached-
bzr branch lp:libmemcached libmemcached-
echo $CFLAGS
-O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-
echo $CXXFLAGS
-O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-
cd libmemcached-
./bootstrap.sh autoreconf
./configure
make -j8
ldd ./libmemcached/
libdl.so.2 => /lib64/libdl.so.2 (0x00007f436635
libm.so.6 => /lib64/libm.so.6 (0x00007f4365b3
libc.so.6 => /lib64/libc.so.6 (0x00007f436578
cd ../libmemcached
./bootstrap.sh autoreconf
./configure
make -j8
...
CXX clients/
CXXLD libhashkit/
CXXLD libmemcachedint
CXXLD libtest/core-count
CXXLD libtest/backtrace
g++-4.8: error: -fsanitize=thread linking must be done with -pie or -shared
make[1]: *** [libtest/
make[1]: *** Waiting for unfinished jobs....
g++-4.8: error: -fsanitize=thread linking must be done with -pie or -shared
make[1]: *** [libtest/backtrace] Error 1
copying selected object files to avoid basename conflicts...
make[1]: Leaving directory `/root/
make: *** [all] Error 2
summary: |
- r1101 breaks build @ "error: -fsanitize=thread linking must be done with - -pie or -shared" + r1104 breaks build @ "error: -fsanitize=address is incompatible with + -fsanitize=thread" |
Changed in libmemcached: | |
milestone: | none → 1.0.18 |
importance: | Undecided → Medium |
assignee: | nobody → Brian Aker (brianaker) |
status: | New → Fix Committed |
updating to:
------ ------- ------- ------- ------- ------- ------- ------- ----- Libmemcached- 299 ------- ------- ------- ------- ------- ------- ------- -----
revno: 1104 [merge]
committer: Continuous Integration <email address hidden>
branch nick: workspace
timestamp: Sun 2013-05-05 00:43:37 -0700
message:
Merge lp:~tangent-org/libmemcached/1.2-build/ Build: jenkins-
------
revno: 1103 [merge]
committer: Continuous Integration <email address hidden>
build fails at:
./configure memcapable] Error 1 src/libmemcache d-bzr'
make
...
g++-4.8: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [clients/
make[1]: Leaving directory `/usr/local/
make: *** [all] Error 2
back to r1100 ...