> On 20/12/2021 16:41 Alex Xu (Hello71) <alex_y...@yahoo.ca> wrote: > > > Excerpts from ibuc...@gdcproject.org's message of December 20, 2021 8:56 am: > >> On 20/12/2021 01:08 Alex Xu (Hello71) via Gcc-patches > >> <gcc-patches@gcc.gnu.org> wrote: > >> > >> > >> On musl, linking against libphobos fails because it requires ucontext > >> but is not explicitly linked against it. This is caused by configure > >> assuming that it is implemented in assembly, but it is actually not > >> implemented. This silently works on other libcs because context API does > >> not require an external library. > > > > Thanks. > > > > Looks reasonable to me, also for backporting to gcc-11, which also has the > > same CET support. > > > > Iain. > > > > Yes, we noticed this first on gcc 11. I tested that these patches fix > the issue on gcc 11, and since nothing seems to have changed, I think > the same problem exists and will be fixed by these patches on master. >
Do you need me to commit this? Iain.