www.digitalmars.com         C & C++   DMDScript  

D.gnu - undefined reference to `fiber_switchContext'

reply Mahdi <ubuntulove74 gmail.com> writes:
/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.
Aug 23 2021
parent Iain Buclaw <ibuclaw gdcproject.org> writes:
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.
Aug 24 2021