0 Replies Latest reply on Jun 9, 2016 11:53 PM by ctan94x_intel

    Error: Cannot make segment writable for relocation: Permission Denied

    ctan94x_intel

      Issue Description

      User may encounter an issue while executing ./java.

      Error message: Cannot make segment writable for relocation: Permission Denied

       

      Solution
      Execute below commands:

      1.) -Cm - create PT_PAX_FLAGS + disable MPROTECT

      root@WR-IntelligentDevice:/home/ejdk1.8.0_73/linux_i586/jre/bin# paxctl -Cm java

      file java got a new PT_PAX_FLAGS program header

       

      2.) -cm - convert PT_GNU_STACK into PT_PAX_FLAGS + disable MPROTECT

      root@WR-IntelligentDevice:/home/ejdk1.8.0_73/linux_i586/jre/bin# paxctl -cm java

      file java had a PT_GNU_STACK program header, converted

       

      Last Validated Info:

      IDP Version: 3.1

      RCPL: 0015

      Device: DK300