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

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

This flag was added in commit 2b14c60d38.
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.
This commit is contained in:
Ludovic Courtès 2021-02-01 12:37:03 +01:00 committed by Ludovic Courtès
parent 221fddd2e2
commit 37e997bc78
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5528,14 +5528,7 @@ (define-public rdma-core
(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