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

Luster build is failed with gcov enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 2.7.0
    • 3
    • 9223372036854775807

    Description

      ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage' LDFLAGS="-fprofile-arcs" --with-linux=

      make

      buid failed with messages
      cc1: warnings being treated as errors
      In file included from /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/alternative.h:43,
      from /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/atomic_64.h:5,
      from /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/atomic.h:4,
      from include/linux/crypto.h:20,
      from include/crypto/algapi.h:15,
      from include/crypto/internal/hash.h:16,
      from /root/build/lustre.clone/libcfs/libcfs/linux/linux-crypto-crc32pclmul.c:32:
      /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/cpufeature.h: In function ‘fpu_clear’:
      /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/cpufeature.h:382: error: asm operand 1 probably doesn’t match constraints
      /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/cpufeature.h: In function ‘fpu_save_init’:
      /root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage/arch/x86/include/asm/cpufeature.h:382: error: asm operand 1 probably doesn’t match constraints
      make[6]: *** [/root/build/lustre.clone/libcfs/libcfs/linux/linux-crypto-crc32pclmul.o] Error 1
      make[5]: *** [/root/build/lustre.clone/libcfs/libcfs] Error 2
      make[4]: *** [/root/build/lustre.clone/libcfs] Error 2
      make[3]: *** [_module_/root/build/lustre.clone] Error 2
      make[3]: Leaving directory `/root/build/kernels_cov/linux-2.6.32-431.29.2.el6_lustreb_neo_stable_2.0_coverage'
      make[2]: *** [modules] Error 2
      make[2]: Leaving directory `/root/build/lustre.clone'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/build/lustre.clone'
      make: *** [all] Error 2
      [root@localhost lustre.clone]# make
      make all-recursive
      make[1]: Entering directory `/root/build/lustre.clone'
      Making all in ldiskfs
      make[2]: Entering directory `/root/build/lustre.clone/ldiskfs'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/root/build/lustre.clone/ldiskfs'
      Making all in .
      make[2]: Entering directory `/root/build/lustre.clone'
      make sources -C ldiskfs || exit $?
      make[3]: Entering directory `/root/build/lustre.clone/ldiskfs'
      make[3]: `sources' is up to date.
      make[3]: Leaving directory `/root/build/lustre.clone/ldiskfs'
      make sources -C lustre || exit $?
      make[3]: Entering directory `/root/build/lustre.clone/lustre'
      perl ../lustre/scripts/version_tag.pl .. .. > tmpver
      fatal: No names found, cannot describe anything.

      Attachments

        Issue Links

          Activity

            People

              artem_blagodarenko Artem Blagodarenko (Inactive)
              artem_blagodarenko Artem Blagodarenko (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: