mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu; glibc-2.33: Fix build with gcc-14.
* gnu/packages/base.scm (glibc-2.33)[arguments]: New field to further relax gcc-14.'s strictness. Change-Id: Ib6ac5bc44608a56bb7dd584c21beadee280fe519
This commit is contained in:
parent
5a72c9f517
commit
497811b66f
1 changed files with 22 additions and 1 deletions
|
@ -1303,7 +1303,28 @@ with the Linux kernel.")
|
||||||
(member (basename patch)
|
(member (basename patch)
|
||||||
'("glibc-2.35-CVE-2023-4911.patch"
|
'("glibc-2.35-CVE-2023-4911.patch"
|
||||||
"glibc-hurd-clock_gettime_monotonic.patch")))
|
"glibc-hurd-clock_gettime_monotonic.patch")))
|
||||||
(origin-patches (package-source glibc-2.35)))))))))
|
(origin-patches (package-source glibc-2.35)))))))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments glibc)
|
||||||
|
((#:configure-flags flags #~'())
|
||||||
|
#~(cons* #$(string-append
|
||||||
|
"CFLAGS=-g -O2"
|
||||||
|
" -Wno-error=builtin-declaration-mismatch"
|
||||||
|
" -Wno-error=format-overflow"
|
||||||
|
" -Wno-error=stringop-overflow"
|
||||||
|
" -Wno-error=use-after-free")
|
||||||
|
"--enable-crypt"
|
||||||
|
;; We do not want to use the C++ compiler, because its
|
||||||
|
;; libstdc++ is linked against a newer glibc, and so relies
|
||||||
|
;; on those newer symbols. Pretend it doesn't link (the test
|
||||||
|
;; doesn't actually check that the compiler works with new
|
||||||
|
;; libstdc++ and older glibc).
|
||||||
|
"libc_cv_cxx_link_ok=no"
|
||||||
|
#$flags))
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
;; This phase fails trying to create /etc/ld.so.cache
|
||||||
|
(delete 'install-utf8-c-locale)))))))
|
||||||
|
|
||||||
(define-public glibc-2.32
|
(define-public glibc-2.32
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue