NetBSD-Bugs archive

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

Re: toolchain/59479: gcc crash building pcre2 on m68k -current



>  > src/pcre2_match.c:8072:1: internal compiler error: Segmentation fault
>  >  8072 | }
>  >       | ^
>
>  Can you try unlimiting the build and check if you run out of swap space
>  here?

I did "unlimit datasize" and re-tried the build.

It crashed the same way.

I had a "top" window up at the same time, and the "SIZE" coloumn
maxed out at around 71MB for the cc1 process.

virt68k: {14} limit
cputime      unlimited
filesize     unlimited
datasize     65536 kbytes
stacksize    2048 kbytes
coredumpsize unlimited
memoryuse    122220 kbytes
vmemoryuse   unlimited
descriptors  128 
memorylocked 40740 kbytes
maxproc      160 
maxthread    2048 
sbsize       unlimited
virt68k: {15} 

is what I tried with.

Note, I beleive the dynamically allocated memory is done by mmap,
so is not accounted for in the "datasize" limit(?)

Regards,

- Havard


Home | Main Index | Thread Index | Old Index