[ 
https://issues.apache.org/jira/browse/MESOS-5745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942776#comment-15942776
 ] 

Benjamin Bannier commented on MESOS-5745:
-----------------------------------------

> Is there a way to force no optimizations via an ENV?

[~ghulands]: Since you did not specify {{--enable-optimize}} on the command 
line, I suspect you ended up with an optimized build since you either have some 
{{CXXFLAGS}} set in your environment, or your system activated optimization by 
default via either {{CONFIG_SITE}} or a compiler site config. As things stand 
currently, Mesos will ignore {{--disable-optimize}} when e.g., {{CXXFLAGS}} are 
set, so you might need to disable optimizations by explicitly redefining 
{{CXXFLAGS}} to include e.g., {{-O0}}. We'll likely give more concrete 
suggestions if we know how optimizations where enabled in your build.  

> 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)

Reply via email to