Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15973

RHEL 8.6 build failed with MLNX_OFED 5.6-2.0.9.0

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      Build failures are:

      In file included from mlx/BUILD/mlnx-ofa_kernel-devel/usr/src/ofa_kernel/x86_64/4.18.0-372.9.1.el8.x86_64/include/linux/compiler.h:6,
                       from include/linux/rh_kabi.h:30,
                       from include/linux/uio.h:12,
                       from include/linux/socket.h:8,
                       from ./include/uapi/linux/if.h:25,
                       from mlx/BUILD/mlnx-ofa_kernel-devel/usr/src/ofa_kernel/x86_64/4.18.0-372.9.1.el8.x86_64/include/linux/compat-2.6.h:11,
                       from <command-line>:
      include/linux/sched/signal.h: In function 'kernel_signal_stop':
      /tmp/rpmbuild-lustre-jenkins-TRUIEaHb/BUILD/lustre-2.14.0_ddn48/config.h:1072:17: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
       #define __state state
                       ^~~~~    
      include/linux/compiler.h:354:17: note: in definition of macro 'WRITE_ONCE'
        union { typeof(x) __val; char __c[1]; } __u = \
                       ^        
      include/linux/sched.h:223:23: note: in expansion of macro '__state'
         WRITE_ONCE(current->__state, (state_value));  \
                             ^~~~~~~  
      include/linux/sched/signal.h:312:3: note: in expansion of macro 'set_special_state'
         set_special_state(TASK_STOPPED);
         ^~~~~~~~~~~~~~~~~
      

      The failures are introduced from the lustre/autoconf/lustre-core.m4 changes in https://review.whamcloud.com/47192.

      Attachments

        Activity

          People

            yujian Jian Yu
            yujian Jian Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: