On 2021-11-27 5:58 a.m., Helge Deller wrote:
It seems the __lshrdi3 symbol was dropped from libgcc.a from gcc-11 for 64-bit executables.
This is gcc bug. There's a typo in libgcc/config/pa/t-dimode: # Extra DImode libgcc2 functions to build. lib2difuncs = _muldi3 _negdi2 _lshrdi _ashldi3 _ashrdi3 _cmpdi2 _ucmpdi2 Will fix. __lshrdi3 isn't needed anymore for 64-bit binaries with gcc-11 and later. Not sure for other shifts but it should be possible to handle them in pa.md. Dave -- John David Anglin dave.anglin@xxxxxxxx