diff options
author | odaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-04 22:19:09 +0000 |
---|---|---|
committer | odaira <odaira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-04 22:19:09 +0000 |
commit | d612c44dad8a5d4c373b0c4bc08a99e3dc06498e (patch) | |
tree | b8ea363fca4630fb1c53ca3ab04adb5c9a5aa037 /mjit.c | |
parent | 2dd614af672e3b80d8b213273a5ff2d11161edd2 (diff) | |
download | ruby-d612c44dad8a5d4c373b0c4bc08a99e3dc06498e.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.c')
0 files changed, 0 insertions, 0 deletions