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

build with MOFED 4.1 fails on sles11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Build with MOFED 4.1 fails on sles11sp4. No issue building on other linux distros. Pretty sure I've tracked it down to being a MOFED bug, not a lustre bug. From Skype discussion with Minh:

      [7/25/17, 7:41:22 AM] Bob Glossman: about that MOFED build problem that is sles11 only. I think I can see the cause. in MOFED’s compat/config.h file HAVE_IS_VLAN_DEV_CONST is #defined. pretty sure it should be #undef for sles11sp4. this makes it a MOFED bug.
      [7/25/17, 7:41:51 AM] Bob Glossman: if I edit that config.h file then lustre builds fine
      [7/25/17, 7:43:37 AM] Bob Glossman: something wrong in MOFED logic that generates that file, but only seriously broken on sles11sp4
      [7/25/17, 8:06:14 AM] Bob Glossman: looking at logs for autoconf in MOFED that generates their config.h I can see the test compile for HAVE_IS_VLAN_DEV_CONST reporting a ‘warning’. but since they do their autoconf test without a -Werror option the warning isn’t promoted to be an error. This causes the autoconf test give the wrong answer, making HAVE_IS_VLAN_DEV_CONST #defined instead of #undef.

      MOFED's #include files are all properly conditioned with #ifdefs to adapt to the environment, but since their autoconf is giving the wrong answer in this case building with their #includes causes conflicts in our build.

      Attachments

        Activity

          People

            wc-triage WC Triage
            bogl Bob Glossman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: