Re: GCC 16, the -MD -MF<file-for-dependencies> is not filled when compilation fails.

Basile STARYNKEVITCH <[email protected]>
Newsgroups gmane.comp.gcc.devel
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.