On Thu, Jul 14, 2022 at 12:26:27AM +0100, Sudip Mukherjee wrote: > On Thu, Jul 14, 2022 at 12:12 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > > > > On Thu, Jul 14, 2022 at 12:09:24AM +0100, Sudip Mukherjee wrote: > > > On Wed, Jul 13, 2022 at 11:56 PM Guenter Roeck <linux@xxxxxxxxxxxx> wrote: > > > > > > > > On Wed, Jul 13, 2022 at 10:50:06PM +0100, Sudip Mukherjee wrote: > > > > > On Wed, Jul 13, 2022 at 10:45 PM Linus Torvalds > > > > > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > > > > > > > > > > > > On Wed, Jul 13, 2022 at 2:36 PM Sudip Mukherjee > > > > > > <sudipm.mukherjee@xxxxxxxxx> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > https://lore.kernel.org/all/20220524025139.40212-1-wangkefeng.wang@xxxxxxxxxx/ > > > > > > > > > > > > > > > > That patch looks sane to me, but I guess Guenter would need to check > > > > > > > > > > > > > > I still see the failure in my builds with this patch. But surprisingly > > > > > > > I dont see the build failure (with or without this patch) with gcc-12, > > > > > > > only with gcc-11. > > > > > > > > > > > > Arrghs. "build failure"? > > > > > > > > > > Uhh.. no, sorry.. I meant the same problem which Guenter reported with > > > > > powerpc64-linux-ld, hard float and soft float. > > > > > But I dont see this problem with gcc-12, only with gcc-11. > > > > > > > > > > > > > Weird. It works for me with gcc 11.3.0 / binutils 2.38 as well as with > > > > gcc 11.2.0 / binutils 2.36.1. > > > > > > Its entirely possible that I have messed up, there are references to > > > many patches in this thread. :) > > > Can you please paste the link of the patch that you say is working for > > > you. I will try a clean build with that. > > > > > > > The patch is at: > > > > https://lore.kernel.org/lkml/20220618232737.2036722-1-linux@xxxxxxxxxxxx/raw > > Thanks, that works. tested with gcc-11.3.1, and binutils 2.38 on top > of latest mainline (4a57a8400075bc5287c5c877702c68aeae2a033d) > > When I said I still had the problem, I tested with > https://lore.kernel.org/all/20220524025139.40212-1-wangkefeng.wang@xxxxxxxxxx/ Makes sense. That was the patch fixing the runtime problem. Guenter