mGBA Forums

Full Version: Cant build medusa
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know that medusa is in alpha phase, or pre alpha xD, but I wanted to know if there is any dependence out of the common with mgba, because when trying to compile medusa I get this error.


Code:
[0%] Built target version-info
[0%] Building C object CMakeFiles/medusa-emu.dir/src/arm/decoder.c.o

during GIMPLE pass: wrestrict
In the 'ARMDisassemble' function:
at pp_format, at pretty-print.c:1387
 int ARMDisassemble(struct ARMInstructionInfo* info, uint32_t pc, char* buffer, int blen) {
     ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/medusa-emu.dir/build.make:583: CMakeFiles/medusa-emu.dir/src/arm/decoder.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/medusa-emu.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Im in Menjaro Linux

This is the procedure I followed to clone the repository and compile

Code:
git clone -b medusa https://github.com/mgba-emu/mgba.git medusa
cd medusa
mkdir -p build && cd build
cmake ..
make
Medusa's build is currently broken for other reasons. I've never seen this failure before though. Looks like a GCC bug.