The changes are mainly proposed by Samuel. One for removing The `__GNU__` check of including `signal.h`.
The second is to disable stack memory consumption measure on GNU/Hurd. After patiently digging into the problem of wrong result for 2 days, I surrender. There are too many factors determining the result. For what I have found, - Enabling optimization or not, of course. - How much the buffer size is aligned. - How the `memset` is called. - How other functions are called in the signal handler. - How compiler adds the stack protection code. Whatever, I have no ability to predict what compiler will do. (Maybe other people can.) A simple change of a code will result in a big stack management change. I'm going to push this to upstream and say hi to the next bug! :) Yuqian Yang (1): Port abseil to GNU/Hurd. absl/base/config.h | 2 +- absl/base/internal/raw_logging.cc | 2 +- absl/base/internal/strerror_test.cc | 4 +++- absl/debugging/internal/stack_consumption.h | 4 ++-- absl/debugging/internal/symbolize.h | 2 +- absl/debugging/internal/vdso_support.h | 2 +- absl/log/internal/test_helpers.cc | 2 ++ absl/log/log_modifier_methods_test.cc | 6 ++++-- absl/log/stripping_test.cc | 4 ++-- 9 files changed, 17 insertions(+), 11 deletions(-) -- Yuqian Yang <crup...@crupest.life>