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

Issue 782716 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

gn analyze doesn't work correctly for alternate toolchains

Project Member Reported by dpranke@chromium.org, Nov 8 2017

Issue description

See  bug 736215  for background and discussion.

In particular:

"if your change affects a target that is built with one of the alternate toolchains, then GN returns the label of that toolchain from analyze (e.g., `//chrome/android:monochrome(..android_clang_arm)` rather than `//chrome/android:monochrome`; however, (a) MB doesn't know how to deal with translating the toolchain part of the label back into the matching ninja target, partially because (b) GN doesn't generate phony targets for targets in alternate toolchains.

This shows up most commonly in the android monochrome builds (which build lots of things for both arm32 and arm64), but will also show up in the x86 windows build (where we build some things for both x86 and x64), and can potentially show up even for things in other toolchains.

The right long-term fix is probably to make GN return the output paths for the targets in `compile_targets`, rather than the labels; however, that'll be an interface change so we might want to use a flag to control this."
 
Project Member

Comment 1 by sheriffbot@chromium.org, Nov 8

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.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment