Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong assembler flags in Windows toolchain #8924

Open
excitoon opened this issue Jul 18, 2019 · 6 comments
Open

Wrong assembler flags in Windows toolchain #8924

excitoon opened this issue Jul 18, 2019 · 6 comments
Labels
not stale Issues or PRs that are inactive but not considered stale P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Rules-CPP Issues for C++ rules type: bug

Comments

@excitoon
Copy link
Contributor

Please kindly look at a reproduction case here: https://github.com/excitoon/bazel-issues/tree/master/windows-assembler

C:\Users\Chebotarev_V\Documents\src\bazel-issues\windows-assembler>bazelisk build ...
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:test (13 packages loaded, 71 targets configured).
INFO: Found 1 target...
INFO: From Compiling 1.asm:
MASM : warning A4018:invalid command-line option : /bigobj
MASM : warning A4018:invalid command-line option : /Zm500
MASM : warning A4018:invalid command-line option : /Z500
MASM : warning A4018:invalid command-line option : /Z00
MASM : warning A4018:invalid command-line option : /Z0
MASM : warning A4018:invalid command-line option : /EHsc
MASM : warning A4018:invalid command-line option : /wd4351
MASM : warning A4018:invalid command-line option : /wd4291
MASM : warning A4018:invalid command-line option : /wd4250
MASM : warning A4018:invalid command-line option : /wd4996
 Assembling: 1.asm
Target //:test up-to-date:
  bazel-bin/test.exe
INFO: Elapsed time: 14.480s, Critical Path: 0.41s
INFO: 3 processes: 3 local.
INFO: Build completed successfully, 7 total actions

Version

C:\Users\Chebotarev_V\Documents\src\bazel-issues\windows-assembler>bazelisk version
Build label: 0.28.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Jul 10 16:15:38 2019 (1562775338)
Build timestamp: 1562775338
Build timestamp as int: 1562775338
@iirina iirina added area-Windows Windows-specific issues and feature requests untriaged labels Jul 18, 2019
@laszlocsomor
Copy link
Contributor

Thanks for reporting.
To be clear, the problem is passing the cl.exe flags to ml64.exe?

@laszlocsomor laszlocsomor added team-Rules-CPP Issues for C++ rules and removed area-Windows Windows-specific issues and feature requests labels Jul 19, 2019
@laszlocsomor
Copy link
Contributor

@scentini : I need your help triaging this please :)

@scentini scentini added P3 We're not considering working on this, but happy to review a PR. (No assignee) and removed untriaged labels Jul 19, 2019
@scentini
Copy link
Contributor

From a brief look, seems like we shouldn't add these flags to the assemble actions here.

I will take a look early next month to see if removing those actions from the default_compile_flags feature is enough.

@excitoon
Copy link
Contributor Author

@laszlocsomor exactly.

@oquenchil oquenchil added P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) type: bug and removed P3 We're not considering working on this, but happy to review a PR. (No assignee) labels Nov 19, 2020
@sgowroji sgowroji added the stale Issues or PRs that are stale (no activity for 30 days) label Feb 15, 2023
@sgowroji
Copy link
Member

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.

@excitoon
Copy link
Contributor Author

excitoon commented Feb 15, 2023 via email

@sgowroji sgowroji reopened this Feb 15, 2023
@sgowroji sgowroji added not stale Issues or PRs that are inactive but not considered stale and removed stale Issues or PRs that are stale (no activity for 30 days) labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not stale Issues or PRs that are inactive but not considered stale P4 This is either out of scope or we don't have bandwidth to review a PR. (No assignee) team-Rules-CPP Issues for C++ rules type: bug
Projects
None yet
Development

No branches or pull requests

6 participants