You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Hulands (JIRA)" <ji...@apache.org> on 2017/03/25 23:02:41 UTC

[jira] [Commented] (MESOS-5745) AuthenticationTest.UnauthenticatedSlave fails with clang++3.8

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

Greg Hulands commented on MESOS-5745:
-------------------------------------

I just tried building on FreeBSD with 3.9 and it still gets tripped up. Let me know if you need anymore info.

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

./configure --with-curl=/usr/local -with-apr=/usr/local --with-svn=/usr/local --with-sasl=/usr/local
checking build system type... x86_64-unknown-freebsd11.0
checking host system type... x86_64-unknown-freebsd11.0
checking target system type... x86_64-unknown-freebsd11.0
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/local/bin/clang39 accepts -g... yes
checking whether we are using the GNU C compiler... yes
checking whether /usr/local/bin/clang39 accepts -g... yes
checking for /usr/local/bin/clang39 option to accept ISO C89... none needed
checking whether /usr/local/bin/clang39 understands -c and -o together... yes
checking whether ln -s works... yes
checking for C++ compiler vendor... clang
checking for a sed that does not truncate output... /usr/bin/sed
checking for C++ compiler version... 3.9.1
checking for C++ compiler vendor... (cached) clang
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of /usr/local/bin/clang39... gcc3
checking dependency style of /usr/local/bin/clang39... gcc3
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/local/bin/clang39... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-unknown-freebsd11.0 file names to x86_64-unknown-freebsd11.0 format... func_convert_file_noop
checking how to convert x86_64-unknown-freebsd11.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /usr/local/bin/clang39 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /usr/local/bin/clang39 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/local/bin/clang39 supports -fno-rtti -fno-exceptions... yes
checking for /usr/local/bin/clang39 option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/clang39 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/clang39 static flag -static works... yes
checking if /usr/local/bin/clang39 supports -c -o file.o... yes
checking if /usr/local/bin/clang39 supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/clang39 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... /usr/local/bin/clang39 -E
checking for ld used by /usr/local/bin/clang39... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the /usr/local/bin/clang39 linker (/usr/bin/ld) supports shared libraries... yes
checking for /usr/local/bin/clang39 option to produce PIC... -fPIC -DPIC
checking if /usr/local/bin/clang39 PIC flag -fPIC -DPIC works... yes
checking if /usr/local/bin/clang39 static flag -static works... yes
checking if /usr/local/bin/clang39 supports -c -o file.o... yes
checking if /usr/local/bin/clang39 supports -c -o file.o... (cached) yes
checking whether the /usr/local/bin/clang39 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
configure: Disabling warnings about unused local typedefs
checking whether C++ compiler accepts -fstack-protector-strong... yes
checking whether /usr/local/bin/clang39 supports C++11 features by default... no
checking whether /usr/local/bin/clang39 supports C++11 features with -std=c++11... yes
checking if compiler needs -Werror to reject unknown flags... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
configure: Setting up build environment for x86_64 freebsd11.0
checking for backtrace in -lexecinfo... yes
checking for main in -lgflags... no
checking for gzread in -lz... yes
checking for patch... patch
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking for library containing fts_close... none required
checking apr_pools.h usability... yes
checking apr_pools.h presence... yes
checking for apr_pools.h... yes
checking for apr_initialize in -lapr-1... yes
checking for curl_global_init in -lcurl... yes
checking for javac... /usr/local/bin/javac
checking for java... /usr/local/bin/java
checking value of Java system property 'java.home'... /usr/local/openjdk8/jre
configure: using JAVA_HOME=/usr/local/openjdk8
checking whether or not we can build with JNI... yes
checking for mvn... /usr/local/bin/mvn
checking for sasl_done in -lsasl2... yes
checking SASL CRAM-MD5 support... yes
checking svn_version.h usability... yes
checking svn_version.h presence... yes
checking for svn_version.h... yes
checking for svn_stringbuf_create_ensure in -lsvn_subr-1... yes
checking svn_delta.h usability... yes
checking svn_delta.h presence... yes
checking for svn_delta.h... yes
checking for svn_txdelta in -lsvn_delta-1... yes
checking whether to enable the XFS disk isolator... no
checking for deflate, gzread, gzwrite, inflate in -lz... yes
checking C++ standard library for undefined behaviour with selected optimization level... yes
configure: error: Mesos cannot be built with optimizations against this version of libcxx (MESOS-5745).
                  Consider building without optimizations, or changing the used C++ standard library.
~/mesos-1.2.0 # 


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