Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-30655

[RHEL-10] Fix pyverbs build for i686

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • rhel-10.0.beta
    • None
    • rdma-core
    • None
    •  rdma-core-51.0-1.el10
    • High
    • 1
    • rhel-net-drivers
    • ssg_networking
    • 6
    • 16
    • 3
    • Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • Network Driver 1
    • None

      Goal

      • Fix the following build failure for i686 arch:
      rdma-core-50.0/pyverbs/dmabuf_alloc.c: In function ‘drm_open’:
      rdma-core-50.0/pyverbs/dmabuf_alloc.c:122:28: error: assignment to ‘int (*)(struct drm *, uint64_t,  uint32_t *, int)’ {aka ‘int (*)(struct drm *, long long unsigned int,  unsigned int *, i
      nt)’} from incompatible pointer type ‘int (*)(struct drm *, size_t,  uint32_t *, int)’ {aka ‘int (*)(struct drm *, unsigned int,  unsigned int *, int)’} [-Wincompatible-pointer-types]
      +  122 |                 drm->alloc = amdgpu_alloc;
       

       

      The following upstream commit fixes this issue:

      https://github.com/linux-rdma/rdma-core/commit/4d0e1a40d8662cf0e2b00ef944ddf6dcef27f7f2

              kheib Kamal Heib
              kheib Kamal Heib
              Kamal Heib Kamal Heib
              infiniband-qe infiniband-qe infiniband-qe infiniband-qe
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: