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]>
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

Is there any way (without patching GCC 16 source code or writing a
plugin for it) to get the dependency file filled?

It would be very useful to help debugging rather complex makefiles.

Thanks
-- 

Basile STARYNKEVITCH                           
<[email protected]>
8 rue de la Faïencerie                      
http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine                        
https://github.com/bstarynk
France                               
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250
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.