Closed bwplotka closed 9 years ago
I cannot compile serenity-tests
using Clang with linked Serenity, Mesos and glog together. As far as i know Serenity includes glog (Serenity is linked as shared, dynamic lib), Mesos links glog (?) (and Mesos itself is also linked as shared, dynamic lib). 1) Without glog we can compile serenity-tests
, however after performing all tests (they are succesfully ran) it ends up with seg fault... 2) On the other hand when i link glog in serenity-tests
using Clang i have: ERROR: something wrong with flag 'logtostderr' in file 'src/logging.cc'. One possibility: file 'src/logging.cc' is being linked both statically and dynamically into this executable.
. Any ideas? Using Gcc everything works! (with or without glog). See: https://github.com/Bplotka/serenity/blob/clang_option/CMakeLists.txt#L176
EDIT: On CI and some other machines compilation runs smoothly.
Can we change the title from 'compilator' to 'compiler'? :)
LGTM - but seems like you need to rebase.
@nqn Were you able to compile it using on this branch? :>
Signed-off-by: bplotka bwplotka@gmail.com