leonardchan added a comment.

Hi. I think this patch may have led to the test failure we're seeing on our 
clang builders 
(https://luci-milo.appspot.com/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8840986998954824016):

  Command Output (stderr):
  --
  /b/s/w/ir/x/w/llvm-project/clang/test/Driver/darwin-ld.c:146:29: error: 
LINK_VERSION_MIN_MACABI: expected string not found in input
  // LINK_VERSION_MIN_MACABI: "-maccatalyst_version_min" "13.1.0"
                              ^
  <stdin>:5:15: note: scanning from here
   "/usr/bin/ld" "-demangle" "-lto_library" 
"/b/s/w/ir/x/w/staging/llvm_build/lib/libLTO.dylib" "-dynamic" "-arch" "x86_64" 
"-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" 
"/b/s/w/ir/x/w/staging/llvm_build/tools/clang/test/Driver/Output/darwin-ld.c.tmp.o"
 "-lSystem"
                ^
  <stdin>:5:118: note: possible intended match here
   "/usr/bin/ld" "-demangle" "-lto_library" 
"/b/s/w/ir/x/w/staging/llvm_build/lib/libLTO.dylib" "-dynamic" "-arch" "x86_64" 
"-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" 
"/b/s/w/ir/x/w/staging/llvm_build/tools/clang/test/Driver/Output/darwin-ld.c.tmp.o"
 "-lSystem"
                                                                                
                                       ^
  
  Input file: <stdin>
  Check file: /b/s/w/ir/x/w/llvm-project/clang/test/Driver/darwin-ld.c
  
  -dump-input=help explains the following input dump.
  
  Input was:
  <<<<<<
               1: Fuchsia clang version 13.0.0 
(https://llvm.googlesource.com/a/llvm-project 
ae4e8f7d528f650e0f2730a7f166fb0ef7e31588) 
               2: Target: x86_64-apple-darwin10 
               3: Thread model: posix 
               4: InstalledDir: /b/s/w/ir/x/w/staging/llvm_build/bin 
               5:  "/usr/bin/ld" "-demangle" "-lto_library" 
"/b/s/w/ir/x/w/staging/llvm_build/lib/libLTO.dylib" "-dynamic" "-arch" "x86_64" 
"-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" 
"/b/s/w/ir/x/w/staging/llvm_build/tools/clang/test/Driver/Output/darwin-ld.c.tmp.o"
 "-lSystem" 
  check:146'0                   
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 error: no match found
  check:146'1                                                                   
                                                       ?                        
                                                                                
                                                        possible intended match
               6: Fuchsia clang version 13.0.0 
(https://llvm.googlesource.com/a/llvm-project 
ae4e8f7d528f650e0f2730a7f166fb0ef7e31588) 
  check:146'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               7: Target: x86_64-apple-macosx10.7 
  check:146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               8: Thread model: posix 
  check:146'0     ~~~~~~~~~~~~~~~~~~~~
               9: InstalledDir: /b/s/w/ir/x/w/staging/llvm_build/bin 
  check:146'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              10:  "/usr/bin/ld" "-demangle" "-lto_library" 
"/b/s/w/ir/x/w/staging/llvm_build/lib/libLTO.dylib" "-dynamic" "-arch" "x86_64" 
"-macosx_version_min" "10.7.0" "-o" "a.out" "-lcrt1.10.6.o" 
"/b/s/w/ir/x/w/staging/llvm_build/tools/clang/test/Driver/Output/darwin-ld.c.tmp.o"
 "-lSystem" 
  check:146'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               .
               .
               .
  >>>>>>
  
  --
  
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
  ********************
  Failed Tests (1):
    Clang :: Driver/darwin-ld.c

Would you mind taking a look and sending out a fix or revert?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105960/new/

https://reviews.llvm.org/D105960

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to