Go to file
Sergei Trofimovich 41352d50db
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>
(cherry picked from commit c9857ef262)
2017-09-01 11:12:49 +02:00
config Add config.guess, config.sub and install-sh 2013-11-25 11:26:02 +00:00
corepkgs <nix/buildenv.nix>: Don't substitute 2016-01-18 15:06:36 +01:00
doc Fix nix-instantiate manpage indentation 2017-07-12 11:31:24 +02:00
misc SSL_CERT_FILE -> NIX_SSL_CERT_FILE 2017-02-22 12:30:45 +01:00
mk Don't pass "--no-copy-dt-needed-entries" option to linker on FreeBSD. 2015-10-06 22:28:30 +02:00
perl use --cacert instead of --capath 2017-02-22 14:04:47 -05:00
scripts Replace stat / uid comparison with test -O 2017-08-29 18:56:32 -04:00
src src/libmain/stack.cc: fix 'ucontext' usage on glibc-2.26 2017-09-01 11:12:49 +02:00
tests Fix test failure 2017-07-25 11:50:31 +02:00
.gitignore Create a profile suitable for multi-user installs 2017-07-09 14:52:33 -04:00
.travis.yml Test the installer 2017-07-12 11:45:38 -04:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac Add a seccomp filter to prevent creating setuid/setgid binaries 2017-06-01 16:48:57 +02:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
dev-shell Make dev-shell script work on Darwin 2014-07-16 11:53:47 +02:00
INSTALL * Autoconf / Automake configuration and building. 2003-04-04 16:14:56 +00:00
local.mk Don't depend on git when generating source tarball 2015-10-15 11:53:45 -07:00
Makefile nix-prefetch-url: Rewrite in C++ 2015-10-01 16:47:43 +02:00
Makefile.config.in Merge pull request #704 from ysangkok/freebsd-support 2015-11-24 19:24:21 +01:00
nix.spec.in Fix rpm build 2017-07-13 14:11:21 +02:00
README * Install documentation in $(docdir) (i.e. share/doc/nix). 2008-11-19 13:19:09 +00:00
release.nix release: don't build libseccomp if we're on darwin 2017-07-12 19:23:42 -04:00
version Bump version 2017-08-30 20:03:33 +02:00

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).