On Thu, 15 Feb 2024 15:07:46 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> I don't understand why I have never thought of this before. If we add `-x` to > the set of bash arguments when running with LOG=debug, we get output of *all* > shell commands that make is running, even those for $(shell). > > This makes it soooo much easier to understand what is actually happening in > the makefile! (To the point where we could actually consider moving other > stuff away from the debug level.) I'm not sure, but I don't think so. Even if we get duplicate output, this way we can understand where things are coming from. I also think there is a difference in e.g. how variables are expanded. At least, lets start here, and then we might go over the entire debug logging and see what we can cut out. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17875#issuecomment-1948308937