This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/13806] New: linking requires excessive time/memory
- From: "jsturm at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2004 02:21:24 -0000
- Subject: [Bug libgcj/13806] New: linking requires excessive time/memory
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The final link is HUGE. Libtool attempts to link all libgcj objects plus
several convenience libraries in one step. (Though it may do incremental
linking due to command-length limits.)
On a not-really-obsolete Solaris 8 machine (440MHz US-IIi, 1GB) the final link
alone needs over 8 minutes and 320MB virtual memory to complete.
Consequently, it is difficult to build libgcj on smaller hardware, and many
developers may avoid it completely.
One possible fix is to break libgcj.so into several smaller libraries.
--
Summary: linking requires excessive time/memory
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsturm at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13806