<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - clear_cache_test.c failing on macOS with 10.15 SDK"
   href="https://bugs.llvm.org/show_bug.cgi?id=43407">43407</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clear_cache_test.c failing on macOS with 10.15 SDK
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>builtins
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>All check-builtins tests were passing for me when I turned them on on macOS in
34b6f49c2ca4491a3a3ee520ea5919b8e7aeb459 / r371926.

Yesterday, my laptop auto-updated to Xcode 11 / 10.15 SDK, and now
clear_cache_test.c is failing (also when I sync my llvm checkout to known-good
34b6f49c2ca4491a3a3ee520ea5919b8e7aeb459):

$ time ninja  -j200 check-builtins -v
[0/1] cd
/Users/thakis/src/llvm-build-project/projects/compiler-rt/test/builtins &&
/usr/bin/python2.7 /Users/thakis/src/llvm-build-project/./bin/llvm-lit -sv
/Users/thakis/src/llvm-build-project/projects/compiler-rt/test/builtins/TestCases
/Users/thakis/src/llvm-build-project/projects/compiler-rt/test/builtins/Unit/X86_64DarwinConfig
llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:408: note:
using SDKROOT:
u'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'
llvm-lit:
/Users/thakis/src/llvm-project/compiler-rt/test/lit.common.cfg.py:427: warning:
Throttling sanitizer tests that require shadow memory on Darwin 64bit
llvm-lit: /Users/thakis/src/llvm-project/llvm/utils/lit/lit/util.py:408: note:
using SDKROOT:
u'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk'
llvm-lit:
/Users/thakis/src/llvm-project/compiler-rt/test/lit.common.cfg.py:427: warning:
Throttling sanitizer tests that require shadow memory on Darwin 64bit
FAIL: Builtins-x86_64-darwin :: clear_cache_test.c (26 of 202)
******************** TEST 'Builtins-x86_64-darwin :: clear_cache_test.c' FAILED
********************
Script:
--
: 'RUN: at line 3';       /Users/thakis/src/llvm-build-project/./bin/clang  
-gline-tables-only  -arch x86_64 -stdlib=libc++ -mmacosx-version-min=10.9
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -fno-builtin -I /Users/thakis/src/llvm-project/compiler-rt/lib/builtins
-nodefaultlibs
/Users/thakis/src/llvm-project/compiler-rt/test/builtins/Unit/clear_cache_test.c
/Users/thakis/src/llvm-build-project/./lib/clang/10.0.0/lib/darwin/libclang_rt.osx.a
 -lSystem -o
/Users/thakis/src/llvm-build-project/projects/compiler-rt/test/builtins/Unit/X86_64DarwinConfig/Output/clear_cache_test.c.tmp
&& 
/Users/thakis/src/llvm-build-project/projects/compiler-rt/test/builtins/Unit/X86_64DarwinConfig/Output/clear_cache_test.c.tmp
--
Exit Code: 1


********************
Testing Time: 11.77s
********************
Failing Tests (1):
    Builtins-x86_64-darwin :: clear_cache_test.c

  Expected Passes    : 180
  Expected Failures  : 2
  Unsupported Tests  : 19
  Unexpected Failures: 1




The test doesn't use Xcode's clang, but it does use Xcode's ld64 and SDK.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>