Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.4.0, Lustre 2.5.0
    • Lustre 2.4.0
    • None
    • a patch pushed via git.
    • 3
    • 6212

    Description

      I have recreated the issue here:
      http://review.whamcloud.com/5142

      Basically it started when strlcpy was being used in lustre/utils/liblustreapi.c.

      For some fun reason we get

      ...
      gcc -g -Wall -fPIC -D_GNU_SOURCE -g -O2 -Werror   -o ll_dirstripe_verify ll_dirstripe_verify.o -L../../lustre/utils -llustreapi ../../libcfs/libcfs/libcfs.a 
      ../../libcfs/libcfs/libcfs.a(libcfs_a-user-prim.o): In function `cfs_create_thread':
      /home/build/lustre-release/libcfs/libcfs/user-prim.c:241: undefined reference to `pthread_create'
      ...
      

      If you drop the small change out the system builds fine.

      Attachments

        Activity

          People

            mdiep Minh Diep
            keith Keith Mannthey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: