Static build is broken because clang in nixpkgs is broken for static libgcc #527
Labels
No labels
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/store
bug
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
RFD
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#527
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a truly ridiculous bug.
There is one bug that is easy to fix:
After fixing this we have another worse bug:
Builds fail with
meson.build:341:9: ERROR: Dependency lookup for toml11 with method 'cmake' failed: Dependency toml11 not found: Unable to obtain CMake system information
.Looking at the meson log, we find:
This is because clang is busted and requires a shared build of libgcc to be able to compile anything (
libgcc_eh.a
only exists on--enable-shared
builds of libgcc).135d92f903/clang/lib/Driver/ToolChains/CommonArgs.cpp (L2055-L2066)
Which then lands back at nixpkgs with https://github.com/NixOS/nixpkgs/issues/177129
This isn't acceptable to ship in a release, so this is a 2.92 release blocker.
This issue was mentioned on Gerrit on the following CLs: