[
https://issues.apache.org/jira/browse/MESOS-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942088#comment-15942088
]
Till Toenshoff commented on MESOS-5745:
---------------------------------------
[~ghulands] please use the following configure flag:
{noformat}
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-optimize enable optimizations. If CFLAGS/CXXFLAGS are set,
this option won't change them
{noformat}
Hence disabling optimization is done by {{disable-optimize}}.
In your example that would be:
{noformat}
./configure --disable-optimize --with-curl=/usr/local -with-apr=/usr/local
--with-svn=/usr/local --with-sasl=/usr/local
{noformat}
Note however that mesos strongly encourages to use a dedicated build folder
instead of building right within the sources.
Assuming you just checked out the project from git and now want to build;
{noformat}
$ ./bootstrap
$ mkdir build
$ cd build
$ ../configure --disable-optimize --with-curl=/usr/local -with-apr=/usr/local
--with-svn=/usr/local --with-sasl=/usr/local
{noformat}
> AuthenticationTest.UnauthenticatedSlave fails with clang++3.8
> -------------------------------------------------------------
>
> Key: MESOS-5745
> URL: https://issues.apache.org/jira/browse/MESOS-5745
> Project: Mesos
> Issue Type: Bug
> Components: test
> Reporter: Michael Park
> Assignee: Benjamin Bannier
> Labels: mesosphere
>
> With {{clang++-3.8}}, {{make check}} fails with the following message:
> {noformat}
> [ RUN ] AuthenticationTest.UnauthenticatedSlave
> *** Aborted at 1467208613 (unix time) try "date -d @1467208613" if you are
> using GNU date ***
> PC: @ 0x10b7f5a8b std::__1::__tree<>::__assign_multi<>()
> *** SIGSEGV (@0x0) received by PID 40053 (TID 0x7fff73aaf000) stack trace: ***
> @ 0x7fff8af4252a _sigtramp
> @ 0x110216a00 (unknown)
> @ 0x10b7f5881 mesos::internal::logging::Flags::operator=()
> @ 0x10b7f3076 mesos::internal::slave::Flags::operator=()
> @ 0x10b7f1cbf mesos::internal::tests::cluster::Slave::start()
> @ 0x10bf1a2d1 mesos::internal::tests::MesosTest::StartSlave()
> @ 0x10b7511b9
> mesos::internal::tests::AuthenticationTest_UnauthenticatedSlave_Test::TestBody()
> @ 0x10c703caa
> testing::internal::HandleExceptionsInMethodIfSupported<>()
> @ 0x10c703b0a testing::Test::Run()
> @ 0x10c704b02 testing::TestInfo::Run()
> @ 0x10c7053c3 testing::TestCase::Run()
> @ 0x10c70cefb testing::internal::UnitTestImpl::RunAllTests()
> @ 0x10c70ca43
> testing::internal::HandleExceptionsInMethodIfSupported<>()
> @ 0x10c70c95e testing::UnitTest::Run()
> @ 0x10bbe44f3 main
> @ 0x7fff9071a5ad start
> make[3]: *** [check-local] Segmentation fault: 11
> make[2]: *** [check-am] Error 2
> make[1]: *** [check] Error 2
> make: *** [check-recursive] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)