-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
raw-dylib usage in std broke thumbv7a-*-windows-msvc targets #134565
Copy link
Copy link
Closed
Labels
-Zfixed-x18Unstable option: -Zfixed-x18Unstable option: -Zfixed-x18A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-crossArea: Cross compilationArea: Cross compilationC-bugCategory: This is a bug.Category: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
-Zfixed-x18Unstable option: -Zfixed-x18Unstable option: -Zfixed-x18A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-crossArea: Cross compilationArea: Cross compilationC-bugCategory: This is a bug.Category: This is a bug.I-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.O-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Starting from
nightly-2024-02-26rust version1.78.0-nightly (0ecbd0605 2024-02-25),stdforthumbv7a-uwp-windows-msvcno longer builds:Output:
This looks very similar to the error reported in #120921 , which indicates somewhere in std is using
raw-dylibalready and triggers the same issue within llvm. Looks like #121337 is the first PR that introducesraw-dyliband so far there are a handful of other places (like f68529f) using it as well. Given llvm is having issues for this particular platform, can we consider excludingthumbv7afrom usingraw-dylibinstd, or at least there would be a way to workaround this?Ping @ChrisDenton @bjorn3