When making libgcj on Interix, make reproducibly fails in those steps where
many class files are compiled into a single object, e.g. when making gnu-xml.o.
The error given by gcj is "virtual memory exhausted: Permission denied".
Watching "gcj" in the task manager confirms this: It has about 1.5 GB virt mem
just before the error.
Changing "GCJFLAGS" from "-O2" to "-O" in "Makefile" works around the problem.
--
Summary: Interix: gcj out of virtual mem during libgcj make
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: klaus dot kusche at inode dot at
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i586-pc-interix3
GCC host triplet: i586-pc-interix3 or i586-pc-mingw32
GCC target triplet: i586-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22341