-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
Open
Labels
0.kind: bugSomething is brokenSomething is broken0.kind: regressionSomething that worked before working no longerSomething that worked before working no longer1.severity: blockerThis is preventing another PR or issue from being completedThis is preventing another PR or issue from being completed
Milestone
Description
andy@xps:~/tmp$ NIX_DEBUG=true gcc
(some good flags for dealing with /nix/store/* and then...)
-O2
-D_FORTIFY_SOURCE=2
-fstack-protector-strong
--param
ssp-buffer-size=4
-fPIC
-fno-strict-overflow
-Wformat
-Wformat-security
-Werror=format-security
These flags should be enabled when compiling nix packages, but they should not be always on for general compiler use.
This has caused a broken debugging experience for me on the project I was working on.
Most projects have a "debug build" that has optimizations off, and this prevents that from working correctly.
NixOS version 16.09pre90254.6b20d5b (Flounder)
Reactions are currently unavailable
Metadata
Metadata
Labels
0.kind: bugSomething is brokenSomething is broken0.kind: regressionSomething that worked before working no longerSomething that worked before working no longer1.severity: blockerThis is preventing another PR or issue from being completedThis is preventing another PR or issue from being completed