[lttng-dev] [BUG] lttng-tools linking with GNU gold

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Jan 24 19:38:36 EST 2012


Hi David,

With commit bbccc3d2cb9f83aecf00a207de9eef68c766bf9c of lttng-tools,
linking consumerd and sessiond now fails on my machine that uses GNU
gold as linker with:

  CCLD   lttng-consumerd
/usr/bin/ld: internal error in relocate_tls, at
../../gold/x86_64.cc:3187
collect2: ld returned 1 exit status
make[3]: *** [lttng-consumerd] Error 1

I suspect the recent refactoring turned some dynamically linked
libraries into statically linked ones, which might trigger this issue.
Also, added dependencies on liburcu might trigger this issue, given that
liburcu has TLS data.

Investigation will be needed though,

Thanks,

Mathieu

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list