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

Alex Denisov 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: 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:

    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 <[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.

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";<[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.

Jan

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

bruce




_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev