This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/13806] New: linking requires excessive time/memory


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]