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

Jan Korous via cfe-dev cfe-dev at lists.llvm.org
Wed Jan 10 01:33:46 PST 2018


Sorry forgot to CC cfe-dev.

> On Jan 10, 2018, at 9:32 AM, Jan Korous <jkorous at apple.com> wrote:
> 
> Hi Bruce,
> 
> Thanks for all the data. I will try to have a look at it. Just two things that might help you straight away.
> 
> 1. The version you are using is rather old. You might discover that some more recent version has this issue fixed. Just in case you don’t know about it you can download clang binaries here: http://releases.llvm.org/download.html <http://releases.llvm.org/download.html> Ubuntu 14.04 is supported.
> 
> 2. If you want to learn more about clang command line options these are places to check:
>     https://clang.llvm.org/docs/CommandGuide/clang.html <https://clang.llvm.org/docs/CommandGuide/clang.html>
>     https://clang.llvm.org/docs/ClangCommandLineReference.html <https://clang.llvm.org/docs/ClangCommandLineReference.html>
>     https://clang.llvm.org/docs/DiagnosticsReference.html <https://clang.llvm.org/docs/DiagnosticsReference.html>
> 
>     Other sources might be --help for driver or specific tool (e. g. compiler) or man pages.
>     clang --help --help-hidden
>     clang -cc1 --help
>     man clang
> 
> Hope it helps.
> 
> Regards,
> 
> Jan
> 
> 
>> On Jan 10, 2018, at 7:49 AM, 01_Tyro_10 <brucehuang0711 at qq.com <mailto:brucehuang0711 at qq.com>> wrote:
>> 
>> Hi Jan:
>> 
>> I think the file libcxx/include/__config maybe helpful for finding the problem. And I paste it for you too.
>> 
>> libcxx/include/__config:444-456
>> // Inline namespaces are available in Clang regardless of C++ dialect.
>> #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {
>> #define _LIBCPP_END_NAMESPACE_STD  } }
>> #define _VSTD std::_LIBCPP_NAMESPACE
>> 
>> namespace std {
>>   inline namespace _LIBCPP_NAMESPACE {
>>   }
>> }
>> 
>> #if !defined(_LIBCPP_HAS_NO_ASAN) && !__has_feature(address_sanitizer)
>> #define _LIBCPP_HAS_NO_ASAN
>> #endif
>> 
>> 
>> 
>> libcxx/include/__config:1024-1043
>> // Thread API
>> #if !defined(_LIBCPP_HAS_NO_THREADS) && \
>>     !defined(_LIBCPP_HAS_THREAD_API_PTHREAD) && \
>>     !defined(_LIBCPP_HAS_THREAD_API_WIN32) && \
>>     !defined(_LIBCPP_HAS_THREAD_API_EXTERNAL)
>> # if defined(__FreeBSD__) || \
>>     defined(__Fuchsia__) || \
>>     defined(__NetBSD__) || \
>>     defined(__linux__) || \
>>     defined(__APPLE__) || \
>>     defined(__CloudABI__) || \
>>     defined(__sun__) || \
>>     (defined(__MINGW32__) && __libcpp_has_include(<pthread.h>))
>> #   define _LIBCPP_HAS_THREAD_API_PTHREAD
>> # elif defined(_LIBCPP_WIN32API)
>> #  define _LIBCPP_HAS_THREAD_API_WIN32
>> # else
>> #  error "No thread API"
>> # endif // _LIBCPP_HAS_THREAD_API
>> #endif // _LIBCPP_HAS_NO_THREADS
>> 
>> 
>> Bruce
>> 
>> 
>> ------------------ Original ------------------
>> From:  "Jan Korous";<jkorous at apple.com <mailto:jkorous at apple.com>>;
>> Date:  Mon, Jan 8, 2018 11:28 PM
>> To:  "01_Tyro_10"<brucehuang0711 at qq.com <mailto:brucehuang0711 at qq.com>>;
>> Cc:  "cfe-users"<cfe-users at lists.llvm.org <mailto:cfe-users at lists.llvm.org>>;
>> Subject:  Re: [cfe-users] clang frontend command failed due to signal
>> 
>> 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 <cfe-users at lists.llvm.org <mailto:cfe-users at lists.llvm.org>> wrote:
>>> 
>>> bruce
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180110/79d9c634/attachment.html>


More information about the cfe-dev mailing list