https://sourceware.org/bugzilla/show_bug.cgi?id=22721
--- 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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils