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

Issue 835864 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

All Linux and Android Clang ToT bots failing to link hwasan with ld.bfd internal error

Project Member Reported by r...@chromium.org, Apr 23 2018

Issue description

First failing build:
https://ci.chromium.org/buildbot/chromium.clang/ToTLinux/2197

The link error:
FAILED: lib/linux/libclang_rt.hwasan-x86_64.so 
...
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 internal error, aborting at ../../bfd/elf64-x86-64.c line 3363 in elf_x86_64_relocate_section
/usr/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status

Revision range:
good: 330459
bad:  330484

This is probably the culprit: r330474 - [HWASan] Introduce non-zero based and dynamic shadow memory (compiler-rt).
 
To avoid IFUNC problem, switched HWASan back fixed shadow on x86-64:
  LLVM - r330623
  compiler-rt: r330624

I guess the proper fix is to upgrade the bot to the version of binutils which has IFUNC support fixed.
r330628 adds some files forgotten in r330624
Status: Verified (was: Assigned)

Sign in to add a comment