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







Attachment: amazonPatch.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to