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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

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

Liu, Yaxun (Sam) via cfe-dev
Sorry forgot to CC cfe-dev.

On Jan 10, 2018, at 9:32 AM, Jan Korous <[hidden email]> 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: Ubuntu 14.04 is supported.

2. If you want to learn more about clang command line options these are places to check:

    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.



On Jan 10, 2018, at 7:49 AM, 01_Tyro_10 <[hidden email]> wrote:

Hi Jan:

I think the file libcxx/include/__config maybe helpful for finding the problem. And I paste it for you too.

// Inline namespaces are available in Clang regardless of C++ dialect.
#define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE {

namespace std {
  inline namespace _LIBCPP_NAMESPACE {

#if !defined(_LIBCPP_HAS_NO_ASAN) && !__has_feature(address_sanitizer)

// Thread API
#if !defined(_LIBCPP_HAS_NO_THREADS) && \
    !defined(_LIBCPP_HAS_THREAD_API_WIN32) && \
# if defined(__FreeBSD__) || \
    defined(__Fuchsia__) || \
    defined(__NetBSD__) || \
    defined(__linux__) || \
    defined(__APPLE__) || \
    defined(__CloudABI__) || \
    defined(__sun__) || \
    (defined(__MINGW32__) && __libcpp_has_include(<pthread.h>))
# elif defined(_LIBCPP_WIN32API)
# else
#  error "No thread API"


------------------ Original ------------------
From:  "Jan Korous";<[hidden email]>;
Date:  Mon, Jan 8, 2018 11:28 PM
To:  "01_Tyro_10"<[hidden email]>;
Cc:  "cfe-users"<[hidden email]>;
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.


On 8 Jan 2018, at 10:36, 01_Tyro_10 via cfe-users <[hidden email]> wrote:


cfe-dev mailing list
[hidden email]