New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 736445 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Windows LLD dbg bots are red due to relocations in CRT debug info

Project Member Reported by r...@chromium.org, Jun 23 2017

Issue description

Right now they fail with messages like this:

[46/50570] LINK(DLL) test_shared_library.dll test_shared_library.dll.lib test_shared_library.dll.pdb
FAILED: ...
error: SECREL relocation points to a non-regular symbol: __ImageBase
[47/50570] LINK(DLL) base_profiler_test_support_library.dll base_profiler_test_support_library.dll.lib base_profiler_test_support_library.dll.pdb
FAILED: ...
error: SECREL relocation points to a non-regular symbol: __ImageBase
[48/50570] STAMP obj/chrome/browser/ui/webui/omnibox/mojo_bindings_blink__type_mappings.inputdeps.stamp

[40/58599] LINK(DLL) test_shared_library.dll test_shared_library.dll.lib test_shared_library.dll.pdb
FAILED: ...
error: SECREL relocation points to a non-regular symbol: ___safe_se_handler_table

LLD started relocating .debug$S sections in r305713, which was four days ago.

The basic issue is that .debug$S sections contain lots of SECREL and SECTION relocations. Until recently, those relocations only worked on "regular" symbols. Because the CRT's debug info is vast and wide, we are now seeing these relocations applied to absolute symbols, common symbols, garbage collected symbols, synthetic linker provided symbols, etc. We need to handle these relocations against all these different symbol types in LLD.
 

Comment 1 by r...@chromium.org, Jun 30 2017

Status: Verified (was: Untriaged)
This should be fixed after LLD r306566, and the builders are green.

They weren't affected by  crbug.com/738468  / LNK4102 because LLD bots don't use the MSVC linker for obvious reasons. :)

Sign in to add a comment