| 21 Apr 2025 |
Tristan Ross | And I don't see a V=1 | 00:26:16 |
Tristan Ross | The source is this: https://github.com/torvalds/linux/tree/v6.6/tools/bpf/resolve_btfids | 00:26:35 |
dramforever | on one hand, V=1 is definitely passed down | 00:26:58 |
dramforever | the way it works in linux is in the top level Makefile it actually goes, if V set in command line, set KBUILD_VERBOSE to that | 00:27:22 |
Tristan Ross | Huh, even when it's building the host stuff? | 00:27:38 |
dramforever | and then it sends these down in environment variablesexport quiet Q KBUILD_VERBOSE | 00:27:43 |
dramforever | * and then it sends these down in environment variables export quiet Q KBUILD_VERBOSE | 00:27:46 |
Tristan Ross | https://github.com/torvalds/linux/blob/v6.6/tools/bpf/resolve_btfids/Makefile#L79-L83 | 00:28:48 |
Tristan Ross | 🤔 | 00:28:50 |
dramforever | i am so confused | 00:30:44 |
Tristan Ross | Me too | 00:31:20 |
Tristan Ross | I rebased https://github.com/NixOS/nixpkgs/pull/390631 and got into this mess lol | 00:31:40 |
Tristan Ross | Just a simple nix build .#pkgsLLVM.linux | 00:31:54 |
dramforever | just patch the makefile | 00:32:09 |
dramforever | print the heck out of everything | 00:32:24 |
dramforever | idk | 00:32:27 |
dramforever | what on earth is Build | 00:34:00 |
Tristan Ross | Huh, Build? | 00:34:43 |
dramforever | are the tools just in a completely different world from the rest of the kernel build system? | 00:34:57 |
Tristan Ross | I think so | 00:35:11 |
dramforever | https://github.com/torvalds/linux/blob/v6.6/tools/bpf/resolve_btfids/Build | 00:35:16 |
dramforever | are these... meant to be compilable outside the kernel? | 00:35:31 |
dramforever | lol tools/build/Makefile.build | 00:36:18 |
dramforever | tools/: we have kbuild at home | 00:36:31 |
dramforever | cursed | 00:37:07 |
Tristan Ross | So my copy-paste method of rebasing didn't work lol | 00:40:04 |
Tristan Ross | But the original PR just works basically | 00:40:12 |
Tristan Ross | 🤷 | 00:40:27 |
dramforever | oh i didn't realize you were testing a PR
| 01:22:05 |
Tristan Ross | I'm picking up development of the PR, I hope to fix it in 25.05 | 04:54:32 |