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

port bug20355 to master(lctl and lfs need $(PTHREAD_LIBS))

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • Lustre 2.1.0
    • Lustre 2.1.0
    • None
    • 3
    • 20,355
    • 10555

      on BG/P platform in LLNL, its compiler tool can't detect the pthread support implicitly, then it report compiler error.
      the fix is adding the pthread support(CFLAGS, LIBS) according to the platform for the argument could be different in some platforms
      (e.g. -lpthread or -lpthreads)

      now the patch has been reverted in both b1_8 and master

            hongchao.zhang Hongchao Zhang
            hongchao.zhang Hongchao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: