lix/src
Sergei Trofimovich c9857ef262 src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26
Build fails as:

$ make
  CXX    src/libmain/stack.o
src/libmain/stack.cc: In function 'void nix::sigsegvHandler(int, siginfo_t*, void*)':
src/libmain/stack.cc:21:21: error: 'ucontext' was not declared in this scope
     sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
                     ^~~~~~~~
src/libmain/stack.cc:21:21: note: suggested alternative: 'ucontext_t'
     sp = (char *) ((ucontext *) ctx)->uc_mcontext.gregs[REG_RSP];
                     ^~~~~~~~
                     ucontext_t

It's caused by upstream rename:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=251287734e89a52da3db682a8241eb6bccc050c9

which basically changes
    typedef struct ucontext {} ucontext_t;
to
    typedef struct ucontext_t {} ucontext_t;

The change uses ucontext_t.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2017-08-31 21:41:36 +01:00
..
boost Shut up some warnings 2017-04-14 14:42:20 +02:00
build-remote Merge branch 'macOS' of https://github.com/davidak/nix 2017-07-31 10:31:51 +02:00
buildenv Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
libexpr Add builtins.string function. 2017-08-15 20:04:11 +00:00
libmain src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26 2017-08-31 21:41:36 +01:00
libstore Call queryMissing() prior to building 2017-08-31 16:05:07 +02:00
libutil Add an activity for binary cache queries 2017-08-31 15:25:58 +02:00
linenoise Replace readline by linenoise 2017-05-10 18:37:42 +02:00
nix Add an activity for binary cache queries 2017-08-31 15:25:58 +02:00
nix-build Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-channel Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-copy-closure Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-daemon Give activities a verbosity level again 2017-08-28 19:13:24 +02:00
nix-env Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-instantiate Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-prefetch-url Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
nix-store Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
resolve-system-dependencies Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00