mgorny wrote:
I'm seeing two test regressions with this change, on Gentoo:
```
FAIL: Clang :: Driver/riscv64-toolchain-extra.c (15027 of 26255)
******************** TEST 'Clang :: Driver/riscv64-toolchain-extra.c' FAILED
********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 13
rm -rf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp
# executed command: rm -rf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp
# RUN: at line 14
mkdir -p
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin
# executed command: mkdir -p
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin
# RUN: at line 15
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/clang
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/clang
# RUN: at line 16
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv64_nogcc_tree/bin/riscv64-unknown-elf-ld
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/riscv64-unknown-elf-ld
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv64_nogcc_tree/bin/riscv64-unknown-elf-ld
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/riscv64-unknown-elf-ld
# RUN: at line 17
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/riscv64-unknown-elf
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv64_nogcc_tree/riscv64-unknown-elf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/riscv64-unknown-elf
# RUN: at line 18
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c
-### -no-canonical-prefixes
--gcc-toolchain=/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/invalid
--target=riscv64-unknown-elf --rtlib=platform -fuse-ld=ld 2>&1 |
/usr/lib/llvm/24/bin/FileCheck -check-prefix=C-RV64-BAREMETAL-LP64-NOGCC
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c
# executed command:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c
'-###' -no-canonical-prefixes
--gcc-toolchain=/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/invalid
--target=riscv64-unknown-elf --rtlib=platform -fuse-ld=ld
# executed command: /usr/lib/llvm/24/bin/FileCheck
-check-prefix=C-RV64-BAREMETAL-LP64-NOGCC
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c
# .---command stderr------------
# |
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c:31:33:
error: C-RV64-BAREMETAL-LP64-NOGCC: expected string not found in input
# | // C-RV64-BAREMETAL-LP64-NOGCC:
"{{.*}}/riscv64-nogcc/{{.*}}/riscv64-unknown-unknown-elf/clang_rt.crtbegin.o"
# | ^
# | <stdin>:7:365: note: scanning from here
# |
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/riscv64-unknown-elf-ld"
"-Bstatic" "-m" "elf64lriscv" "-X"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib/crt0.o"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/clang_rt.crtbegin.o"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/temp/riscv64-toolchain-extra-035eb7.o"
"--start-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/libclang_rt.builtins.a"
"-lc" "-lgloss" "--end-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/clang_rt.crtend.o"
"-o" "a.out"
# |
^
# | <stdin>:7:440: note: possible intended match here
# |
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/riscv64-unknown-elf-ld"
"-Bstatic" "-m" "elf64lriscv" "-X"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib/crt0.o"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/clang_rt.crtbegin.o"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/../riscv64-unknown-elf/lib"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/temp/riscv64-toolchain-extra-035eb7.o"
"--start-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/libclang_rt.builtins.a"
"-lc" "-lgloss" "--end-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv64-unknown-unknown-elf/clang_rt.crtend.o"
"-o" "a.out"
# |
^
# |
# | Input file: <stdin>
# | Check file:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv64-toolchain-extra.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 24.0.0git99988429
# | 2: Target: riscv64-unknown-unknown-elf
# | 3: Thread model: posix
# | 4: InstalledDir:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin
# | 5: Build config: +assertions
# | 6:
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv64-toolchain-extra.c.tmp/riscv64-nogcc/bin/clang"
"-cc1" "-triple" "riscv64-unknown-unknown-elf" "-emit-obj" "-dumpdir" "a-"
"-disable-free" "-clear-ast-before-backend" "-main-file-name"
"riscv64-toolchain-extra.c" "-mrelocation-model" "static" "-mframe-pointer=all"
"-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases"
"-nostdsysteminc" "-target-cpu" "generic-rv64" "-target-feature" "+i"
"-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+c"
"-target-feature" "+zmmul" "-target-feature" "+zaamo" "-target-feature"
"+zalrsc" "-target-feature" "+zca" "-target-feature" "-b" "-target-feature"
"-d" "-target-feature" "-e" "-target-feature" "-f" "-target-feature" "-h"
"-target-feature" "-q" "-target-feature" "-sdext" "-target-feature" "-sdtrig"
"-target-feature" "-sha" "-target-feature" "-shcounterenw" "-target-feature"
"-shgatpa" "-target-feature" "-shlcofideleg" "-target-feature" "-shtvala"
"-target-feature" "-shvsatpa" "-target-feature" "-shvstvala" "-target-feature"
"-shvstvecd" "-target-feature" "-smaia" "-target-feature" "-smcdeleg"
"-target-feature" "-smcntrpmf" "-target-feature" "-smcsrind" "-target-feature"
"-smctr" "-target-feature" "-smdbltrp" "-target-feature" "-smepmp"
"-target-feature" "-smmpm" "-target-feature" "-smnpm" "-target-feature"
"-smpmpdeleg" "-target-feature" "-smrnmi" "-target-feature" "-smstateen"
"-target-feature" "-ssaia" "-target-feature" "-ssccfg" "-target-feature"
"-ssccptr" "-target-feature" "-sscofpmf" "-target-feature" "-sscounterenw"
"-target-feature" "-sscsrind" "-target-feature" "-ssctr" "-target-feature"
"-ssdbltrp" "-target-feature" "-ssnpm" "-target-feature" "-sspm"
"-target-feature" "-sspmp" "-target-feature" "-sspmpen" "-target-feature"
"-ssqosid" "-target-feature" "-ssstateen" "-target-feature" "-ssstrict"
"-target-feature" "-sstc" "-target-feature" "-sstvala" "-target-feature"
"-sstvecd" "-target-feature" "-ssu64xl" "-target-feature" "-supm"
"-target-feature" "-svade" "-target-feature" "-svadu" "-target-feature"
"-svbare" "-target-feature" "-svinval" "-target-feature" "-svnapot"
"-target-feature" "-svpbmt" "-target-feature" "-svrsw60t59b" "-target-feature"
"-svvptc" "-target-feature" "-v" "-target-feature" "-xaifet" "-target-feature"
"-xandesbfhcvt" "-target-feature" "-xandesperf" "-target-feature"
"-xandesvbfhcvt" "-target-feature" "-xandesvdot" "-target-feature"
"-xandesvpackfph" "-target-feature" "-xandesvsinth" "-target-feature"
"-xandesvsintload" "-target-feature" "-xcheriot" "-target-feature" "-xcvalu"
"-target-feature" "-xcvbi" "-target-feature" "-xcvbitmanip" "-target-feature"
"-xcvelw" "-target-feature" "-xcvmac" "-target-feature" "-xcvmem"
"-target-feature" "-xcvsimd" "-target-feature" "-xmipscbop" "-target-feature"
"-xmipscmov" "-target-feature" "-xmipsexectl" "-target-feature" "-xmipslsp"
"-target-feature" "-xqccmp" "-target-feature" "-xqci" "-target-feature"
"-xqcia" "-target-feature" "-xqciac" "-target-feature" "-xqcibi"
"-target-feature" "-xqcibm" "-target-feature" "-xqcicli" "-target-feature"
"-xqcicm" "-target-feature" "-xqcics" "-target-feature" "-xqcicsr"
"-target-feature" "-xqciint" "-target-feature" "-xqciio" "-target-feature"
"-xqcilb" "-target-feature" "-xqcili" "-target-feature" "-xqcilia"
"-target-feature" "-xqcilo" "-target-feature" "-xqcilsm" "-target-feature"
"-xqcisim" "-target-feature" "-xqcisls" "-target-feature" "-xqcisync"
"-target-feature" "-xsfcease" "-target-feature" "-xsfmm128t" "-target-feature"
"-xsfmm16t" "-target-feature" "-xsfmm32a" "-target-feature" "-xsfmm32a16f"
"-target-feature" "-xsfmm32a32f" "-target-feature" "-xsfmm32a8f"
"-target-feature" "-xsfmm32a8i" "-target-feature" "-xsfmm32t" "-target-feature"
"-xsfmm64a64f" "-target-feature" "-xsfmm64t" "-target-feature" "-xsfmmbase"
"-target-feature" "-xsfvcp" "-target-feature" "-xsfvfbfexp16e"
"-target-feature" "-xsfvfexp16e" "-target-feature" "-xsfvfexp32e"
"-target-feature" "-xsfvfexpa" "-target-feature" "-xsfvfexpa64e"
"-target-feature" "-xsfvfnrclipxfqf" "-target-feature" "-xsfvfwmaccqqq"
"-target-feature" "-xsfvqmaccdod" "-target-feature" "-xsfvqmaccqoq"
"-target-feature" "-xsifivecdiscarddlone" "-target-feature"
"-xsifivecflushdlone" "-target-feature" "-xsmtvdot" "-target-feature"
"-xsmtvdotii" "-target-feature" "-xtheadba" "-target-feature" "-xtheadbb"
"-target-feature" "-xtheadbs" "-target-feature" "-xtheadcmo" "-target-feature"
"-xtheadcondmov" "-target-feature" "-xtheadfmemidx" "-target-feature"
"-xtheadmac" "-target-feature" "-xtheadmemidx" "-target-feature"
"-xtheadmempair" "-target-feature" "-xtheadsync" "-target-feature"
"-xtheadvdot" "-target-feature" "-xwchc" "-target-feature" "-za128rs"
"-target-feature" "-za64rs" "-target-feature" "-zabha" "-target-feature"
"-zacas" "-target-feature" "-zalasr" "-target-feature" "-zama16b"
"-target-feature" "-zawrs" "-target-feature" "-zba" "-target-feature" "-zbb"
"-target-feature" "-zbc" "-target-feature" "-zbkb" "-target-feature" "-zbkc"
"-target-feature" "-zbkx" "-target-feature" "-zbs" "-target-feature" "-zcb"
"-target-feature" "-zcd" "-target-feature" "-zce" "-target-feature" "-zcf"
"-target-feature" "-zclsd" "-target-feature" "-zcmop" "-target-feature" "-zcmp"
"-target-feature" "-zcmt" "-target-feature" "-zdinx" "-target-feature" "-zfa"
"-target-feature" "-zfbfmin" "-target-feature" "-zfh" "-target-feature"
"-zfhmin" "-target-feature" "-zfinx" "-target-feature" "-zhinx"
"-target-feature" "-zhinxmin" "-target-feature" "-zic64b" "-target-feature"
"-zicbom" "-target-feature" "-zicbop" "-target-feature" "-zicboz"
"-target-feature" "-ziccamoa" "
# | ...
# `---data was truncated (10240/20588) (change limit with -D output_limit=N)
# error: command failed with exit status: 1
--
********************
FAIL: Clang :: Driver/riscv32-toolchain-extra.c (15031 of 26255)
******************** TEST 'Clang :: Driver/riscv32-toolchain-extra.c' FAILED
********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 13
rm -rf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp
# executed command: rm -rf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp
# RUN: at line 14
mkdir -p
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin
# executed command: mkdir -p
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin
# RUN: at line 15
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/clang
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin
/clang
# RUN: at line 16
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv32_nogcc_tree/bin/riscv32-unknown-elf-ld
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain
-extra.c.tmp/riscv32-nogcc/bin/riscv32-unknown-elf-ld
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv32_nogcc_tree/bin/riscv32-unknown-elf-ld
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Outp
ut/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/riscv32-unknown-elf-ld
# RUN: at line 17
ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.
c.tmp/riscv32-nogcc/riscv32-unknown-elf
# executed command: ln -s
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/Inputs/basic_riscv32_nogcc_tree/riscv32-unknown-elf
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/riscv32-unknown-elf
# RUN: at line 18
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c
-### -no-canonical-prefixes
--gcc-toolchain=/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/invalid
--target=riscv32-unknown-elf --rtlib=platform -fuse-ld=ld 2>&1 |
/usr/lib/llvm/24/bin/FileCheck -check-prefix=C-RV32-BAREMETAL-ILP32-NOGCC
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c
# executed command:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/clang
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c
'-###' -no-canonical-prefixes
--gcc-toolchain=/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/invalid
--target=riscv32-unknown-elf --rtlib=platform -fuse-ld=ld
# executed command: /usr/lib/llvm/24/bin/FileCheck
-check-prefix=C-RV32-BAREMETAL-ILP32-NOGCC
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c
# .---command stderr------------
# |
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c:31:34:
error: C-RV32-BAREMETAL-ILP32-NOGCC: expected string not found in input
# | // C-RV32-BAREMETAL-ILP32-NOGCC:
"{{.*}}/riscv32-nogcc/{{.*}}/riscv32-unknown-unknown-elf/clang_rt.crtbegin.o"
# | ^
# | <stdin>:7:365: note: scanning from here
# |
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/riscv32-unknown-elf-ld"
"-Bstatic" "-m" "elf32lriscv" "-X"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/../riscv32-unknown-elf/lib/crt0.o"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv3
2-unknown-unknown-elf/clang_rt.crtbegin.o"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/../riscv32-unknown-elf/lib"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-unknown-unknown-elf"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/../riscv32-unknown-elf/lib"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/temp/riscv32-toolchain-extra-ce4881.o"
"--start-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-u
nknown-unknown-elf/libclang_rt.builtins.a" "-lc" "-lgloss" "--end-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-unknown-unknown-elf/clang_rt.crtend.o"
"-o" "a.out"
# |
^
# | <stdin>:7:440: note: possible intended match here
# |
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/riscv32-unknown-elf-ld"
"-Bstatic" "-m" "elf32lriscv" "-X"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/../riscv32-unknown-elf/lib/crt0.o"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv3
2-unknown-unknown-elf/clang_rt.crtbegin.o"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/../riscv32-unknown-elf/lib"
"-L/var/tmp/portage/llvm-cor
e/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-unknown-unknown-elf"
"-L/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin
/../riscv32-unknown-elf/lib"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/temp/riscv32-toolchain-extra-ce4881.o"
"--start-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-u
nknown-unknown-elf/libclang_rt.builtins.a" "-lc" "-lgloss" "--end-group"
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/lib/clang/24/lib/riscv32-unknown-unknown-elf/clang_rt.crtend.o"
"-o" "a.out"
# |
^
# |
# | Input file: <stdin>
# | Check file:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/clang/test/Driver/riscv32-toolchain-extra.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: clang version 24.0.0git99988429
# | 2: Target: riscv32-unknown-unknown-elf
# | 3: Thread model: posix
# | 4: InstalledDir:
/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin
# | 5: Build config: +assertions
# | 6:
"/var/tmp/portage/llvm-core/clang-24.0.0.9999/work/x/y/clang-.arm64/test/Driver/Output/riscv32-toolchain-extra.c.tmp/riscv32-nogcc/bin/clang"
"-cc1" "-triple" "riscv32-unknown-unknown-elf" "-emit-obj" "-dumpdir" "a-"
"-disable-free" "-clear-ast-before-backend" "-main-file-name"
"riscv32-toolchain-extra.c" "-mrelocation-model" "static" "-mframe-pointer=all"
"-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases"
"-nostdsysteminc" "-target-cpu" "generic-rv32" "-target-feature" "+i"
"-target-feature" "+m" "-target-feature" "+a" "-target-feature" "+c"
"-target-feature" "+zmmul" "-target-feature" "+zaamo" "-target-feature"
"+zalrsc" "-target-feature" "+zca" "-target-feature" "-b" "-target-feature"
"-d" "-target-feature" "-e" "-target-feature" "-f" "-target-feature" "-h"
"-target-feature" "-q" "-target-feature" "-sdext" "-target-feature" "-sdtrig"
"-target-feature" "-sha" "-target-feature" "-shcounterenw" "-target-feature"
"-shgatpa" "-target-feature" "-shlcofideleg" "-target-feature" "-shtvala"
"-target-feature" "-shvsatpa" "-target-feature" "-shvstvala" "-target-feature"
"-shvstvecd" "-target-feature" "-smaia" "-target-feat
ure" "-smcdeleg" "-target-feature" "-smcntrpmf" "-target-feature" "-smcsrind"
"-target-feature" "-smctr" "-target-feature" "-smdbltrp" "-target-feature"
"-smepmp" "-target-feature" "-smmpm" "-target-feature" "-smnpm"
"-target-feature" "
-smpmpdeleg" "-target-feature" "-smrnmi" "-target-feature" "-smstateen"
"-target-feature" "-ssaia" "-target-feature" "-ssccfg" "-target-feature"
"-ssccptr" "-target-feature" "-sscofpmf" "-target-feature" "-sscounterenw"
"-target-feature
" "-sscsrind" "-target-feature" "-ssctr" "-target-feature" "-ssdbltrp"
"-target-feature" "-ssnpm" "-target-feature" "-sspm" "-target-feature" "-sspmp"
"-target-feature" "-sspmpen" "-target-feature" "-ssqosid" "-target-feature"
"-ssstateen" "-target-feature" "-ssstrict" "-target-feature" "-sstc"
"-target-feature" "-sstvala" "-target-feature" "-sstvecd" "-target-feature"
"-ssu64xl" "-target-feature" "-supm" "-target-feature" "-svade"
"-target-feature" "-svadu" "-target-
feature" "-svbare" "-target-feature" "-svinval" "-target-feature" "-svnapot"
"-target-feature" "-svpbmt" "-target-feature" "-svrsw60t59b" "-target-feature"
"-svvptc" "-target-feature" "-v" "-target-feature" "-xaifet" "-target-feature" "
-xandesbfhcvt" "-target-feature" "-xandesperf" "-target-feature"
"-xandesvbfhcvt" "-target-feature" "-xandesvdot" "-target-feature"
"-xandesvpackfph" "-target-feature" "-xandesvsinth" "-target-feature"
"-xandesvsintload" "-target-featur
e" "-xcheriot" "-target-feature" "-xcvalu" "-target-feature" "-xcvbi"
"-target-feature" "-xcvbitmanip" "-target-feature" "-xcvelw" "-target-feature"
"-xcvmac" "-target-feature" "-xcvmem" "-target-feature" "-xcvsimd"
"-target-feature" "-
xmipscbop" "-target-feature" "-xmipscmov" "-target-feature" "-xmipsexectl"
"-target-feature" "-xmipslsp" "-target-feature" "-xqccmp" "-target-feature"
"-xqci" "-target-feature" "-xqcia" "-target-feature" "-xqciac"
"-target-feature" "-xqcibi" "-target-feature" "-xqcibm" "-target-feature"
"-xqcicli" "-target-feature" "-xqcicm" "-target-feature" "-xqcics"
"-target-feature" "-xqcicsr" "-target-feature" "-xqciint" "-target-feature"
"-xqciio" "-target-feature" "-xqcilb" "-t
arget-feature" "-xqcili" "-target-feature" "-xqcilia" "-target-feature"
"-xqcilo" "-target-feature" "-xqcilsm" "-target-feature" "-xqcisim"
"-target-feature" "-xqcisls" "-target-feature" "-xqcisync" "-target-feature"
"-xsfcease" "-targe
t-feature" "-xsfmm128t" "-target-feature" "-xsfmm16t" "-target-feature"
"-xsfmm32a" "-target-feature" "-xsfmm32a16f" "-target-feature" "-xsfmm32a32f"
"-target-feature" "-xsfmm32a8f" "-target-feature" "-xsfmm32a8i"
"-target-feature" "-xsfmm32t" "-target-feature" "-xsfmm64a64f"
"-target-feature" "-xsfmm64t" "-target-feature" "-xsfmmbase" "-target-feature"
"-xsfvcp" "-target-feature" "-xsfvfbfexp16e" "-target-feature" "-xsfvfexp16e"
"-target-feature" "-xsfvfexp32e" "-tar
get-feature" "-xsfvfexpa" "-target-feature" "-xsfvfexpa64e" "-target-feature"
"-xsfvfnrclipxfqf" "-target-feature" "-xsfvfwmaccqqq" "-target-feature"
"-xsfvqmaccdod" "-target-feature" "-xsfvqmaccqoq" "-target-feature"
"-xsifivecdiscardd
lone" "-target-feature" "-xsifivecflushdlone" "-target-feature" "-xsmtvdot"
"-target-feature" "-xsmtvdotii" "-target-feature" "-xtheadba" "-target-feature"
"-xtheadbb" "-target-feature" "-xtheadbs" "-target-feature" "-xtheadcmo"
"-target-feature" "-xtheadcondmov" "-target-feature" "-xtheadfmemidx"
"-target-feature" "-xtheadmac" "-target-feature" "-xtheadmemidx"
"-target-feature" "-xtheadmempair" "-target-feature" "-xtheadsync"
"-target-feature" "-xtheadvdot" "-target-
feature" "-xwchc" "-target-feature" "-za128rs" "-target-feature" "-za64rs"
"-target-feature" "-zabha" "-target-feature" "-zacas" "-target-feature"
"-zalasr" "-target-feature" "-zama16b" "-target-feature" "-zawrs"
"-target-feature" "-zba" "-target-feature" "-zbb" "-target-feature" "-zbc"
"-target-feature" "-zbkb" "-target-feature" "-zbkc" "-target-feature" "-zbkx"
"-target-feature" "-zbs" "-target-feature" "-zcb" "-target-feature" "-zcd"
"-target-feature" "-zce" "-target-feature" "-zcf" "-target-feature" "-zclsd"
"-target-feature" "-zcmop" "-target-feature" "-zcmp" "-target-feature" "-zcmt"
"-target-feature" "-zdinx" "-target-feature" "-zfa" "-target-feature"
"-zfbfmin" "-target-feature" "-zfh" "-target-feature" "-zfhmin"
"-target-feature" "-zfinx" "-target-feature" "-zhinx" "-target-feature"
"-zhinxmin" "-target-feature" "-zic64b" "-target-feature" "-zicbom"
"-target-feature" "-zicbop" "-target-feature" "-zicboz" "-target-feature"
"-ziccamoa
# | ...
# `---data was truncated (10240/20592) (change limit with -D output_limit=N)
# error: command failed with exit status: 1
--
********************
```
https://github.com/llvm/llvm-project/pull/216996
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits