GCC 16, the -MD -MF<file-for-dependencies> is not filled when compilation fails.
Basile STARYNKEVITCH
basile@starynkevitch.net
Wed May 27 07:21:10 GMT 2026
On Wed, 2026-05-27 at 08:28 +0200, Basile STARYNKEVITCH wrote:
> On Wed, 2026-05-27 at 08:24 +0200, Basile STARYNKEVITCH wrote:
> > Hello all,
> >
> > (see https://github.com/RefPerSys/RefPerSys compiled on RaspBerryPi
> > Linux for an example)
> >
> > When compiling a source code with GCC 16.1 (on RaspberryPi
> > Linux/Debian, using GNU make 4.4 with guile) the file written for
> > dependencies with -MF is not filled on compilation failure
>
>
> Sorry for lack of details, I was refering to
> https://github.com/RefPerSys/RefPerSys/commit/3ffe011b1d22f3d9b2fdb3c5afd48907780833db
Strangely the same compilation succeeds (on RaspBerryPi) if using GCC
15
--
Basile STARYNKEVITCH <basile@starynkevitch.net>
More information about the Gcc
mailing list