Closed maksalees closed 1 year ago
It seems that gcc is used to compile the object files, but then another linker (the one at /nix/store/r2b9k28c6aghczpqfvh71y9xavm7rr68-binutils-2.39/bin/ld
) is used to link them.
If this is the case, maybe a bash script like
cd lib/anyolite
unset LD
rake build_shard
could provide a quick temporary fix. The mruby package for Nix uses the same trick.
If that doesn't work, try export LD=gcc
instead of unset LD
.
Did you happen to have any success with one of the fixes?
In that case I can incorporate the fix into the build script.
Did you happen to have any success with one of the fixes?
In that case I can incorporate the fix into the build script.
unset LD
worked
Should be fixed in the latest main commit now (if there are still problems, please comment here again).
When I compile project I get this error:
If I try to compile myself (
cd lib/anyolite; rake build_shard
), there will be this error:I use mruby and glibc 2.35.