NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/55757 (Builds fail to clean up temporary files)



Synopsis: Builds fail to clean up temporary files

State-Changed-From-To: open->feedback
State-Changed-By: lukem%NetBSD.org@localhost
State-Changed-When: Fri, 19 May 2023 11:54:22 +0000
State-Changed-Why:

Is this still an issue building -current?

I've looked through the sources for "cdtor.c" references and it's
just in gcc's collect2.c. There were some changes in how that
file was generated in the import of gcc 9.3.0 on 2020-09-05.
As far as I can tell, the *cdtor.c and *cdtor.o files are
saved persistently with -save-temps, or are created with mkstemps()
by make_temp_file_with_prefix() (backend for make_temp_file())
in libiberty/make-temp-file.c.
Files created by mkstemps() should be cleaned up on process exit,
unless the (gcc) process terminates abnormally.

If the files are still occurring, are they from the tools gcc,
or the hosts's native gcc?





Home | Main Index | Thread Index | Old Index