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

CentOS 7.6 build failure on strscpy. Move strscpy to lnet/include/lnet/lib-types.h

Details

    • 3
    • 9223372036854775807

    Description

      Testing on CentOS 7.6 build fails with:

      /home/shaun/lustre-release/lnet/klnds/o2iblnd/o2iblnd.c: In function ‘kiblnd_startup’:
      /home/shaun/lustre-release/lnet/klnds/o2iblnd/o2iblnd.c:3608:3: error: implicit declaration of function ‘strscpy’ [-Werror=implicit-function-declaration]
         strscpy(ifname, ifaces[i].li_name, sizeof(ifname));
         ^
      

      Move strscpy to lnet/include/lnet/lib-types.h so it is available to lnet/klnds/o2iblnd/o2iblnd.c

      Attachments

        Activity

          [LU-16520] CentOS 7.6 build failure on strscpy. Move strscpy to lnet/include/lnet/lib-types.h

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56766/
          Subject: LU-16520 build: Move strscpy to libcfs common header
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: 9a2c00cff496c0fbf9e176a8a3dce93741101bf8

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56766/ Subject: LU-16520 build: Move strscpy to libcfs common header Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 9a2c00cff496c0fbf9e176a8a3dce93741101bf8

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56766
          Subject: LU-16520 build: Move strscpy to libcfs common header
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: bf672a9e4d1d6d1051438a4bf65bc174a03cb8fb

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56766 Subject: LU-16520 build: Move strscpy to libcfs common header Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: bf672a9e4d1d6d1051438a4bf65bc174a03cb8fb
          pjones Peter Jones added a comment -

          Landed for 2.16

          pjones Peter Jones added a comment - Landed for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49863/
          Subject: LU-16520 build: Move strscpy to libcfs common header
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 7fe7f4ca06b9c8d128f7ba36988e36f8141ed53d

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49863/ Subject: LU-16520 build: Move strscpy to libcfs common header Project: fs/lustre-release Branch: master Current Patch Set: Commit: 7fe7f4ca06b9c8d128f7ba36988e36f8141ed53d

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49863
          Subject: LU-16520 build: Move strscpy to common lnet header
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 374db0db7d81e88a3ec2de1d4acdb06edfcb2369

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49863 Subject: LU-16520 build: Move strscpy to common lnet header Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 374db0db7d81e88a3ec2de1d4acdb06edfcb2369

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: