New issue
Advanced search Search tips

Issue 696589 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Pass `-B$(dirname $(xcrun -f ld))` to clang when linking

Project Member Reported by thakis@chromium.org, Feb 27 2017

Issue description

We've had at least 3 examples of people installing ld over macports and then being confused that their build fails because macports's ld is broken.

(https://bugs.chromium.org/p/v8/issues/detail?id=5994 , https://bugs.chromium.org/p/chromium/issues/detail?id=649952 , and someone on IRC.)

If we passed `-B$(dirname $(xcrun -f ld))` to clang during links, it'd always use Xcode's clang, even if macports is around, in $PATH, and ready to ruin the party.
 

Comment 1 by thakis@chromium.org, Feb 27 2017

Cc: rsesek@chromium.org sdefresne@chromium.org

Comment 2 by a...@chromium.org, Feb 27 2017

Status: Available (was: Untriaged)
Project Member

Comment 3 by sheriffbot@chromium.org, Mar 6 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by tapted@chromium.org, Mar 12 2018

Status: Available (was: Untriaged)
[mac triage] not certain this is still relevant. if someone sees this and knows, feel free to close it out.

Sign in to add a comment