<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/153668>153668</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
<new> Header cannot be found
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Sharjeel-Khan
</td>
</tr>
</table>
<pre>
Our Android LLVM ToT buildbot started failing where it cannot find <new> header anymore when building rtsan. I think it is a libcxx issue over being a compiler-rt/rtsan issue.
```
FAILED: compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_context.cpp.o
/b/f/w/src/git/out/stage1/./bin/clang++ --target=x86_64-unknown-linux-gnu --sysroot=/b/f/w/src/git/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/f/w/src/git/out/llvm-project/compiler-rt/lib/rtsan/.. -march=x86-64-v2 -D_LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT=1 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O3 -DNDEBUG -fPIC -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -std=c++17 -MD -MT compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_context.cpp.o -MF compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_context.cpp.o.d -o compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_context.cpp.o -c /b/f/w/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_context.cpp
/[b/f/w/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_context.cpp:16](https://cs.corp.google.com/piper///depot/google3/b/f/w/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_context.cpp?l=16):10: fatal error: 'new' file not found
16 | #include <new>
| ^~~~~
1 error generated.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0Vk2T46YW_TV4Q12VjfzVCy9ky3pxvXZ7qtuZrvc2LgRXMhkEeoDcdhbz218hedKTTCrZpKtU3QbOPQcOF7jce1UbxBWZrcksH_EunK1bvZy5-wVRw7_P3IxKK2-rQ-doZqSzStLHx897erRHWnZKy9IG6gN3ASWtuNLK1PTtjA6pClRwY2yglTKSknRj8I2kW3pGLtFRbm6NdRjRZuCKsS54bhK6o-GszJdIojzlVKtSXK9Ued8htRd0tMQI51TYplUaHbhAWNGHD7CEjLP4zcf3b5wV2e5xm5M0-0OUVuW3WMKKzZ5_wUJp9IQVz8fnfkbX5fw0nyZSuW_Ik7Am4DUkom0TS6MUKyJPRVjxRljhnSCsqFVUsF386wOvcUJYkUSoimJCc1MTtiZsTQECdzUGkuaDHHTmi7FvBrQy3RVq01EAf_PO2gj6C73WYbQ0xCXUQvRrjBTX5Zyw4mx9BN1F7uTRYpZMFjBNlpFtkKGQn04vx3xz2hyeXo7Z0_G0zzbPh5f3geLwvM9-7H7c7Xfvvbu_NUfrSwOts7-giM2_2qEkodBwJ86DUzCfwoVF5cfdevPp0y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