Hi Balint,

thanks for the bug report.

I think this is in fact a problem with PIE: FAUmachine uses a just-in-time
compiler based on qemu. This is where the error happens:

  dyngen: unsupported X86_64 relocation (4)

Maybe the fix is as simple as:

diff --git a/configure.ac b/configure.ac
index 980ce16..695ec39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -447,6 +447,7 @@ AC_PROG_CC_OPTION([-fno-strict-aliasing], 
[fm_jit_gen_cflags="${fm_jit_gen_cflag
 AC_PROG_CC_OPTION([-fno-reorder-blocks], 
[fm_jit_gen_cflags="${fm_jit_gen_cflags} -fno-reorder-blocks"])
 AC_PROG_CC_OPTION([-fno-ipa-icf], [fm_jit_gen_cflags="${fm_jit_gen_cflags} 
-fno-ipa-icf"])
 AC_PROG_CC_OPTION([-fno-gcse], [fm_jit_gen_cflags="${fm_jit_gen_cflags} 
-fno-gcse"])
+AC_PROG_CC_OPTION([-fno-gcse], [fm_jit_gen_cflags="${fm_jit_gen_cflags} 
-no-pie"])
 AC_SUBST([fm_jit_gen_cflags])
 
 # Compiler warnings (not needed but nice to have).


However I haven't tested this yet. Hopefully, I find some time this weekend, but
I cannot make any promises :/.

Cheers,
  Stefan.

Reply via email to