!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

234 Members
75 Servers

Load older messages


SenderMessageTime
15 Nov 2024
@emilazy:matrix.orgemilybut maybe :)09:00:50
@emilazy:matrix.orgemilythere's an Alyssa commit with a reproducer for the wrapped one09:00:57
@emilazy:matrix.orgemily hm, maybe all the reports were just for the wrapped compiler? 09:01:08
@emilazy:matrix.orgemilybut in that case I have no idea why someone felt the need to bake it into a patch09:01:15
@emilazy:matrix.orgemilylet me do some proper digging09:01:22
@p14:matrix.orgp14https://github.com/NixOS/nixpkgs/pull/153963 was the original patch that added it, but I did not understand the justification yet09:01:41
@emilazy:matrix.orgemilywow, backporting a change that incompatible to the previous release09:02:16
@p14:matrix.orgp14No wait, looking at the patch it just changed the implementation09:02:19
@emilazy:matrix.orgemilythe past is a foreign country09:02:27
@emilazy:matrix.orgemily
In reply to @p14:matrix.org
No wait, looking at the patch it just changed the implementation
yeah. but somehow fixed that bug? apparently?
09:02:32
@emilazy:matrix.orgemilyoh09:02:39
@emilazy:matrix.orgemily I guess the sed just rotted 09:02:40
@emilazy:matrix.orgemily 1e26d33371a4a7238a644c49ddae49a4009c927f is the patch with the reproducer btw 09:02:53
@emilazy:matrix.orgemilyI say the criteria for replacing the patch is to not regress that example and unwrapped compilers can behave however09:03:09
@emilazy:matrix.orgemily anyway, I chased back the -nostdlibinc through Git blame before, let me do it again now that I'm not just venting to the macOS room 😅 09:03:34
@emilazy:matrix.orgemily it broke things for us because libclang is essentially unwrapped 09:03:46
@emilazy:matrix.orgemilywhich is its own problem09:03:50
@emilazy:matrix.orgemilyand a good reason we need to move off wrappers in time09:04:00
@p14:matrix.orgp14There are old patches which mess with this. https://github.com/NixOS/nixpkgs/commit/006d8dcdc1127808d6c68f3b72f8c3d0d8e7901409:04:49
@p14:matrix.orgp14 This was the first match for DriverArgs.hasArg via git log -G DriverArgs.hasArg ./pkgs/development/compilers/llvm/. 09:05:15
@emilazy:matrix.orgemilyuh, wow09:05:27
@emilazy:matrix.orgemilyhm this looks different09:05:40
@emilazy:matrix.orgemilywell09:05:46
@p14:matrix.orgp14Might be some legacy here 😅09:05:58
@emilazy:matrix.orgemilyI guess it's similar in effect09:05:59
@emilazy:matrix.orgemilyyeah…09:06:06
@emilazy:matrix.orgemilyI mean how about we just move it to the wrapper?09:06:18
@emilazy:matrix.orgemilyit's still not the Right Thing IMO, but it causes a lot less damage in the wrapper09:06:35
@emilazy:matrix.orgemily FWIW the wrapper has a gross "purity filter" thing that tries to reparse the command line and filter out /usr paths 09:06:56
@emilazy:matrix.orgemilywe have like 5 layers of defence against system paths reaching compilers09:07:07

Show newer messages


Back to Room ListRoom Version: 9