Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-769

Unable to compile xalac with gcc 5.4.0 on Solaris 10 SPARC v9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.11
    • None
    • XalanC
    • None
    • Solaris 10 Sparc

    Description

      ld: fatal: relocation error: R_SPARC_H44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
      ld: fatal: relocation error: R_SPARC_M44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
      ld: fatal: relocation error: R_SPARC_L44: file /opt/gcc-5.4.0-sparc-sun-solaris2.10/lib/gcc/sparc64-sun-solaris2.10/5.4.0/../../../sparcv9/libstdc++.a(eh_alloc.o): symbol .rodata (section): relocations based on the ABS44 coding model can not be used in building a shared object
      collect2: error: ld returned 1 exit status
      make[1]: *** [../../lib/libxalan-c.so.111.0] Error 1
      make[1]: Leaving directory `/disks/ermintrude1/workplaces/apfdev/build/gcc-5.4/HEAD/64/xalan-c-1.11/c/src/xalanc'
      make: *** [all] Error 2

      gcc was configured with
      /opt/gcc-5.4.x-sparc-sun-solaris2.10/bin> ./gcc -v
      Using built-in specs.
      COLLECT_GCC=./gcc
      COLLECT_LTO_WRAPPER=/opt/gcc-5.4.0-sparc-sun-solaris2.10/libexec/gcc/sparc64-sun-solaris2.10/5.4.0/lto-wrapper
      Target: sparc64-sun-solaris2.10
      Configured with: gcc-5.4.0/configure -prefix=/opt/gcc-5.4.0-sparc-sun-solaris2.10 --build=sparc64-sun-solaris2.10 --without-gnu-as --with-as=/usr/ccs/bin/as --without-gnu-ld -with-ld=/usr/ccs/bin/ld --disable-nls --enable-threads=posix --disable-shared --enable-languages=c++ --enable-checking=release --enable__cxa_atexit --enable-bootstrap
      Thread model: posix
      gcc version 5.4.0 (GCC)

      Attachments

        Activity

          People

            shathaway Steven J. Hathaway
            kalyan_ketharaju Kalyan Ketharaju
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: