You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2016/12/06 00:25:58 UTC

[jira] [Updated] (MESOS-6723) Mesos fails to link using gold linker

     [ https://issues.apache.org/jira/browse/MESOS-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Conway updated MESOS-6723:
-------------------------------
    Description: 
Configure flags:

{noformat}
../mesos/configure --disable-java --disable-python CC="ccache gcc" CXX="ccache g++" CXXFLAGS=-fuse-ld=gold CFLAGS=-fuse-ld=gold
{noformat}

Compile output:

{noformat}
/bin/sh ../libtool  --tag=CXX   --mode=link ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed  -o mesos-local local/mesos_local-main.o libmesos.la     -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz  -lrt -lunwind
libtool: link: ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -o .libs/mesos-local local/mesos_local-main.o  ./.libs/libmesos.so -lpthread -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt -lunwind -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libmesos.so: error: undefined reference to 'dlerror'
./.libs/libmesos.so: error: undefined reference to 'dlclose'
./.libs/libmesos.so: error: undefined reference to 'dlopen'
./.libs/libmesos.so: error: undefined reference to 'dlsym'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:5139: mesos-local] Error 1
{noformat}


  was:
Configure flags:

{noformat}
../mesos/configure --disable-java --disable-python CC=ccache gcc CXX=ccache g++ CXXFLAGS=-fuse-ld=gold CFLAGS=-fuse-ld=gold
{noformat}

Compile output:

{noformat}
/bin/sh ../libtool  --tag=CXX   --mode=link ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed  -o mesos-local local/mesos_local-main.o libmesos.la     -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz  -lrt -lunwind
libtool: link: ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -o .libs/mesos-local local/mesos_local-main.o  ./.libs/libmesos.so -lpthread -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt -lunwind -pthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libmesos.so: error: undefined reference to 'dlerror'
./.libs/libmesos.so: error: undefined reference to 'dlclose'
./.libs/libmesos.so: error: undefined reference to 'dlopen'
./.libs/libmesos.so: error: undefined reference to 'dlsym'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:5139: mesos-local] Error 1
{noformat}



> Mesos fails to link using gold linker
> -------------------------------------
>
>                 Key: MESOS-6723
>                 URL: https://issues.apache.org/jira/browse/MESOS-6723
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>         Environment: Arch Linux, amd64, GNU gold (GNU Binutils 2.27) 1.12
>            Reporter: Neil Conway
>            Priority: Minor
>              Labels: mesosphere
>
> Configure flags:
> {noformat}
> ../mesos/configure --disable-java --disable-python CC="ccache gcc" CXX="ccache g++" CXXFLAGS=-fuse-ld=gold CFLAGS=-fuse-ld=gold
> {noformat}
> Compile output:
> {noformat}
> /bin/sh ../libtool  --tag=CXX   --mode=link ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed  -o mesos-local local/mesos_local-main.o libmesos.la     -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz  -lrt -lunwind
> libtool: link: ccache g++ -pthread -fuse-ld=gold -Wno-unused-local-typedefs -std=c++11 -Wl,--as-needed -o .libs/mesos-local local/mesos_local-main.o  ./.libs/libmesos.so -lpthread -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1 -lz -lrt -lunwind -pthread -Wl,-rpath -Wl,/usr/local/lib
> ./.libs/libmesos.so: error: undefined reference to 'dlerror'
> ./.libs/libmesos.so: error: undefined reference to 'dlclose'
> ./.libs/libmesos.so: error: undefined reference to 'dlopen'
> ./.libs/libmesos.so: error: undefined reference to 'dlsym'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:5139: mesos-local] Error 1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)