On 01/03/2021 17:59, Andrew Cooper wrote: > On 01/03/2021 09:58, Roger Pau Monne wrote: >> clang++ relies on the C++ headers installed by g++, or else a clang >> build will hit the following error: >> >> <built-in>:3:10: fatal error: 'cstring' file not found >> #include "cstring" >> ^~~~~~~~~ >> 1 error generated. >> make[10]: *** [Makefile:120: headers++.chk] Error 1 >> >> Reported-by: Stefano Stabellini <sstabell...@kernel.org> >> Signed-off-by: Roger Pau Monné <roger....@citrix.com> >> --- >> Cc: Ian Jackson <i...@xenproject.org> >> No real risk here from a release PoV, it's just pulling a package >> required for the Alpine clang build. Worse that cold happen is that >> the Alpine clang build broke, but it's already broken. > Shouldn't this be fixed upstream in Alpine? Its clearly a packaging bug.
Or (thinking about it), we've got a build system bug using g++ when it should be using clang++. How does this check work (without g++) on a non-clang build? ~Andrew