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

ubuntu16 client build failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In file included from include/linux/kernel.h:10:0,
                       from include/linux/list.h:9,
                       from include/linux/random.h:10,
                       from /home/wangsl/lustre-release/lnet/lnet/router.c:25:
      /home/wangsl/lustre-release/lnet/lnet/router.c: In function ‘lnet_del_route’:
      include/linux/compiler.h:177:26: error: ‘lp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
        case 8: *(__u64 *)res = *(volatile __u64 *)p; break;  \
                                ^
      /home/wangsl/lustre-release/lnet/lnet/router.c:754:20: note: ‘lp’ was declared here
        struct lnet_peer *lp;
                          ^
      /home/wangsl/lustre-release/lnet/lnet/router.c: At top level:
      cc1: error: unrecognized command line option ‘-Wno-stringop-overflow’ [-Werror]
      cc1: error: unrecognized command line option ‘-Wno-stringop-truncation’ [-Werror]
      cc1: error: unrecognized command line option ‘-Wno-format-truncation’ [-Werror]
      cc1: all warnings being treated as errors
      

      Attachments

        Activity

          People

            wshilong Wang Shilong (Inactive)
            wshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: