Re: [PATCH] parisc: Do not export __lshrdi3 on 64-bit with gcc >= 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021-11-27 5:08 p.m., Helge Deller wrote:
On 11/27/21 22:52, John David Anglin wrote:
On 2021-11-27 11:32 a.m., John David Anglin wrote:
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.
This is now fixed in upstream gcc source.
Thanks for fixing, Dave!

So, my patch:
https://patchwork.kernel.org/project/linux-parisc/patch/20211127105818.299902-1-deller@xxxxxx/
and Mikulas patch:
https://patchwork.kernel.org/project/linux-parisc/patch/alpine.LRH.2.02.2111270717490.10680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
won't be needed.
Yes.  I will rebuild gcc-11 with fix but that will take a day or so.  In the meantime, gcc-10 should work.

But it would be good to know if the shift routines in libgcc are needed with gcc-11.  All the shifts should be inline.

Dave

--
John David Anglin  dave.anglin@xxxxxxxx




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux