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

Issue 837725 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression

Blocked on:
issue 837440



Sign in to add a comment

"Build clang" step failing on "Build from tarball" bot

Project Member Reported by thomasanderson@chromium.org, Apr 27 2018

Issue description

Failing runs:
https://ci.chromium.org/buildbot/chromium.infra.cron/Build%20From%20Tarball/191
https://ci.chromium.org/buildbot/chromium.infra.cron/Build%20From%20Tarball/194
https://ci.chromium.org/buildbot/chromium.infra.cron/Build%20From%20Tarball/195

Looks like all of the failing runs are on the 68.x.x.x tarballs, and they're failing with the error:
[886/902] Linking CXX shared library lib/linux/libclang_rt.hwasan-x86_64.so
FAILED: lib/linux/libclang_rt.hwasan-x86_64.so 
: && /b/rr/tmpVwFicA/w/build_dir/chromium-68.0.3409.0/third_party/llvm-build-tools/gcc485precise/bin/g++  -fPIC -Wall -std=c++11 -Wno-unused-parameter -O3 -DNDEBUG  -m64 -nodefaultlibs -Wl,--version-script,/b/rr/tmpVwFicA/w/build_dir/chromium-68.0.3409.0/third_party/llvm-build/Release+Asserts/compiler-rt/lib/hwasan/clang_rt.hwasan-dynamic-x86_64.vers -shared -Wl,-soname,libclang_rt.hwasan-x86_64.so -o lib/linux/libclang_rt.hwasan-x86_64.so <lots of object files...>  -lstdc++ -lgcc_s -lc -ldl -lrt -lm -lpthread && :
/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
 

Comment 1 by h...@chromium.org, Apr 27 2018

Sounds like  crbug.com/835864 

thomasanderson: I'm not familiar with these bots. Do you know why they're doing local builds of clang?
Yes, the bot tries to mimic a Chromium packager build.  In those types of builds, no binaries are pulled from the network so the only option to to build clang from source.

Comment 3 by h...@chromium.org, Apr 27 2018

Cc: alekseys@chromium.org
I guess the bot we used to package this clang revision had a more modern version of the bfd linker installed.

Can these bots wait until the next roll?

Otherwise we could make update.sh pull down a modern version of binutils as a dependency, like we do with gcc and cmake.
Waiting until the next roll sgtm

Comment 5 by h...@chromium.org, Apr 27 2018

Blockedon: 837440
Labels: M-68
Is it possible to complete the roll before the M69 branch point?  If not, it's possible the M68 tarball will be broken when it reaches beta/stable.

Comment 7 by h...@chromium.org, May 8 2018

We really want to get a roll much sooner than the branch point.

Comment 8 by h...@chromium.org, May 14 2018

Status: Fixed (was: Available)
Looks like the roll fixed the bot: https://ci.chromium.org/buildbot/chromium.infra.cron/Build%20From%20Tarball/227

Sign in to add a comment