<div dir="ltr"><div>Hi,</div><div><br></div><div>I am getting non dynamic relocation error while trying to build lttng-tools. I have configured the lttng-tools for mips-gcc.</div><div><br></div><div>Making all in src</div>
<div>make[1]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src'</div><div>Making all in common</div><div>make[2]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common'</div><div>Making all in compat</div>
<div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/compat'</div><div> CC compat-fcntl.lo</div><div> CC compat-epoll.lo</div><div> CCLD <a href="http://libcompat.la">libcompat.la</a></div>
<div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/compat'</div><div>Making all in health</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/health'</div>
<div> CC health.lo</div><div> CCLD <a href="http://libhealth.la">libhealth.la</a></div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/health'</div><div>Making all in hashtable</div>
<div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/hashtable'</div><div> CC hashtable.lo</div><div> CC utils.lo</div><div> CC rculfhash.lo</div><div> CC rculfhash-mm-chunk.lo</div>
<div> CC rculfhash-mm-mmap.lo</div><div> CC rculfhash-mm-order.lo</div><div> CCLD <a href="http://libhashtable.la">libhashtable.la</a></div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/hashtable'</div>
<div>Making all in kernel-ctl</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-ctl'</div><div> CC kernel-ctl.lo</div><div> CCLD <a href="http://libkernel-ctl.la">libkernel-ctl.la</a></div>
<div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-ctl'</div><div>Making all in sessiond-comm</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/sessiond-comm'</div>
<div> CC sessiond-comm.lo</div><div> CC unix.lo</div><div> CC inet.lo</div><div> CC inet6.lo</div><div> CCLD <a href="http://libsessiond-comm.la">libsessiond-comm.la</a></div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/sessiond-comm'</div>
<div>Making all in relayd</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/relayd'</div><div> CC relayd.lo</div><div> CCLD <a href="http://librelayd.la">librelayd.la</a></div>
<div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/relayd'</div><div>Making all in kernel-consumer</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-consumer'</div>
<div> CC kernel-consumer.lo</div><div> CCLD <a href="http://libkernel-consumer.la">libkernel-consumer.la</a></div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/kernel-consumer'</div>
<div>Making all in ust-consumer</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/ust-consumer'</div><div>make[3]: Nothing to be done for `all'.</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/ust-consumer'</div>
<div>Making all in testpoint</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/testpoint'</div><div> CC testpoint.lo</div><div> CCLD <a href="http://libtestpoint.la">libtestpoint.la</a></div>
<div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/testpoint'</div><div>Making all in index</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common/index'</div>
<div> CC index.lo</div><div> CCLD <a href="http://libindex.la">libindex.la</a></div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common/index'</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/common'</div>
<div> CC error.lo</div><div> CC utils.lo</div><div> CC runas.lo</div><div> CC futex.lo</div><div> CC uri.lo</div><div> CC defaults.lo</div><div> CC pipe.lo</div><div> CC readwrite.lo</div>
<div> CCLD <a href="http://libcommon.la">libcommon.la</a></div><div> CC consumer.lo</div><div> CC consumer-metadata-cache.lo</div><div> CC consumer-timer.lo</div><div> CC consumer-stream.lo</div><div>
CCLD <a href="http://libconsumer.la">libconsumer.la</a></div><div>copying selected object files to avoid basename conflicts...</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common'</div>
<div>make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/common'</div><div>Making all in lib</div><div>make[2]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'</div><div>Making all in lttng-ctl</div>
<div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'</div><div>Making all in filter</div><div>make[4]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'</div>
<div> YACC filter-parser.c</div><div>updating filter-parser.h</div><div>updating filter-parser.output</div><div>make all-am</div><div>make[5]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'</div>
<div> LEX filter-lexer.c</div><div> CC libfilter_la-filter-lexer.lo</div><div> CC libfilter_la-filter-parser.lo</div><div> CC libfilter_la-filter-visitor-set-parent.lo</div><div> CC libfilter_la-filter-visitor-xml.lo</div>
<div> CC libfilter_la-filter-visitor-generate-ir.lo</div><div> CC libfilter_la-filter-visitor-ir-check-binary-op-nesting.lo</div><div> CC libfilter_la-filter-visitor-generate-bytecode.lo</div><div> CCLD <a href="http://libfilter.la">libfilter.la</a></div>
<div> CC filter-grammar-test.o</div><div> CCLD filter-grammar-test</div><div>make[5]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'</div><div>make[4]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl/filter'</div>
<div>make[4]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'</div><div> CC lttng-ctl.lo</div><div> CC snapshot.lo</div><div> CC lttng-ctl-health.lo</div><div> CCLD <a href="http://liblttng-ctl.la">liblttng-ctl.la</a></div>
<div>copying selected object files to avoid basename conflicts...</div><div>make[4]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib/lttng-ctl'</div>
<div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'</div><div>make[3]: Nothing to be done for `all-am'.</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'</div>
<div>make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/lib'</div><div>Making all in bin</div><div>make[2]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/bin'</div><div>Making all in lttng-consumerd</div>
<div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-consumerd'</div><div> CC lttng-consumerd.o</div><div> CC health-consumerd.o</div><div> CCLD lttng-consumerd</div><div>
make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-consumerd'</div><div>Making all in lttng</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng'</div>
<div> CC conf.o</div><div> CC commands/start.o</div><div> CC commands/list.o</div><div> CC commands/create.o</div><div> CC commands/destroy.o</div><div> CC commands/stop.o</div><div> CC commands/enable_events.o</div>
<div> CC commands/disable_events.o</div><div> CC commands/enable_channels.o</div><div> CC commands/disable_channels.o</div><div> CC commands/add_context.o</div><div> CC commands/set_session.o</div>
<div> CC commands/version.o</div><div> CC commands/calibrate.o</div><div> CC commands/view.o</div><div> CC commands/enable_consumer.o</div><div> CC commands/disable_consumer.o</div><div> CC commands/snapshot.o</div>
<div> CC utils.o</div><div> CC lttng.o</div><div> CCLD lttng</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng'</div><div>Making all in lttng-sessiond</div><div>make[3]: Entering directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'</div>
<div> CC utils.o</div><div> CC trace-kernel.o</div><div> CC kernel.o</div><div> CC context.o</div><div> CC channel.o</div><div> CC event.o</div><div> CC shm.o</div><div> CC consumer.o</div>
<div> CC session.o</div><div> CC modprobe.o</div><div> CC fd-limit.o</div><div> CC kernel-consumer.o</div><div> CC cmd.o</div><div> CC buffer-registry.o</div><div> CC ht-cleanup.o</div><div>
CC snapshot.o</div><div> CC jul.o</div><div> CC main.o</div><div>main.c: In function 'thread_dispatch_ust_registration':</div><div>main.c:1564: warning: 'cds_wfq_dequeue_blocking' is deprecated (declared at /home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:88)</div>
<div>main.c: In function 'thread_registration_apps':</div><div>main.c:1917: warning: 'cds_wfq_enqueue' is deprecated (declared at /home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:76)</div>
<div>main.c: In function 'main':</div><div>main.c:4891: warning: 'cds_wfq_init' is deprecated (declared at /home/shkumar/Development_Merge/NewOCT/popt-1.16/popt_installed/include/urcu/wfqueue.h:70)</div><div>
CCLD lttng-sessiond</div><div>/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld: non-dynamic relocations refer to dynamic symbol lttcomm_inet_tcp_timeout</div>
<div>/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/tools-gcc-4.3/bin/../lib/gcc/mips64-octeon-linux-gnu/4.3.3/../../../../mips64-octeon-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value</div>
<div>collect2: ld returned 1 exit status</div><div>make[3]: *** [lttng-sessiond] Error 1</div><div>make[3]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'</div><div>make[2]: *** [all-recursive] Error 1</div>
<div>make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src'</div>
<div>make: *** [all-recursive] Error 1</div><div><br></div><div>Thank you</div><div>Skumar</div></div>