mGBA Forums
Cant build medusa - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: Development (https://forums.mgba.io/forumdisplay.php?fid=11)
+--- Thread: Cant build medusa (/showthread.php?tid=4955)



Cant build medusa - Amnesia1000 - 03-11-2019

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



RE: Cant build medusa - endrift - 03-11-2019

Medusa's build is currently broken for other reasons. I've never seen this failure before though. Looks like a GCC bug.