Hi Eric,
>> It turns out that this exhaustion of the 32-bit address space happens
>> due to a combination of three issues:
>>
>> * the SPARC pagesize of 8 kB,
>>
>> * ggc-page.cc's chunk size of 512 * pagesize, i.e. 4 MB, and
>>
>> * mmap adding two 8 kB unmapped red-zone pages to each mapping
> It turns out that this exhaustion of the 32-bit address space happens
> due to a combination of three issues:
>
> * the SPARC pagesize of 8 kB,
>
> * ggc-page.cc's chunk size of 512 * pagesize, i.e. 4 MB, and
>
> * mmap adding two 8 kB unmapped red-zone pages to each mapping
>
> which result
g++.dg/modules/pr99023_b.X currently FAILs on 32-bit Solaris/SPARC:
FAIL: g++.dg/modules/pr99023_b.X -std=c++2a 1 blank line(s) in output
FAIL: g++.dg/modules/pr99023_b.X -std=c++2a (test for excess errors)
Excess errors:
cc1plus: out of memory allocating 1048344 bytes after a total of 7913472 b