Excerpts from ibuc...@gdcproject.org's message of December 20, 2021 4:00 pm: >> 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. >
I wrote this patch for Alpine Linux and have submitted it for review and, since I do not have commit access to gcc, in the hope that someone can commit it so that non-Alpine users may benefit and also Alpine will not have to maintain the patch. Since I am not familiar with gcc development procedures, I don't know if that means I need something from you specifically, but if somebody could commit it, that would be appreciated. Also, since I forgot to do so initially, please apply Signed-off-by: Alex Xu (Hello71) <alex_y...@yahoo.ca>. Cheers, Alex.