-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
premerge-monolithic-windows
build fails in the CI
#112535
Comments
@llvm/issue-subscribers-flang-frontend Author: Oliver Stöneberg (firewave)
It is not clear what is causing the failure in the current output which does not contain any error details.
It started with https://lab.llvm.org/buildbot/#/builders/35/builds/2200.
But that no longer seems to be the cause. The job does use |
The initial (or additional different?) issue might have been with flang but now it isn't able to build a single source file. |
flang + EDIT: My knee may have jerked too fast in response to the "flang + variant" stimulus. The syndrome is different from microsoft/STL#4959: that was Clang-only due to some difference in how and when Clang and MSVC check the semantics of special member functions that I never pinned down. Once I found the fix, and decided it was a correctness issue in the STL, I didn't bother to keep digging in. This case, however, is an MSVC failure so it may have a different root cause. Or a change in flang may have tweaked things just enough for MSVC to run into the STL's lack of short-circuiting in our constraints on EDIT HARDER: To save some investigation, our suggested workaround is: // Many classes below simply wrap a std::variant<> discriminated union,
// which is conventionally named "u".
#define UNION_CLASS_BOILERPLATE(classname) \
- template <typename A, typename = common::NoLvalue<A>> \
+ template <typename A, typename = common::NoLvalue<A>, typename = std::enable_if_t<std::is_constructible<decltype(u), A>::value> \
classname(A &&x) : u(std::move(x)) {} \
using UnionTrait = std::true_type; \
BOILERPLATE(classname) |
This started working again with https://lab.llvm.org/buildbot/#/builders/35/builds/2958. There is a lot of changes in that build so it is hard to tell what fixed it. |
It is not clear what is causing the failure in the current output which does not contain any error details.
It started with https://lab.llvm.org/buildbot/#/builders/35/builds/2200.
But that no longer seems to be the cause.
The job does use
sccache
so maybe the failure is related to that.The text was updated successfully, but these errors were encountered: