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

building with --disable-shared fails when linking l_tunedisk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      n:lustre-release# git clean -fxd && mcs && sh autogen.sh && ./configure --disable-shared && make
      ...
      /bin/sh ../../libtool  --tag=CC   --mode=link gcc -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -lzfs -lnvpair   -o l_tunedisk l_tunedisk-l_tunedisk.o l_tunedisk-mount_utils.o  ../../libcfs/libcfs/libcfs.la   libmount_utils_zfs.a libmount_utils_ldiskfs.a  
      libtool: link: gcc -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS=1 -g -O2 -Wall -Werror -o l_tunedisk l_tunedisk-l_tunedisk.o l_tunedisk-mount_utils.o  -lzfs -lnvpair ../../libcfs/libcfs/.libs/libcfs.a libmount_utils_zfs.a libmount_utils_ldiskfs.a
      libmount_utils_ldiskfs.a(libmount_utils_ldiskfs_a-libmount_utils_ldiskfs.o): In function `is_block':
      /root/lustre-release/lustre/utils/libmount_utils_ldiskfs.c:133: undefined reference to `cfs_abs_path'
      collect2: error: ld returned 1 exit status
      

      It's strange since the other mount/mkfs/tunefs utils have similar builds and they work. This has been broken since https://review.whamcloud.com/31464 (LU-9551 utils: add l_tunedisk to fix disk tunings) landed.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: