mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: glibc: Update to 2.27.
* gnu/packages/base.scm (glibc/linux): Update to 2.27. [source](patches): Add 'glibc-hidden-visibility-ldconfig.patch' and 'glibc-2.27-git-fixes.patch'. [native-inputs]: Add BISON. [arguments]: Remove deprecated "--enable-add-ons" from #:configure-flags. Also remove unneeded "libc_cv_ssp=no" and "libcv_ssp_strong=no". (glibc-2.26): New public variable. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[native-inputs]: Add BISON-BOOT0. * gnu/packages/patches/glibc-2.27-git-fixes.patch, gnu/packages/patches/glibc-hidden-visibility-ldconfig.patch: New files. * gnu/local.mk (dist_patch_DATA): Register them.
This commit is contained in:
parent
e0f9f85f8d
commit
5e8cb5e698
5 changed files with 596 additions and 21 deletions
16
gnu/packages/patches/glibc-hidden-visibility-ldconfig.patch
Normal file
16
gnu/packages/patches/glibc-hidden-visibility-ldconfig.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
Fix a regression in glibc 2.27 when built without ldconfig. See
|
||||
<https://sourceware.org/bugzilla/show_bug.cgi?id=22977> for details.
|
||||
|
||||
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
|
||||
index 6137304b0b..7d630f36d8 100644
|
||||
--- a/include/libc-symbols.h
|
||||
+++ b/include/libc-symbols.h
|
||||
@@ -508,7 +508,7 @@ for linking")
|
||||
# ifndef __ASSEMBLER__
|
||||
# if !defined SHARED && IS_IN (libc) && !defined LIBC_NONSHARED \
|
||||
&& (!defined PIC || !defined NO_HIDDEN_EXTERN_FUNC_IN_PIE) \
|
||||
- && !defined NO_HIDDEN
|
||||
+ && !defined NO_HIDDEN && defined USE_LDCONFIG
|
||||
# define __hidden_proto_hiddenattr(attrs...) \
|
||||
__attribute__ ((visibility ("hidden"), ##attrs))
|
||||
# define hidden_proto(name, attrs...) \
|
Loading…
Add table
Add a link
Reference in a new issue