Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: dgoulet@efficios.com (David Goulet)
Subject: [lttng-dev] lttng-tools build error: non-dynamic relocations refer to dynamic symbol lttcomm_inet_tcp_timeout
Date: Thu, 28 Nov 2013 15:32:43 -0500	[thread overview]
Message-ID: <20131128203243.GC8372@thessa> (raw)
In-Reply-To: <CAO_ArvpzYu+bVKKi956eiObSd+sg-6Aarhy+h5MZqcDk5S-eqg@mail.gmail.com>

On 27 Nov (15:37:10), kumar s wrote:
> Hi,
> 
> I am getting non dynamic relocation error while trying to build
> lttng-tools. I have configured the lttng-tools for mips-gcc.
> 
> Making all in lttng-sessiond
> make[3]: Entering directory
> `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'
>   CC     utils.o
>   CC     trace-kernel.o
>   CC     kernel.o
>   CC     context.o
>   CC     channel.o
>   CC     event.o
>   CC     shm.o
>   CC     consumer.o
>   CC     session.o
>   CC     modprobe.o
>   CC     fd-limit.o
>   CC     kernel-consumer.o
>   CC     cmd.o
>   CC     buffer-registry.o
>   CC     ht-cleanup.o
>   CC     snapshot.o
>   CC     jul.o
>   CC     main.o
> main.c: In function 'thread_dispatch_ust_registration':
> 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)
> main.c: In function 'thread_registration_apps':
> 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)
> main.c: In function 'main':
> 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)
>   CCLD   lttng-sessiond
> /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
> /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

Looks quite the same here:
https://sourceware.org/bugzilla/show_bug.cgi?id=10144#c8

It seems that this is a gcc bug with -g. I'm not too familiar with MIPS
but you could try removing the -g or using "-mplt" as stated in the bug.

Cheers!
David

> collect2: ld returned 1 exit status
> make[3]: *** [lttng-sessiond] Error 1
> make[3]: Leaving directory
> `/home/shkumar/lttng-tools/lttng-tools/src/bin/lttng-sessiond'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src/bin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/shkumar/lttng-tools/lttng-tools/src'
> make: *** [all-recursive] Error 1
> 
> Thank you
> Skumar

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131128/e32c0382/attachment.pgp>


      reply	other threads:[~2013-11-28 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 10:07 kumar s
2013-11-28 20:32 ` David Goulet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131128203243.GC8372@thessa \
    --to=dgoulet@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox