guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: rdma-core: Remove "-DIOCTL_MODE=write" configure flag.


From: guix-commits
Subject: 01/02: gnu: rdma-core: Remove "-DIOCTL_MODE=write" configure flag.
Date: Mon, 1 Feb 2021 06:51:22 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 37e997bc7867901dc5eaf9060358dfddacae8dd6
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Mon Feb 1 12:37:03 2021 +0100

    gnu: rdma-core: Remove "-DIOCTL_MODE=write" configure flag.
    
    Fixes <https://bugs.gnu.org/46229>.
    
    This flag was added in commit 2b14c60d3870e74f620775ec8dd64634ff874dc7.
    It is apparently no longer needed.  Worse, it now causes segfaults when
    used with Omni-Path devices, as reported in the bug above.
    
    * gnu/packages/linux.scm (rdma-core)[arguments]: Remove
    "-DIOCTL_MODE=write" from #:configure-flags.
---
 gnu/packages/linux.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index da4a766..f22564a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5528,14 +5528,7 @@ The package provides additional NTFS tools.")
                                (string-append "-DRST2MAN_EXECUTABLE="
                                               (assoc-ref %build-inputs
                                                          "python-docutils")
-                                              "/bin/rst2man.py")
-
-                               ;; On some configurations, the
-                               ;; IB_USER_MAD_REGISTER_AGENT ioctl, which is
-                               ;; used by default, would return ENODEV.  To
-                               ;; avoid that, use 'write' instead of ioctls,
-                               ;; as suggested in 'CMakeList.txt'.
-                               "-DIOCTL_MODE=write")
+                                              "/bin/rst2man.py"))
        #:phases
        (modify-phases %standard-phases
          (replace 'build



reply via email to

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