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

RHEL8 build failed with some options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Lustre 2.14.0
    • None
    • 3
    • 9223372036854775807

    Description

      due lack of -fPIC for lnetconfig lib, rhel8 build failed

      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-liblnetconfig.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; r
      ecompile with -fPIC
      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-liblnetconfig.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; r
      ecompile with -fPIC
      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-liblnetconfig_lnd.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE objec
      t; recompile with -fPIC
      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-liblnetconfig_lnd.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE objec
      t; recompile with -fPIC
      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-cyaml.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with
      -fPIC
      /usr/bin/ld: ../../lnet/utils/lnetconfig/.libs/liblnetconfig.a(liblnetconfig_la-cyaml.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with
      -fPIC
      Colla
      

      Attachments

        Issue Links

          Activity

            People

              shadow Alexey Lyashkov
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: