undefined reference to `fiber_switchContext'

Iain Buclaw ibuclaw at gdcproject.org
Tue Aug 24 08:00:35 UTC 2021


On Monday, 23 August 2021 at 19:07:52 UTC, Mahdi wrote:
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/libgphobos.so: 
> undefined reference to `fiber_switchContext'
> collect2: error: ld returned 1 exit status
>
> I have this problem after installing GDC 11.
> I installed gcc,g++ and gdc version 11 from unofficial 
> repositories on Ubuntu 20.04.

Try an official repository, or get in touch with the package 
maintainers to make them aware of the broken package.


More information about the D.gnu mailing list