Omar Polo <[email protected]> wrote: > On 2023/09/10 03:08:13 +0000, Lucas <[email protected]> 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.
Given that this ends up using devel/boost, currently at 1.80.0, and given that boost introduced CET support in 1.81.0, this didn't work. I believe the only ways are either keeping USE_NOBTCFI or updating Boost 1.83.0.
