RFR: 8352481: Extra a.out generated after configure with clang
SendaoYan
syan at openjdk.org
Fri Mar 21 12:27:11 UTC 2025
On Fri, 21 Mar 2025 10:40:34 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Are you saying that running `clang -Wl,-v` sometimes, but not consistently, generated an `a.out` file for you? That's really absurd and clearly a bug in clang/lld. Have you reported this upstream?
>
> If this really happens and is a problem for you, I can accept that we will need to carry a workaround to delete the file. But you need to add a comment saying that this is a workaround, with a link to the upstream bug so we know when we can remove it.
Only when clang `-Wl,-v` and head command are used with pipeline, and clang uses absolute path, `a.out` will be intermittently generated. I am not sure whether this is a bug of clang or a bug of head command. I will submit an issue in llvm community for confirmation.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24125#issuecomment-2743215790
More information about the build-dev
mailing list