News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang by alexeldeib on Tuesday March 24, 2020 @07:50PM (#22680344)
Yep, exactly this. And quirks of glibc and friends make fully static compilation likely to produce odd failures, unfortunately.
Re:Zig cc: A drop-in replacement for GCC/Clang by saagarjha on Tuesday March 24, 2020 @09:43PM (#22681199)
Glibc does not really support static linking.
Re:Zig cc: A drop-in replacement for GCC/Clang by alexeldeib on Tuesday March 24, 2020 @10:10PM (#22681371)
Kind of my point — so much software depends on it, it’s difficult to statically link more things.
Re:Zig cc: A drop-in replacement for GCC/Clang by needs on Wednesday March 25, 2020 @09:08AM (#22684136)
Musl is a pretty good replacement, I have been using it for years without any troubles.
Re:Zig cc: A drop-in replacement for GCC/Clang by alexeldeib on Wednesday March 25, 2020 @02:28PM (#22687139)
I like Musl, but it is a source of pain at times too: https://github.com/kubernetes/kubernetes/issues/64924 https://github.com/kubernetes/kubernetes/issues/33554

Admittedly you could put that on the Kubernetes folks, but the same problem doesn't exist with glibc.