New issue
Advanced search Search tips

Issue 801681 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 2018
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 724628



Sign in to add a comment

lld does not build in toolchain builder with USE="llvm-next default-libcxx"

Project Member Reported by manojgupta@chromium.org, Jan 12 2018

Issue description

lld links with llvm libraries. Therefore, it needs to use the same c++ library as llvm when building.
However, in toolchain builders llvm is built with libstdc++ but lld is getting built with libc++.
This creates an issue where lld can not be linked with llvm libraries.

This is a temporary issue which should go away once everything is migrated to libc++. Fix a fix to handle this for time being.


 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/c9ee36c0f8b0d9448bf2328df03bc25671b6992b

commit c9ee36c0f8b0d9448bf2328df03bc25671b6992b
Author: Manoj Gupta <manojgupta@google.com>
Date: Sat Jan 20 04:35:40 2018

lld: Detect the c++ library used in llvm.

This is hack just to ensure that we can build
lld when llvm is linked with either of libc++ or libstdc++.

Remove this hack when everything is moved to libc++.

BUG= chromium:801681 
BUG= chromium:724628 

TEST=sudo emerge lld works when clang uses libc++ as default.

Change-Id: Id128ce1f0807ca877bb904a212dd392167796622
Reviewed-on: https://chromium-review.googlesource.com/864493
Commit-Ready: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/c9ee36c0f8b0d9448bf2328df03bc25671b6992b/sys-devel/lld/lld-6.0_pre317203-r2.ebuild

Status: Verified (was: Untriaged)

Sign in to add a comment