Re: RFR: 8352481: Extra a.out generated after configure with clang [v4]

2025-04-05 Thread Magnus Ihse Bursie
On Mon, 24 Mar 2025 15:31:23 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang [v7]

2025-03-25 Thread Magnus Ihse Bursie
On Tue, 25 Mar 2025 12:40:42 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang [v7]

2025-03-25 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR force use of lld when toolch

Re: RFR: 8352481: Extra a.out generated after configure with clang [v5]

2025-03-25 Thread SendaoYan
On Tue, 25 Mar 2025 11:32:17 GMT, Magnus Ihse Bursie wrote: > And no, passing `-fuse-ld=lld` to the linker at all time does not make this a > big PR. Try something like this (untested, but should work): Okey, this change works. I was mistakenly though we should use `BASIC_LDFLAGS` in `FLAGS_SE

Re: RFR: 8352481: Extra a.out generated after configure with clang [v6]

2025-03-25 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR add a command to remove the

Re: RFR: 8352481: Extra a.out generated after configure with clang [v5]

2025-03-25 Thread Magnus Ihse Bursie
On Tue, 25 Mar 2025 04:10:53 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang [v5]

2025-03-25 Thread Magnus Ihse Bursie
On Tue, 25 Mar 2025 04:10:53 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang [v4]

2025-03-24 Thread SendaoYan
On Mon, 24 Mar 2025 15:31:41 GMT, Magnus Ihse Bursie wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fix spelling bug > > `RM` is actually defined as `rm -f` so the `-f` is not necessary. > > I'm still not very happy

Re: RFR: 8352481: Extra a.out generated after configure with clang [v5]

2025-03-24 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR add a command to remove the

Re: RFR: 8352481: Extra a.out generated after configure with clang [v3]

2025-03-24 Thread SendaoYan
On Mon, 24 Mar 2025 13:27:19 GMT, Erik Joelsson wrote: >> SendaoYan has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use "-f" parameter instead of "-rf" > > make/autoconf/toolchain.m4 line 536: > >> 534: >> 535: LINKER_VERSION_STRIN

Re: RFR: 8352481: Extra a.out generated after configure with clang [v4]

2025-03-24 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR add a command to remove the

Re: RFR: 8352481: Extra a.out generated after configure with clang [v3]

2025-03-24 Thread Erik Joelsson
On Sat, 22 Mar 2025 06:50:48 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-22 Thread SendaoYan
On Sat, 22 Mar 2025 03:43:58 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang [v3]

2025-03-21 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR add a command to remove the

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread Jaikiran Pai
On Sat, 22 Mar 2025 03:43:58 GMT, SendaoYan wrote: >> Hi all, >> >> There is an extra a.out file generated located in repository root directory >> after execute the configure command with llvm/clang compiler sometimes, not >> always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread SendaoYan
On Thu, 20 Mar 2025 06:57:04 GMT, SendaoYan wrote: > Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, sho

Re: RFR: 8352481: Extra a.out generated after configure with clang [v2]

2025-03-21 Thread SendaoYan
> Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, shows > as below. This PR add a command to remove the

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread Magnus Ihse Bursie
On Thu, 20 Mar 2025 06:57:04 GMT, SendaoYan wrote: > Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, sho

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread SendaoYan
On Thu, 20 Mar 2025 06:57:04 GMT, SendaoYan wrote: > Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, sho

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread SendaoYan
On Fri, 21 Mar 2025 10:40:34 GMT, Magnus Ihse Bursie 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

Re: RFR: 8352481: Extra a.out generated after configure with clang

2025-03-21 Thread Magnus Ihse Bursie
On Thu, 20 Mar 2025 06:57:04 GMT, SendaoYan wrote: > Hi all, > > There is an extra a.out file generated located in repository root directory > after execute the configure command with llvm/clang compiler sometimes, not > always. The a.out was generate by `$LINKER -Wl,-v 2>&1 | $HEAD -n 1`, sho