On 2023/09/10 03:08:13 +0000, Lucas <lu...@sexy.is> wrote: > I had to add USE_NOBTCFI=Yes in my 11th gen Intel, otherwise I'll run > into a SIGILL from the coroutine lib. That lib comes from boost's > context so I did try to add some _CET_ENDBR in the same places that > boost uses it (at the beginning of each function in > subprojects/koishi/src/fcontext/asm/make_x86_64_sysv_elf_gas.S to be > precise), but ended up running into the following trace
I don't have a machine with IBT so can't test. Did the upstream suggestion of using -Dkoishi:impl=boost_fcontext works? If so, we might add devel/boost,-md as dependency instead of setting USE_NOBTCFI.