* [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.
@ 2017-01-02 17:53 manolis837
2017-01-02 18:25 ` David Craven
0 siblings, 1 reply; 4+ messages in thread
From: manolis837 @ 2017-01-02 17:53 UTC (permalink / raw)
To: guix-devel
From: Manolis Ragkousis <manolis837@gmail.com>
* guix/build/make-bootstrap.scm (%libc-object-files-rx): Update regexp.
---
guix/build/make-bootstrap.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/build/make-bootstrap.scm b/guix/build/make-bootstrap.scm
index bc4c0e3d5..21c78cc8f 100644
--- a/guix/build/make-bootstrap.scm
+++ b/guix/build/make-bootstrap.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
+;;; Copyright © 2015, 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
@@ -64,7 +64,8 @@ when producing a bootstrap libc."
#t))
(define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\
-util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$")
+util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|(libc(rt|)|libpthread)\
+_nonshared\\.a)$")
(setvbuf (current-output-port) _IOLBF)
(let* ((libdir (string-append output "/lib")))
--
2.11.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.
2017-01-02 17:53 [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system manolis837
@ 2017-01-02 18:25 ` David Craven
2017-01-02 18:29 ` Manolis Ragkousis
0 siblings, 1 reply; 4+ messages in thread
From: David Craven @ 2017-01-02 18:25 UTC (permalink / raw)
To: manolis837; +Cc: guix-devel
> (define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\
> -util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$")
> +util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|(libc(rt|)|libpthread)\
> +_nonshared\\.a)$")
Adding libpthread_nonshared.a increases the size of the bootstrap
binaries doesn't it? If you explain why it is needed we'll have to
accept it... ;)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.
2017-01-02 18:25 ` David Craven
@ 2017-01-02 18:29 ` Manolis Ragkousis
2017-01-02 18:31 ` David Craven
0 siblings, 1 reply; 4+ messages in thread
From: Manolis Ragkousis @ 2017-01-02 18:29 UTC (permalink / raw)
To: David Craven; +Cc: guix-devel
Sometimes I forget that people can't see what I think in my head :P
On 01/02/17 20:25, David Craven wrote:
>> (define %libc-object-files-rx "^(crt.*|ld.*|lib(c|m|dl|rt|pthread|nsl|\
>> -util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|libc(rt|)_nonshared\\.a)$")
>> +util).*\\.so(\\..*)?|lib(machuser|hurduser).so.*|(libc(rt|)|libpthread)\
>> +_nonshared\\.a)$")
>
> Adding libpthread_nonshared.a increases the size of the bootstrap
> binaries doesn't it? If you explain why it is needed we'll have to
> accept it... ;)
>
Directly from libpthread's Makefile:
# What we install as libpthread.so for programs to link against is in fact a
# link script. It contains references for the various libraries we need.
# The libpthread.so object is not complete since some functions are only
# defined in libpthread_nonshared.a.
Manolis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system.
2017-01-02 18:29 ` Manolis Ragkousis
@ 2017-01-02 18:31 ` David Craven
0 siblings, 0 replies; 4+ messages in thread
From: David Craven @ 2017-01-02 18:31 UTC (permalink / raw)
To: Manolis Ragkousis; +Cc: guix-devel
Hi Manolis,
I don't think anyone can argue with that. Thank you for fixing my
ignorance of the issue.
LGTM.
David
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-02 18:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-02 17:53 [PATCH] guix: build: make-bootstrap: Copy libpthread_nonshared.a to the new system manolis837
2017-01-02 18:25 ` David Craven
2017-01-02 18:29 ` Manolis Ragkousis
2017-01-02 18:31 ` David Craven
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).