pkgsrc-Users archive

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

Re: clang builds and /var/tmp



Tobias Nygren <tnn%NetBSD.org@localhost> writes:

> The purpose of /var/tmp is to be a globally writable temp directory.
> If you do "ktrace gcc -o test test.c" you will find that the gcc +
> binutils toolchain too creates many temporary files there, unless -pipe
> is used. A good solution to preserve the life of your ssd is to mount
> tmpfs on /tmp and /var/tmp. But beware that this breaks virecover.

That's all kind of true, except that /var/tmp is supposed to persist and
tmp is not.  So it seems broken for anything to put ephemera in
/var/tmp.

I see your point that gcc does this too.   Do you know why they made
that choice?

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index