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

Issue 618710 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

Bad things happen with certain legal target names

Project Member Reported by roc...@chromium.org, Jun 9 2016

Issue description

If you do something like

component("system") {
  # ...
}

This will work just fine in many cases. Occasionally it will break the build in confusing ways because when the linker sees -lsystem it links against this instead of the standard system library.

Perhaps it would be worth emitting a warning or something if an output library name matches some predefined greylist for the current toolchain.

 

Sign in to add a comment