[ruby-cvs:73302] odaira:r66202 (trunk): Enable MJIT on AIX

odaira at ruby-lang.org odaira at ruby-lang.org
Wed Dec 5 07:19:09 JST 2018


odaira	2018-12-05 07:19:09 +0900 (Wed, 05 Dec 2018)

  New Revision: 66202

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66202

  Log:
    Enable MJIT on AIX
    
    * configure.ac: disable using __builtin_setjmp to avoid errors when execution
      globally jumps out of JITted code. Specify -std=gnu99 to JIT compilation
      to avoid errors regarding the "restrict" keyword in the precompiled header.
      Specify -shared in addition to -Wl,-G when building shared libraries
      to make mjit_build_dir.so expose the MJIT_BUILD_DIR symbol.  Use LDR_PRELOAD
      to load mjit_build_dir.so.
    
    * mjit_worker.c: do not specify -nodefaultlibs or -nostdlibs because on AIX
      JITted code internally refers to the memcpy function.

  Modified files:
    trunk/configure.ac
    trunk/mjit_worker.c


More information about the ruby-cvs mailing list