Quoted, absolute -I paths break out-of-tree Makefiles [regression]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Systemtap on NixOS generates
[Makefiles](https://hastebin.com/nejijihege.mk#L124) adding
-I"/absolute/path" to EXTRA_CPATH.

This works fine, when used with an in-tree kernel build. In NixOS we
save space on the kernel-dev package, by making [modules_prepare in a
O=oot build and delivering
oot](https://github.com/NixOS/nixpkgs/blob/bb8ded9a78b61f2a23b2e4a0e516533ae0c0d1d4/pkgs/os-specific/linux/kernel/manual-config.nix#L151)


Up to at least 4.4, that -I"/quoted/absolute/stap-include" works with
O=oot. Starting with at most 4.9.2, that flag gets mangled into
-I/absolute/oot"/quoted/absolute/stap-include".

Attached is a script, that demonstrates this issue, could somebody
with a repository clone bisect this for me, please?

best regards

Attachment: test-quoted-kbuild-makefile.sh
Description: Bourne shell script


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux