Created attachment 381270 [details] build log On my hardened ~amd64 machine with gcc-4.9.0 I see the following failure in glog. This does not occur if tests are disabled. /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc: In function ‘int main(int, char**)’: /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:123:43: error: ‘ParseCommandLineFlags’ was not declared in this scope ParseCommandLineFlags(&argc, &argv, true); ^ /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:123:43: note: suggested alternative: In file included from ./src/glog/logging.h:85:0, from /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/utilities.h:82, from /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:34: /usr/include/gflags/gflags.h:346:31: note: ‘gflags::ParseCommandLineFlags’ extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int *argc, char*** argv, bool remove_flags); ^ Makefile:872: recipe for target 'demangle_unittest-demangle_unittest.o' failed make: *** [demangle_unittest-demangle_unittest.o] Error 1
Created attachment 381272 [details] emerge --info
what version of gflags do you have ? it passes for me w/gflags-2.0 and 2.1.1-r1.
(In reply to SpanKY from comment #2) > what version of gflags do you have ? it passes for me w/gflags-2.0 and > 2.1.1-r1. For me the error happens with gflags-2.1.1-r1, but not with 2.0.
if you rebuild gflags (2.1.1-r1), then glog, does it work ?
(In reply to SpanKY from comment #4) > if you rebuild gflags (2.1.1-r1), then glog, does it work ? No. I rebuilt gflags twice and I saw no change when merging glog after each iteration.
is this still an issue ?
(In reply to SpanKY from comment #6) > is this still an issue ? I just tried with glog-0.3.4 and the problem is gone.
thanks for checking