<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt"><div>+samsonov</div>I think it's time to get rid of this #include <new> completely... <br><br><div class="gmail_quote">On Thu, Nov 1, 2012 at 7:12 PM, <a href="mailto:steve@steck.com">steve@steck.com</a> <span dir="ltr"><<a href="mailto:steve@steck.com" target="_blank">steve@steck.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Clanger's,<br>
<br>
When trying to build Clang on a standard Amazon Linux instance in the AWS cloud I received this error:<br>
<br>
  COMPILE:   clang_linux/asan-x86_64/x86_64: /home/ec2-user/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc<br>
/home/ec2-user/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:20:10: fatal error: <br>
      'new' file not found<br>
#include <new><br>
         ^<br>
1 error generated.<br>
<br>
<br>
I tried resolving with --with-gcc-toolchain and other config, command line, and environment options but was unable to get it to work, so I resorted to a patch.<br>
<br>
The patch is attached; can someone arrange to review and have the patch checked in if appropriate.  All regression tests worked on both x86_64 and i686 architectures running Amazon Linux.<br>
<br>
Cheers,<br>
Steve Steck<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>