From d80cfc83325f8e95d35ecd9f15b36b96fa9ed3ee Mon Sep 17 00:00:00 2001 From: Simon South Date: Sat, 6 Jun 2020 18:56:56 -0400 Subject: [PATCH] Disable branch-patching This patch disables JamVM's branch-patching optimization, which tends to make JamVM fail with an "Illegal instruction" error on x86_64 (and possibly other architectures that use variable-length instructions) when built using modern versions of gcc and glibc. --- src/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.c b/src/init.c index 32539cf..38ad54b 100644 --- a/src/init.c +++ b/src/init.c @@ -72,8 +72,8 @@ void setDefaultInitArgs(InitArgs *args) { #ifdef INLINING args->replication_threshold = 10; args->profile_threshold = 10; - args->branch_patching_dup = TRUE; - args->branch_patching = TRUE; + args->branch_patching_dup = FALSE; + args->branch_patching = FALSE; args->print_codestats = FALSE; args->join_blocks = TRUE; args->profiling = TRUE; -- 2.25.2 /about/'>aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/bsd-games-add-configure-config.patch
AgeCommit message (Expand)Author
2020-11-04gnu: Add bsd-games....* gnu/packages/games.scm (bsd-games): New variable. New patches, taken from Arch and Debian: * gnu/packages/patches/bsd-games-2.17-64bit.patch * gnu/packages/patches/bsd-games-bad-ntohl-cast.patch * gnu/packages/patches/bsd-games-gamescreen.h.patch * gnu/packages/patches/bsd-games-getline.patch * gnu/packages/patches/bsd-games-null-check.patch * gnu/packages/patches/bsd-games-number.c-and-test.patch * gnu/packages/patches/bsd-games-prevent-name-collisions.patch * gnu/packages/patches/bsd-games-stdio.h.patch New patches with our customizations (configure-config built after Arch's): * gnu/packages/patches/bsd-games-add-configure-config.patch * gnu/packages/patches/bsd-games-add-wrapper.patch * gnu/packages/patches/bsd-games-dont-install-empty-files.patch Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Vitaliy Shatrov