[Therion] Problem when compiling on MacOS

Philippe Vernant phil.vernant at gmail.com
Thu Jun 17 22:50:40 CEST 2021


Hi guys,

Has anyone been successful compiling xtherion on a Mac with the M1 chip and Big Sur ? I can compile and run therion but I have the following error message and fail to compile xtherion :

extern/catch2/catch.hpp:8205:13: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
            CATCH_BREAK_INTO_DEBUGGER();
            ^
extern/catch2/catch.hpp:7916:83: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
        #define CATCH_BREAK_INTO_DEBUGGER() []{ if( Catch::isDebuggerActive() ) { CATCH_TRAP(); } }()
                                                                                  ^
extern/catch2/catch.hpp:7881:34: note: expanded from macro 'CATCH_TRAP'
    #define CATCH_TRAP() __asm__("int $3\n" : : ) /* NOLINT */
                                 ^
<inline asm>:1:2: note: instantiated into assembly here
        int $3
        ^
1 error generated.
make: *** [utest-main.o] Error 1

Thanks,
Phil
 


More information about the Therion mailing list