unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38893] [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs.
@ 2020-01-03 14:30 Mathieu Othacehe
  2020-01-15 21:10 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2020-01-03 14:30 UTC (permalink / raw)
  To: 38893; +Cc: Mathieu Othacehe

This is a follow-up of 4610ab7c9a5327df0d475262817bc081a5891aa8. 'getpw' & co
fail with a cross-compiled statically-linked guile.

* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[inputs]:
Add "cross-libc:static".
---
 gnu/packages/make-bootstrap.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index d149a7ec1a..0144a6e9a2 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2018, 2019 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -137,7 +138,10 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
   (define (inputs)
     (if (%current-target-system)                ; is this package cross built?
         `(("cross-libc"
-           ,(cross-bootstrap-libc (%current-target-system))))
+           ,(cross-bootstrap-libc (%current-target-system)))
+          ("cross-libc:static"
+           ,(cross-bootstrap-libc (%current-target-system))
+           "static"))
         '()))
 
   (define (native-inputs)
-- 
2.24.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#38893] [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs.
  2020-01-03 14:30 [bug#38893] [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs Mathieu Othacehe
@ 2020-01-15 21:10 ` Ludovic Courtès
  2020-01-16  9:17   ` bug#38893: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-01-15 21:10 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 38893

Hello,

Mathieu Othacehe <m.othacehe@gmail.com> skribis:

> This is a follow-up of 4610ab7c9a5327df0d475262817bc081a5891aa8. 'getpw' & co
> fail with a cross-compiled statically-linked guile.
>
> * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[inputs]:
> Add "cross-libc:static".

Good catch, LGTM!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#38893: [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs.
  2020-01-15 21:10 ` Ludovic Courtès
@ 2020-01-16  9:17   ` Mathieu Othacehe
  0 siblings, 0 replies; 3+ messages in thread
From: Mathieu Othacehe @ 2020-01-16  9:17 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 38893-done


Hey,

>> * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[inputs]:
>> Add "cross-libc:static".
>
> Good catch, LGTM!

Thanks for reviewing, pushed on core-updates!

Mathieu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-16  9:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-03 14:30 [bug#38893] [PATCH] gnu: make-bootstrap: Add cross-libc:static to the inputs Mathieu Othacehe
2020-01-15 21:10 ` Ludovic Courtès
2020-01-16  9:17   ` bug#38893: " Mathieu Othacehe

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).