This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/81710] New: build fail with glibc 2.26 due to removing ucontext/sigaltstack struct tags


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81710

            Bug ID: 81710
           Summary: build fail with glibc 2.26 due to removing
                    ucontext/sigaltstack struct tags
           Product: gcc
           Version: 6.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: abominable-snowman at yandex dot ru
  Target Milestone: ---

Created attachment 41921
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41921&action=edit
patch to fix

gcc 6.4.0 fail to compile with glibc 2.26 headers.

"struct ucontext" and "struct sigaltstack" not come from sys/ucontext.h since
glibc 2.26, use ucontext_t amd stack_t instead.

See

commit d57cb31910ca5c200e4172276749a7f8bd17ae3c
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 28 10:33:23 2017 +0000

    Miscellaneous sys/ucontext.h namespace fixes (bug 21457).

commit 251287734e89a52da3db682a8241eb6bccc050c9
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 26 22:03:58 2017 +0000

    Rename struct ucontext tag (bug 21457).

in glibc.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]