[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/22721] [2.30, 2.31 regression] Solaris/x86 TLS transition failur

From: hjl.tools at gmail dot com
Subject: [Bug ld/22721] [2.30, 2.31 regression] Solaris/x86 TLS transition failures with linker plugin
Date: Fri, 19 Jan 2018 17:33:32 +0000


--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Rainer Orth from comment #6)
> > --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
> [...]
> > Please do
> >
> > 1. Get users/hjl/lto-mixed/master branch and build/install it.
> > 2. Pass -v -save-temps -Wl,-plugin-save-temps to gcc
> > This should save all temporary files used by ld LTO.
> > 3. Create .gdbinit to set environment variables used by ld LTO with
> > output from "gcc -v".
> > 4. Capture the failed ld LTO command line option.
> > 5. Run ld under gdb to investigate why ld fails.
> I did some digging so far.  That branch didn't include the culprit
> patch.  If I use gld build from it as is, the testcase works fine.
> Next, I've applied that patch and could reproduced the failure, so the
> reghunt was correct in identifying the culprit.
> I find that this call to elf_i386_check_tls_transition returns FALSE
> It's pretty obvious that this *is* ___tls_get_addr, but h->tls_get_addr
> is 0 nontheless.

What are the commend-line options passed to ld?

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]