Since updating to 26.05 i had multiple crashes from different programs and in the crash log is always libc.so.6
I think the problem is that gcc got upgraded to version 15.2.0
To test my theory i would like to change the input package gcc to gcc14
I didn’t create a issue in github as i found multiple open issues where the crash report looks similar. (Example: 531906)
How can i change the gcc dependency for all my packages?
To the question you asked, perhaps Using Clang instead of GCC - Official NixOS Wiki provides the skeleton of what is needed to overlay something as foundational in the stdenv.
However, this seems like an XY problem.
In the issue you linked, I don’t think libc is the problem; it just looks like libc is handling the exit (or the sleep) in the other processor threads. Maybe others will see something different on looking at the trace.
Can you clarify if your actual issue is gcc instead of “multiple crashes from different programs [which are not described in this post]”.
1 Like
After your comment i no longer think that the issue is gcc.
I just have multiple crashes from different programs and as i saw libc.so.6 in every crash i remembered that in the release notes was mentioned the upgrade from gcc14 to gcc15 that’s why i suspected gcc15.
I will collect the crash reports in the future to find out what the problem is.
I run kde plasma 6.