[Bug build/20918] Building with --enable-nss-crypt fails tst-linkall-static.
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Dec 2 20:43:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=20918
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 84aa75162cd5ba73caa76864496fadd2551a5caa (commit)
from 01b23a30b42a90b1ebd882a0d81110a1542e504a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=84aa75162cd5ba73caa76864496fadd2551a5caa
commit 84aa75162cd5ba73caa76864496fadd2551a5caa
Author: Carlos O'Donell <carlos@systemhalted.org>
Date: Fri Dec 2 15:39:09 2016 -0500
Bug 20918 - Building with --enable-nss-crypt fails tst-linkall-static
Some configurations may use NSS cryptographic routines but have no
static library for those routines. The following changes allow glibc to
be built and tested with --enable-nss-crypt, but without having a static
NSS library. At a high level the change does two things:
(1) Detect at configure time if static NSS crypto libraries are
available. Assumes libfreebl3.a (instead of the existing Fedora
libfreebl.a which is incomplete) which matches libfreebl3.so.
(2) If static NSS crypto libraries are _not_ available then adjust the
way in which we build tst-linkall-static. This includes excluding a
reference to crypt and not linking against libcrypt.a, all of which
will fail otherwise.
Testing assumptions:
* Static library is named libfreebl3.a (not libfreebl.a as is currently
provided in Fedora), matching libfreebl3.so shared link name.
Tested on x86_64 on Fedora with:
(a) --enable-nss-crypt, with no static NSS library support: PASS
(previous FAIL)
(b) --enable-nss-crypt, with faked static NSS library support: PASS
(unsupported)
* Requires changing elf/Makefile to include a stub
/lib64/libfreebl3.a for testing purposes.
(c) --disable-nss-crypt: PASS
(default)
No regressions on x86_64.
For details see:
https://www.sourceware.org/ml/libc-alpha/2016-11/msg00647.html
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 16 ++++++++++++++++
config.make.in | 1 +
configure | 29 +++++++++++++++++++++++++++++
configure.ac | 14 ++++++++++++++
elf/Makefile | 32 ++++++++++++++++++++++++++++++--
elf/tst-linkall-static.c | 2 ++
6 files changed, 92 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list