Aliaksey Kandratsenka
54605b8a58
amputate old atomic ops implementation
2023-07-02 22:30:00 -04:00
Aliaksey Kandratsenka
0451d21e83
use libunwind when it actually works
...
Previously we blindly tried to use libunwind whenever header is
detected. Even if actually working libunwind library is missing. This
is now fixed, so we attempt to use libunwind when it actually works.
Somehow recent freebsd ships libunwind.h (which seems to belong to
llvm's implementation), but apparently without matching .so. So then building
and linking failed.
2023-07-02 21:28:30 -04:00
Aliaksey Kandratsenka
e003e91b74
drop dependency on PTHREAD_CREATE_JOINABLE
2023-07-02 21:28:30 -04:00
Aliaksey Kandratsenka
c37f6c4c7c
fix deprecated autoconf bits
...
As part of that we also upgrade required autoconf version to 2.69
which is what I see in rhel/centos 7 and ubuntu 14.04. Both are old
enough. And, of course, .tar.gz releases still ship "packaged" configure,
so will work on older distros.
This fixes issue #1335 .
2023-07-02 21:28:30 -04:00
Aliaksey Kandratsenka
f06052d736
synchronize ucontext-from-pc tests autoconf -> cmake
...
Refers to github issue #1398 .
2023-06-21 10:25:14 -04:00
Henrik Reinstädtler
5e923877aa
Fix uc_mcontext for apple silicon
2023-06-19 18:11:10 +02:00
Aliaksey Kandratsenka
9d44463380
Remove basic support for Elbrus 2000 (e2k)
...
This reverts commit 3b1c60cc4e
.
2022-05-30 20:33:18 -07:00
stdpain
c25941200e
fix cmake gperftools_enable_libunwind invalid
2021-06-20 10:07:42 -07:00
Aliaksey Kandratsenka
c2f60400a8
prefer backtrace() on OSX
...
It seems to work and _Unwind_Backtrace which is configured otherwise
doesn't.
2021-02-28 17:52:17 -08:00
Aliaksey Kandratsenka
17bab484ae
always respect --enable-frame-pointers
...
Previously it only was respected on x86_64, but this days lots of modern
ABIs are without frame pointers by default (e.g. arm64 and riscv, and
even older mips).
2021-02-14 16:44:28 -08:00
Aliaksey Kandratsenka
419c85814d
amputate unused dynamic annotations support
2021-02-14 16:09:17 -08:00
Aliaksey Kandratsenka
73a72cdb61
don't check for snprintf
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
95b52b0504
don't check for unused uname symbol
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
ac68c97187
don't check for useless __builtin_stack_pointer
...
It doesn't seem to be supported anyways, and we're not using it too.
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
7c106ca241
don't bother checking for stl namespace and use std
...
Because there are no compilers left that don't do std namespace.
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
0d6f32b9ce
use standard way to print size_t-sized ints
...
I.e. just use zu/zd/zx instead of finding out right size and defining
PRI{u,x,d}S defines. Compilers have long caught up to this part of
standard.
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
0c11d35f4a
amputate checking for __int64
...
Since everything supports stdint.h this days.
2021-02-14 15:44:14 -08:00
Aliaksey Kandratsenka
92718aaaeb
amputate checking for conflict-signal.h
...
It was never found or used.
2021-02-14 15:12:19 -08:00
Aliaksey Kandratsenka
9bb2937261
amputate checking for inline keyword support
...
It is supported everywhere now.
2021-02-14 15:12:19 -08:00
SSE4
3b1c60cc4e
Add support for Elbrus 2000 (e2k)
2021-01-30 13:45:18 -08:00
okhowang(王沛文)
6bbf2ed150
Update cmake
2020-12-19 18:52:40 -08:00
Isaac Hier
913d3eb7d7
Fix a few macros for Apple
2020-12-19 18:52:40 -08:00
Isaac Hier
64a73b1cb8
Work on fixing linking errors in stacktrace
2020-12-19 18:52:40 -08:00
Isaac Hier
11dc65c3c4
Fix config headers, add more unit tests
2020-12-19 18:52:40 -08:00
Isaac Hier
6078fe40d9
Finish configure.ac conversion to CMake, start on Makefile.am
2020-12-19 18:52:40 -08:00
Isaac Hier
515fb22196
Generate config header
2020-12-19 18:52:40 -08:00
Isaac Hier
4adb5ff74d
Add architecture checks
2020-12-19 18:52:40 -08:00
Isaac Hier
fa9bedc82c
Add most of CMake build
2020-12-19 18:52:40 -08:00