https://sourceware.org/bugzilla/show_bug.cgi?id=31466
--- Comment #3 from Sam James ---
As the backtrace hinted, if I drop -Wl,--gc-sections, it completes quickly.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=31466
--- Comment #2 from Sam James ---
With binutils-2.42, it takes about 1-2s.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=31466
--- Comment #1 from Sam James ---
Tarball is at
https://dev.gentoo.org/~sam/bugs/sourceware/31466/ld-hang-PR31466.tar.xz.
Inside, run:
```
gcc -m64 symbols.o procs-bf23c8fa176eac21.procs.d1865a8196e0707d-cgu.0.rcgu.o
-Wl,--as-needed -L deps -