After upgrading gcc to 7.2.0 (current ~amd64) and "emerge -e world", I have got compilation fail dev-util/strace-4.16 Reproducible: Always Steps to Reproduce: 1. upgrade gcc to 7.2.0 2. emerge -e world 3. compilation fail
Created attachment 507746 [details] build log
Created attachment 507748 [details] environment
In file included from /usr/include/bits/types/stack_t.h:23:0, from /usr/include/signal.h:299, from nsig.h:4, from sigreturn.c:2: ./linux/x86_64/arch_sigreturn.c: In function ‘arch_sigreturn’: ./linux/x86_64/arch_sigreturn.c:18:31: error: invalid use of undefined type ‘struct ucontext’ #define X86_64_SIGMASK_OFFSET offsetof(struct ucontext, uc_sigmask) ^ ./linux/x86_64/arch_sigreturn.c:26:9: note: in expansion of macro ‘X86_64_SIGMASK_OFFSET’ X86_64_SIGMASK_OFFSET; ^~~~~~~~~~~~~~~~~~~~~
(In reply to Alexander Polozov from comment #0) Your emerge --info output is missing.
Created attachment 507768 [details] emerge --info
This issue was caused by upstream glibc commit glibc-2.26~231. It was fixed by upstream strace commits v4.17~168 (ia64, mips, x86_64) and v4.18~15 (aarch64, tile).
(In reply to Dmitry V. Levin from comment #6) > This issue was caused by upstream glibc commit glibc-2.26~231. > It was fixed by upstream strace commits v4.17~168 (ia64, mips, x86_64) and > v4.18~15 (aarch64, tile). OK thanks. I guess this is fixed then since oldest strace in the tree is 4.20.