[cfe-commits] Can't Build Clang on AWS Amazon Linux Instance

Kostya Serebryany kcc at google.com
Thu Nov 1 08:24:40 PDT 2012


+samsonov
I think it's time to get rid of this #include <new> completely...

On Thu, Nov 1, 2012 at 7:12 PM, steve at steck.com <steve at steck.com> wrote:

> Hello Clanger's,
>
> When trying to build Clang on a standard Amazon Linux instance in the AWS
> cloud I received this error:
>
>   COMPILE:   clang_linux/asan-x86_64/x86_64:
> /home/ec2-user/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc
> /home/ec2-user/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:20:10:
> fatal error:
>       'new' file not found
> #include <new>
>          ^
> 1 error generated.
>
>
> 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.
>
> 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.
>
> Cheers,
> Steve Steck
>
>
>
>
>
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121101/dd43a489/attachment.html>


More information about the cfe-commits mailing list