Closed bwplotka closed 9 years ago
Would you mind updating the Dockerfile to include clang, so the CI build passes? :)
@nqn: I will update Dockerfile, but it is not the reason of the failure. https://hub.docker.com/r/mesosphere/mesos-modules-dev/ docker image is out-of-date (mesos master branch includes now newest stout & libprocess changes). @ConnorDoyle: Could you rebuild this image on docker registry? Thanks!
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
I am sure that @jmlvanre could help (:
Added updated - more clear version: https://github.com/mesosphere/serenity/pull/97
Also updated code with newest stout & libprocess changes.
Signed-off-by: bplotka bwplotka@gmail.com