Re: [cfe-users] clang frontend command failed due to signal

2018-01-08 Thread Christian Gagneraud via cfe-users
On 8/01/2018 11:36 PM, 01_Tyro_10 via cfe-users wrote: But it failed with the following error, and I can not understand why. 1.libcxx/include/__config:1028:3: current parser token 'if' 2.libcxx/include/__config:448:1: parsing namespace 'std' clang: error: unable to execute command: Segmentation

Re: [cfe-users] clang frontend command failed due to signal

2018-01-08 Thread Jan Korous via cfe-users
Hi bruce, which version of clang are you actually using? Could you please paste output of clang -v here? Could you please also paste full output of clang (including reproducer files if any)? Thank you. Jan > On 8 Jan 2018, at 10:36, 01_Tyro_10 via cfe-users > wrote: > > bruce ___

Re: [cfe-users] clang frontend command failed due to signal

2018-01-08 Thread Dan Čermák via cfe-users
Since clang segfaults, it could be a bug in clang. I am not a clang expert, but I'd suggest trying to remove some of the compiler flags and observe if the output changes. Or you could try to use a different version of clang/llvm. And then file a bug for clang if you can reproduce the crash. 01_Ty

[cfe-users] clang frontend command failed due to signal

2018-01-08 Thread 01_Tyro_10 via cfe-users
Hello everyone: I'm building libcxx on amd64 ubuntu 14.04 for testing cloud9, but encountered the following fatal issue that clang caused. The program arguments are as follows: /home/bruce/Cloud9_Root/src/third_party/llvm-build/Release+Asserts/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -e