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



The following reply was made to PR toolchain/59479; it has been noted by GNATS.

From: Havard Eidnes <he%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost, gnats-admin%NetBSD.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/59479: gcc crash building pcre2 on m68k -current
Date: Mon, 23 Jun 2025 16:15:19 +0200 (CEST)

 >  > 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