Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490206 - dev-libs/libmemcached-1.0.17 fails to build with GCC 4.8
Summary: dev-libs/libmemcached-1.0.17 fails to build with GCC 4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 1 vote (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.8
  Show dependency tree
 
Reported: 2013-11-02 22:43 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2014-01-27 08:31 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2013-11-02 22:43:17 UTC
Build system adds conflicting flags to CXXFLAGS.

...
checking whether C++ compiler accepts -fsanitize=address... yes
checking whether C++ compiler accepts -fsanitize=integer... no
checking whether C++ compiler accepts -fsanitize=thread... yes
checking whether C++ compiler accepts -fsanitize=memory... no
checking whether C++ compiler accepts -fsanitize=alignment... no
checking whether C++ compiler accepts -fsanitize=bool... no
checking whether C++ compiler accepts -fsanitize=bounds... no
checking whether C++ compiler accepts -fsanitize=enum... no
checking whether C++ compiler accepts -fsanitize=float-cast-overflow... no
checking whether C++ compiler accepts -fsanitize=float-divide-by-zero... no
checking whether C++ compiler accepts -fsanitize=integer-divide-by-zero... no
checking whether C++ compiler accepts -fsanitize=null... no
checking whether C++ compiler accepts -fsanitize=object-size... no
checking whether C++ compiler accepts -fsanitize=return... no
checking whether C++ compiler accepts -fsanitize=shift... no
checking whether C++ compiler accepts -fsanitize=signed-integer-overflow... no
checking whether C++ compiler accepts -fsanitize=unreachable... no
checking whether C++ compiler accepts -fsanitize=unsigned-integer-overflow... no
checking whether C++ compiler accepts -fsanitize=vla-bound... no
checking whether C++ compiler accepts -fsanitize=vptr... no
...
  CXXLD    libtest/abort
...
x86_64-pc-linux-gnu-g++: error: -fsanitize=address is incompatible with -fsanitize=thread
make[1]: *** [libtest/abort] Error 1
Comment 1 Wang Bin 2013-12-25 02:29:10 UTC
There is a pacth file from Arch Linux, I have tested on my amd64 machine, and it fixed the bug, please check:

https://projects.archlinux.org/svntogit/community.git/tree/trunk/gcc-4.8.patch?h=packages/libmemcached
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-01-27 08:31:03 UTC
patched 1.0.17-r1