unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 53609@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#53609] [PATCH v2 3/4] gnu: Add glibc-2.2.5.
Date: Sat,  5 Feb 2022 01:08:22 +0100	[thread overview]
Message-ID: <20220205000823.2680-3-rekado@elephly.net> (raw)
In-Reply-To: <20220205000823.2680-1-rekado@elephly.net>

* gnu/packages/commencement.scm (glibc-2.2.5): New variable.
---
 gnu/packages/commencement.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6bbadff796..4f10b22e78 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3471,6 +3471,30 @@ (define glibc-final
        ,@(package-outputs glibc-final-with-bootstrap-bash))
       ,@(package-arguments glibc-final-with-bootstrap-bash)))))
 
+(define glibc-2.2.5
+  (package/inherit
+   glibc-mesboot0
+   (arguments
+    (substitute-keyword-arguments (package-arguments glibc-mesboot0)
+      ((#:configure-flags flags '())
+       #~(let ((out (assoc-ref %outputs "out"))
+               (headers (assoc-ref %build-inputs "kernel-headers")))
+           `("--enable-shared"
+             "--enable-static"
+             "--disable-sanity-checks"
+             "--build=i686-unknown-linux-gnu"
+             "--host=i686-unknown-linux-gnu"
+             ,(string-append "--with-headers=" headers "/include")
+             "--enable-static-nss"
+             "--without-__thread"
+             "--without-cvs"
+             "--without-gd"
+             "--without-tls"
+             ,(string-append "--prefix=" out))))))
+   (propagated-inputs `(("kernel-headers" ,linux-libre-headers)))
+   (native-inputs
+    (alist-delete "kernel-headers" (%boot-mesboot1-inputs)))))
+
 (define/system-dependent gcc-boot0-wrapped
   ;; Make the cross-tools GCC-BOOT0 and BINUTILS-BOOT0 available under the
   ;; non-cross names.
-- 
2.34.0





  parent reply	other threads:[~2022-02-05  0:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-28 17:35 [bug#53609] [PATCH] Add GHC 4 for the Haskell bootstrap Ricardo Wurmus
2022-01-28 17:48 ` [bug#53609] [PATCH 1/2] gnu: Add perl-5.14 Ricardo Wurmus
2022-01-28 17:48   ` [bug#53609] [PATCH 2/2] gnu: Add ghc-4 Ricardo Wurmus
2022-01-29 18:56     ` Ricardo Wurmus
2022-02-05  0:08 ` [bug#53609] [PATCH v2 1/4] gnu: Add perl-5.14 Ricardo Wurmus
2022-02-05  0:08   ` [bug#53609] [PATCH v2 2/4] gnu: Add gcc-2.95-wrapper Ricardo Wurmus
2022-02-05  0:08   ` Ricardo Wurmus [this message]
2022-02-05 14:44     ` [bug#53609] [PATCH v2 3/4] gnu: Add glibc-2.2.5 Maxime Devos
2022-02-05  0:08   ` [bug#53609] [PATCH v2 4/4] gnu: Add ghc-4 Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220205000823.2680-3-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=53609@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).