Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8204935

[aix] TOC overflow in libjvm.so (release build)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b19
    • OS:
      aix

      Backports

        Description

        Linking libjvm.so
        ( /bin/xlC_r -b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K -bdatapsize:64K -bstackpsize:64K -Wl,-lC_r -q64 -qmkshrobj -bM:SRE -bnoentry -q64 -bbigtoc -bloadmap:/net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/libjvm.loadmap -o /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/libjvm.so -f/net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/_BUILD_GTEST_LIBJVM_objectfilenames.txt -lm -ldl -lpthread > >(/opt/freeware/bin/tee /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM_link.log) 2> >(/opt/freeware/bin/tee /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM_link.log >&2) || ( exitcode=$? && /opt/freeware/bin/cp /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM_link.log /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/make-support/failure-logs/hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link.log && /opt/freeware/bin/cp /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM_link.cmdline /net/usr.work/openjdk/nb/rs6000_64/nightly/output-jdk-test/make-support/failure-logs/hotspot_variant-server_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link.cmdline && exit $exitcode ) ) ;
        ld: 0711-781 ERROR: TOC overflow. TOC size: 67032 Maximum size: 65536

        ----

        So we finally have reached the point where even the standard (not gtest) release build libjvm.so fell victim to template bloat and blew its TOC.

        On the bright side, this should make the makefiles easier, since we do not distinguish any more between the various libjvm variants.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: