Skip to content
Snippets Groups Projects
Unverified Commit 37e997bc authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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

Fixes <https://bugs.gnu.org/46229>.

This flag was added in commit 2b14c60d.
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.
parent 221fddd2
No related branches found
No related tags found
No related merge requests found
...@@ -5528,14 +5528,7 @@ (define-public rdma-core ...@@ -5528,14 +5528,7 @@ (define-public rdma-core
(string-append "-DRST2MAN_EXECUTABLE=" (string-append "-DRST2MAN_EXECUTABLE="
(assoc-ref %build-inputs (assoc-ref %build-inputs
"python-docutils") "python-docutils")
"/bin/rst2man.py") "/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")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'build (replace 'build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment