Turn down link.exe bots |
||||
Issue descriptionWe currently have 4 bots using link.exe on the clangtot waterfall. Now that we're on lld on stable, we can probably remove them. Unless someone shouts, I'll do this soon. (They're currently red and have been for a while; with: FAILED: test_process.exe test_process.exe.pdb cmd /c C:/b/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py delete-file ./test_process.exe.pdb && C:/b/depot_tools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x86 False link.exe /nologo /OUT:./test_process.exe /PDB:./test_process.exe.pdb @./test_process.exe.rsp libcmt.lib(exe_main.obj) : error LNK2019: unresolved external symbol _main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ) https://cs.chromium.org/chromium/src/chrome/chrome_cleaner/test/test_process_main.cc?type=cs&sq=package:chromium&g=0&l=30 -- I think this is missing a /subsystem:windows flag and doesn't have wWinMain()s parameters exactly right to get the autodetection of the flag working in link.exe -- this specific thing is probably an lld bug, but if we turn down these bots anyways we probably don't need to worry about it.)
,
Aug 3
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/32a236abb4fa125e97fd3e157bc2d6c76bce976a commit 32a236abb4fa125e97fd3e157bc2d6c76bce976a Author: Bruce Dawson <brucedawson@chromium.org> Date: Fri Aug 03 19:01:43 2018 Specify correct /SUBSYSTEM for test_process.exe test_process.exe was being linked with /SUBSYSTEM:CONSOLE, despite being a windowed app with a wWinMain entry point. With lld-link.exe this seems to work fine, suggesting that lld ignores the/SUBSYSTEM flag. lld-link may change this behavior (https://bugs.llvm.org/show_bug.cgi?id=38397) so it seems worthwhile to fix the build flags for this executable. Doing so will also be less confusing. Bug: 869503 Change-Id: I52a61aab678fa135f3da8c10bc82a4cdf649b5ae Reviewed-on: https://chromium-review.googlesource.com/1157656 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Reviewed-by: Chris Sharp <csharp@chromium.org> Cr-Commit-Position: refs/heads/master@{#580616} [modify] https://crrev.com/32a236abb4fa125e97fd3e157bc2d6c76bce976a/chrome/chrome_cleaner/test/BUILD.gn
,
Aug 6
,
Aug 6
,
Aug 6
(After https://reviews.llvm.org/D50316 lld-link should fail like link.exe for this particular example. Once it's landed and rolled in, I'll send try jobs for a revert of your cl to verify. Won't land the revert of course.)
,
Aug 6
The following revision refers to this bug: https://chromium.googlesource.com/chromium/tools/build/+/494567f00d28399a84135dbfc5a87cb3fbc5aee4 commit 494567f00d28399a84135dbfc5a87cb3fbc5aee4 Author: Nico Weber <thakis@chromium.org> Date: Mon Aug 06 12:59:53 2018 Remove link.exe bots, build side. Bug: 869503 Change-Id: I892853dc92da782d24a7dad164fc1a50348996e4 Reviewed-on: https://chromium-review.googlesource.com/1163310 Reviewed-by: Hans Wennborg <hans@chromium.org> Reviewed-by: Sergiy Byelozyorov <sergiyb@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> [modify] https://crrev.com/494567f00d28399a84135dbfc5a87cb3fbc5aee4/scripts/slave/README.recipes.md [modify] https://crrev.com/494567f00d28399a84135dbfc5a87cb3fbc5aee4/scripts/slave/recipe_modules/chromium_tests/chromium_clang.py [modify] https://crrev.com/494567f00d28399a84135dbfc5a87cb3fbc5aee4/scripts/slave/recipe_modules/chromium_tests/tests/api/compile_specific_targets.py [modify] https://crrev.com/494567f00d28399a84135dbfc5a87cb3fbc5aee4/scripts/slave/recipe_modules/chromium_tests/tests/api/compile_specific_targets.expected/update_clang.json [modify] https://crrev.com/494567f00d28399a84135dbfc5a87cb3fbc5aee4/masters/master.chromium.clang/builders.pyl
,
Aug 6
The following revision refers to this bug: https://chrome-internal.googlesource.com/infradata/master-manager/+/9424fdecea84cf8b44c029936832330d06d3c7d6 commit 9424fdecea84cf8b44c029936832330d06d3c7d6 Author: Nico Weber <thakis@google.com> Date: Mon Aug 06 13:11:20 2018
,
Aug 6
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b commit 9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b Author: Nico Weber <thakis@chromium.org> Date: Mon Aug 06 16:03:23 2018 Remove link.exe bots, src side. TBR=jchinlee Bug: 869503 Change-Id: Ice82ca146c5c7d1dea36725d7e9170e5a22fabda Reviewed-on: https://chromium-review.googlesource.com/1163311 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by: Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/master@{#580888} [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/infra/config/global/luci-milo-dev.cfg [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/infra/config/global/luci-milo.cfg [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/testing/buildbot/chromium.clang.json [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/testing/buildbot/test_suite_exceptions.pyl [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/testing/buildbot/waterfalls.pyl [modify] https://crrev.com/9b72f5fdbec2ac1e5b3d4f23dbe80835b241908b/tools/mb/mb_config.pyl
,
Aug 6
,
Aug 28
I sent a try job with a patch that undoes bruce's change in comment 8 here: https://chromium-review.googlesource.com/c/chromium/src/+/1194471 lld now fails too, but the error message is less good (I'll make a patch): https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8936920114201875680/+/steps/compile__with_patch_/0/stdout FAILED: test_process.exe test_process.exe.pdb ninja -t msvc -e environment.x86 -- ../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo /OUT:./test_process.exe /PDB:./test_process.exe.pdb @./test_process.exe.rsp lld-link: error: entry point must be defined
,
Sep 16
Filed https://bugs.llvm.org/show_bug.cgi?id=38972 for the better diag on missing main.
,
Oct 3
Finally fixed that one in upstream r343698, so we should now have parity with link.exe for that particular issue. |
||||
►
Sign in to add a comment |
||||
Comment 1 by brucedaw...@chromium.org
, Aug 1