I was recently working on gcc builds and this disagreement currently
makes stuff unbuildable. Hence I looked into solutions and/or
workarounds.
On Tue, Mar 05, 2024 at 09:50:27AM +0100, Helmut Grohne wrote:
You just said that the search path used during the build of the
toolchain and the one for everything else are unrelated. So you are
free to create $BUILD/tmp-include with symlinks for asm, asm-generic, linux.
The toolchain as installed already finds all headers. So I still don't see why we need this in the final system.
I find this argument fairly convincing and hope Matthias also does.
As a result, I implemented the proposed change and am attaching it for discussion here. I've implemented it in a way that if there is a sysroot linux header installation, it'll be preferred. Do you see any downsides
of this approach?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:21:08 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,264 |