guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: ld-wrapper: Make sure debugging output goes through.


From: Ludovic Courtès
Subject: 03/05: ld-wrapper: Make sure debugging output goes through.
Date: Thu, 29 Mar 2018 11:58:23 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit 6764538327a3ff24bc83ef731e9e74a9160981e2
Author: Ludovic Courtès <address@hidden>
Date:   Thu Mar 29 17:42:15 2018 +0200

    ld-wrapper: Make sure debugging output goes through.
    
    * gnu/packages/ld-wrapper.in (ld-wrapper): Add call to 'force-output'.
---
 gnu/packages/ld-wrapper.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ld-wrapper.in b/gnu/packages/ld-wrapper.in
index 82bd219..24445ed 100644
--- a/gnu/packages/ld-wrapper.in
+++ b/gnu/packages/ld-wrapper.in
@@ -15,7 +15,7 @@ main="(@ (gnu build-support ld-wrapper) ld-wrapper)"
 exec @GUILE@ -c "(load-compiled \"@address@hidden") (apply $main (cdr 
(command-line)))" "$@"
 !#
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès 
<address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès 
<address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -270,7 +270,8 @@ impure library ~s~%"
               "ld-wrapper: libraries linked: ~s~%" libs)
       (format (current-error-port)
               "ld-wrapper: invoking `~a' with ~s~%"
-              %real-ld args))
+              %real-ld args)
+      (force-output (current-error-port)))
     (apply execl %real-ld (basename %real-ld) args)))
 
 ;;; ld-wrapper.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]