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

OpenJDK build fails with 'cannot restore segment prot after reloc'

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      x86
    • OS:
      linux_2.6

      Backports

        Description

        When building OpenJDK sources on Fedora 6, build fails with error:

        ./gamma: error while loading shared libraries: ./libjvm.so: cannot restore segment prot after reloc: Permission denied


        make[7]: Leaving directory `/home/openjdk/Desktop/opensource-testing/openjdk-build10-output/hotspot/outputdir/linux_i486_compiler2/product'
        make[6]: Leaving directory `/home/openjdk/Desktop/opensource-testing/openjdk-build10-output/hotspot/outputdir/linux_i486_compiler2/product'
        All done.
        make[5]: Leaving directory `/home/openjdk/Desktop/opensource-testing/openjdk-build10-output/hotspot/outputdir/linux_i486_compiler2/product'
        cd linux_i486_compiler2/product && ./test_gamma
        ./gamma: error while loading shared libraries: ./libjvm.so: cannot restore segment prot after reloc: Permission denied
        make[4]: *** [product] Error 127
        make[4]: Leaving directory `/home/openjdk/Desktop/opensource-testing/openjdk-build10-output/hotspot/outputdir'
        make[3]: *** [generic_build2] Error 2
        make[3]: Leaving directory `/home/openjdk/Desktop/opensource-testing/hotspot/make'
        make[2]: *** [product] Error 2
        make[2]: Leaving directory `/home/openjdk/Desktop/opensource-testing/hotspot/make'
        make[1]: *** [hotspot-build] Error 2
        make[1]: Leaving directory `/home/openjdk/Desktop/opensource-testing/control/make'
        make: *** [dev-build] Error 2

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xlu Xiaobin Lu (Inactive)
                  Reporter:
                  rlingaiaorcl Ranjit Lingaiah (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: