Source-Changes-D archive

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

Re: CVS commit: src/external/gpl3



On 28.03.2020 05:39, matthew green wrote:
>>     Date:        Sat, 28 Mar 2020 11:46:29 +1100
>>     From:        matthew green <mrg%eterna.com.au@localhost>
>>     Message-ID:  <15233.1585356389%splode.eterna.com.au@localhost>
>>
>>   | 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 <mrg%NetBSD.org@localhost>
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.


Home | Main Index | Thread Index | Old Index