On 28.03.2020 05:39, matthew green wrote: >> Date: Sat, 28 Mar 2020 11:46:29 +1100 >> From: matthew green <m...@eterna.com.au> >> Message-ID: <15233.1585356...@splode.eterna.com.au> >> >> | can we just leave this as-is and let netbsd GCC people care? >> >> Only if the GCC people do care, and understand the issue, and >> implement what we want.... > note i said "netbsd GCC people". i mean me, specifically.
The problem is that libiberty is a generic gnu library wrapping software. I landed onto it from GDB. I can see now that P_tmpdir was changed last year to /tmp. OK. So the issue is understood. The problem will solve itself with some time. Meanwhile we could backport it to older branches and report to Darwin people. commit 69f10cfa0cf51ad935e9513474315231717749b0 Author: mrg <m...@netbsd.org> Date: Fri Dec 13 20:25:16 2019 +0000 move P_tmpdir from "/var/tmp/" to "/tmp/". the main effect of this is to make GCC and other libiberty using tools use /tmp instead of /var/tmp for compiler temp files, which can be a bottleneck on larger systems. a survey of other platforms shows only OSX also uses /var/tmp, everyone else has switched to /tmp long ago. cons: some smaller systems may have a smaller /tmp than /var/tmp, and this may cause builds to fail with out of space earlier. point the build to /var/tmp using TMPDIR in this case. one can argue that setting TMPDIR would work around this, but we want to have the effect for all users without having special setup.