You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/10/04 01:08:34 UTC

[jira] [Commented] (TS-3109) Build broken on ubuntu saucy64

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

ASF subversion and git services commented on TS-3109:
-----------------------------------------------------

Commit 65aee4ddaeb59ad374d00d14195aeecbc9eb461d in trafficserver's branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=65aee4d ]

TS-3109: fix libhwloc linking on Ubuntu


> Build broken on ubuntu saucy64
> ------------------------------
>
>                 Key: TS-3109
>                 URL: https://issues.apache.org/jira/browse/TS-3109
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Meera Mosale Nataraja
>            Priority: Minor
>             Fix For: 5.2.0
>
>
> I am seeing following failure when I try to make with following gcov flags:
> export LDFLAGS="-lgcov -coverage"
> export CFLAGS="-fprofile-arcs -ftest-coverage"
> export CXXFLAGS="-fprofile-arcs -ftest-coverage"
> Failure:
> /usr/bin/ld: ../../iocore/eventsystem/libinkevent.a(UnixEventProcessor.o): undefined reference to symbol 'hwloc_get_type_depth'
> /usr/lib/x86_64-linux-gnu/libhwloc.so.5: error adding symbols: DSO missing from command line
> More logs:
> Making all in traffic_layout
> make[2]: Entering directory `/opt/src/trafficserver.git/cmd/traffic_layout'
> /bin/bash ../../libtool  --tag=CXX   --mode=link c++ -Wunused-parameter -fprofile-arcs -ftest-coverage -std=c++11 -g -pipe -Wall -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -mcx16  -lgcov -coverage -o traffic_layout traffic_layout.o ../../lib/records/librecords_p.a ../../mgmt/libmgmt_p.la ../../iocore/eventsystem/libinkevent.a ../../proxy/shared/libUglyLogStubs.a ../../lib/ts/libtsutil.la -L/usr/lib/x86_64-linux-gnu -ltcl8.5 -lcap -lpcre -lz -lcrypt -lpthread -ldl  -lxml2
> libtool: link: c++ -Wunused-parameter -fprofile-arcs -ftest-coverage -std=c++11 -g -pipe -Wall -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -mcx16 -coverage -o .libs/traffic_layout traffic_layout.o  -lgcov ../../lib/records/librecords_p.a ../../mgmt/.libs/libmgmt_p.a ../../iocore/eventsystem/libinkevent.a ../../proxy/shared/libUglyLogStubs.a ../../lib/ts/.libs/libtsutil.so -L/usr/lib/x86_64-linux-gnu -ltcl8.5 -lcap -lpcre -lz -lcrypt -lpthread -ldl -lxml2 -Wl,-rpath -Wl,/opt/ats-cov/lib
> /usr/bin/ld: ../../iocore/eventsystem/libinkevent.a(UnixEventProcessor.o): undefined reference to symbol 'hwloc_get_type_depth'
> /usr/lib/x86_64-linux-gnu/libhwloc.so.5: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> make[2]: *** [traffic_layout] Error 1
> make[2]: Leaving directory `/opt/src/trafficserver.git/cmd/traffic_layout'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/src/trafficserver.git/cmd'
> make: *** [all-recursive] Error 1



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