https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64697
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2016-02-08
CC| |hjl.tools at gmail dot com
Ever confirmed|0 |1
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Václav Zeman from comment #0)
> use.o:use.cxx:(.text$_ZTWN1N3ptdE[_ZTWN1N3ptdE]+0x15): relocation
> truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init
> function for N::ptd'
> collect2: error: ld returned 1 exit status
Cygwin doesn't use R_X86_64_PC32. Please show us the output of
# g++ -v -shared -o cygtest.dll use.o def.o
and
# ld -V