llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Gold crashing while running the TSan tests

Open dwblaikie opened this issue 13 years ago • 1 comments

Bugzilla Link 16468
Resolution FIXED
Resolved on Jun 27, 2013 08:57
Version unspecified
OS Linux
CC @KernelAddress,@kcc

Extended Description

Switching to the default gold in my linux distro (GNU gold (GNU Binutils for Ubuntu 2.22) 1.11) I can no longer run the TSan tests.

This seems to be fixed in more recent versions of gold, but I thought I might file this as it's the default gold on many machines & might be worth working around if the cost is sufficiently low.

The failure is: /usr/bin/ld: internal error in sized_finalize_symbol, at ../../gold/symtab.cc:2670

It's not clear if https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/973172 might give some insight into this issue.

This can be worked around by using binutils-ld or a more recent version of gold (verified with "GNU gold (GNU Binutils 2.23.1) 1.11")

Feel free to close without change if it's not obvious or not easy to workaround.

dwblaikie avatar Jun 27 '13 00:06 dwblaikie

Fixed by r185078. I reverted the new full and proper list of dynamic symbols.

KernelAddress avatar Jun 27 '13 15:06 KernelAddress