Re: [PATCH] libgfortran: avoid duplicate libraries in spec

2023-12-19 Thread Jerry D
On 12/19/23 1:10 PM, FX Coudert wrote: Hi, I am getting side notes about people having these issues with gfortran 13. Is this something that should be backported. I have already backported it in the latest Homebrew package (because we have many users complaining about it). I intend to backp

Re: [PATCH] libgfortran: avoid duplicate libraries in spec

2023-12-19 Thread FX Coudert
Hi, > I am getting side notes about people having these issues with gfortran 13. Is > this something that should be backported. I have already backported it in the latest Homebrew package (because we have many users complaining about it). I intend to backport but will wait for a conservative a

Re: [PATCH] libgfortran: avoid duplicate libraries in spec

2023-12-19 Thread Jerry D
On 12/19/23 12:02 AM, FX Coudert wrote: When gfortran invokes the linker, it reads the linking spec from libgfortran. This ends up doing things like: -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc where you can see that libgcc (both -lgcc and -lgcc_s) is linked in twice. This wasn’t a problem, until the