Hi,

try to compile the latest commit in the master branch, which contains
the updated Catch2 library – not sure if the issue has been fixed,
though.
You can also use cmake to link to the system Catch2 library (details
on cmake compilation are in the thbook).

Martin

On Thu, Jun 17, 2021 at 10:51 PM Philippe Vernant
<[email protected]> wrote:
>
> 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
>
> _______________________________________________
> Therion mailing list
> [email protected]
> https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to