[clang] [llvm] [Darwin][Driver][clang] apple-none-macho orders the resource directory after internal-externc-isystem when nostdlibinc is used (PR #120507)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 6 21:59:01 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/10589
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[846/1364] Linking CXX executable tools/clang/unittests/AST/ASTTests
[846/1364] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/wasm-ld
-- Testing: 21759 tests, 60 workers --
Testing: 0.. 10.. 20.. 30.. 40..
FAIL: Clang :: Driver/darwin-embedded-search-paths.c (10812 of 21759)
******************** TEST 'Clang :: Driver/darwin-embedded-search-paths.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 6: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
RUN: at line 10: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
RUN: at line 14: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -stdlib=libc++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -stdlib=libc++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c:37:14: error: CXX-SAME: expected string not found in input
// CXX-SAME: "-internal-isystem" "[[SDKROOT]]/usr/include/c++/v1"
^
<stdin>:6:92: note: scanning from here
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
<stdin>:6:92: note: with "SDKROOT" equal to "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15\\.1\\.sdk"
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
<stdin>:6:1040: note: possible intended match here
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: Fuchsia clang version 20.0.0git (https://github.com/llvm/llvm-project.git 653a54727eaa18c43447ad686c987db67f1dda74)
2: Target: arm64-apple-none-macho
3: Thread model: posix
4: InstalledDir: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin
Step 7 (check) failure: check (failure)
...
[846/1364] Linking CXX executable tools/clang/unittests/AST/ASTTests
[846/1364] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/wasm-ld
-- Testing: 21759 tests, 60 workers --
Testing: 0.. 10.. 20.. 30.. 40..
FAIL: Clang :: Driver/darwin-embedded-search-paths.c (10812 of 21759)
******************** TEST 'Clang :: Driver/darwin-embedded-search-paths.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 6: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
RUN: at line 10: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,NO-CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
RUN: at line 14: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -stdlib=libc++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c 2>&1 | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/clang -x c++ -stdlib=libc++ -target arm64-apple-none-macho -isysroot /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk -### -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/FileCheck --check-prefixes=CC1,CXX,ULI,CI,UI,NO-FW -DSDKROOT=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c:37:14: error: CXX-SAME: expected string not found in input
// CXX-SAME: "-internal-isystem" "[[SDKROOT]]/usr/include/c++/v1"
^
<stdin>:6:92: note: scanning from here
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
<stdin>:6:92: note: with "SDKROOT" equal to "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15\\.1\\.sdk"
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
<stdin>:6:1040: note: possible intended match here
"/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/llvm" "clang" "-cc1" "-triple" "arm64-apple-none-macho" "-emit-obj" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "darwin-embedded-search-paths.c" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=1" "-target-cpu" "generic" "-target-feature" "+v8a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-abi" "aapcs" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-fcoverage-compilation-dir=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/tools/clang/test/Driver" "-resource-dir" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20" "-isysroot" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk" "-stdlib=libc++" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin/../include/c++/v1" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/local/include" "-internal-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/lib/clang/20/include" "-internal-externc-isystem" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/Inputs/MacOSX15.1.sdk/usr/include" "-fdeprecated-macro" "-ferror-limit" "19" "-fblocks" "-fencode-extended-block-signature" "-fno-signed-char" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fcxx-exceptions" "-fexceptions" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "darwin-embedded-search-paths.o" "-x" "c++" "/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c"
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/Driver/darwin-embedded-search-paths.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: Fuchsia clang version 20.0.0git (https://github.com/llvm/llvm-project.git 653a54727eaa18c43447ad686c987db67f1dda74)
2: Target: arm64-apple-none-macho
3: Thread model: posix
4: InstalledDir: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-1zsna1lo/bin
```
</details>
https://github.com/llvm/llvm-project/pull/120507
More information about the llvm-commits
mailing list