-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
gcc and gdb: fix clang build #28050
gcc and gdb: fix clang build #28050
Conversation
@Ericson2314 Is this really how we're supposed to be fixing this? |
@LnL7 Yes indeed! Now, or when I eventually get around to overhauling the GCC derivation, I'll make a upstream issue about this. Thanks again for fixing these, and sorry again I didn't do it myself. |
Ok, I'll merge this a workaround for now then. |
@Ericson2314 can you elaborate in a sentence or two on the upstream issue? Understanding what's going wrong will help us diagnose any other weirdness that crops up 😄 |
@Ericson2314 apparently this doesn't really work. gcc -o hello hello.c
./hello
Killed: 9 |
I think this is causing problems
If you look at
EDIT: |
@copumpkin There's not really much to say, I'm afraid :). If my old commit caused the problems, by process of elimination those new variables probably caused it. OTOH https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html just made me realize my |
Motivation for this change
Fixes #27889
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
NixOSnix-shell -p nox --run "nox-review wip"
gcc
gfortran
gdb
./result/bin/
)