tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH alt] Install gcc's unwind.h instead of libexecinfo's



On Thu, Jan 16, 2020 at 08:39:04AM +0100, Michał Górny wrote:
> The prototypes in libexecinfo's unwind.h do not match those commonly
> used (e.g. by gcc, clang, GNU libunwind, LLVM libunwind...), causing
> C++ programs to fail to build on type mismatches (e.g. compiler-rt,
> libc++abi).  Rather than providing our own header, reuse the one
> included in gcc.

Just replace /usr/include/unwind.h for ${HAVE_LIBGCC_EH} == "yes". It
describes a system interface, whether it is part of libgcc_s or libc.

Joerg


Home | Main Index | Thread Index | Old Index