public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH bootstrap/libjava] split org_omg.lo into smaller bits
@ 2008-04-02 15:09 Peter O'Gorman
  2008-04-02 17:24 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Peter O'Gorman @ 2008-04-02 15:09 UTC (permalink / raw)
  To: gcc-patches; +Cc: java-patches

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

Hi,

We ran into a build issue with gcc-4.2.3 on hppa-hp-hpux11.23 - the
build failed when it ran out of memory. It could be fixed by splitting 
gnu/xml and org/omg into smaller pieces. For trunk gnu/xml had already
been divided up -
http://gcc.gnu.org/ml/java-patches/2007-q1/msg00311.html so we just
did the same to org/omg.

We still see maximum memory usage going to almost 600MB when building
org_omg_CORBA.lo, so at some point it may be necessary to subdivide
more, but this fixed it for us.

Tested by building gcc-4.2.3 on hppa-hp-hpux11.23, and building trunk
on i386-unknown-linux and running the libjava tests with no
regressions.

Ok for trunk?

Peter 

[-- Attachment #2: org_omg_in_bits.patch --]
[-- Type: text/plain, Size: 1088 bytes --]

2008-04-02  Peter O'Gorman  <pogma@thewrittenword.com>

	PR bootstrap/35216
	* scripts/makemake.tcl: Replace org/omg build with build of all
	its subpackages.
	* sources.am: Regenerate.
	* Makefile.in: Regenerate.


Index: scripts/makemake.tcl
===================================================================
--- scripts/makemake.tcl	(revision 133839)
+++ scripts/makemake.tcl	(working copy)
@@ -78,7 +78,17 @@
 set package_map(org/w3c) bc
 set package_map(org/relaxng) bc
 set package_map(javax/rmi) bc
-set package_map(org/omg) bc
+set package_map(org/omg/IOP) bc
+set package_map(org/omg/PortableServer) bc
+set package_map(org/omg/CosNaming) bc
+set package_map(org/omg/CORBA_2_3) bc
+set package_map(org/omg/Messaging) bc
+set package_map(org/omg/stub) bc
+set package_map(org/omg/CORBA) bc
+set package_map(org/omg/PortableInterceptor) bc
+set package_map(org/omg/DynamicAny) bc
+set package_map(org/omg/SendingContext) bc
+set package_map(org/omg/Dynamic) bc
 set package_map(gnu/CORBA) bc
 set package_map(gnu/javax/rmi) bc
 set package_map(gnu/java/lang/management) bcheaders

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH bootstrap/libjava] split org_omg.lo into smaller bits
  2008-04-02 15:09 [PATCH bootstrap/libjava] split org_omg.lo into smaller bits Peter O'Gorman
@ 2008-04-02 17:24 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2008-04-02 17:24 UTC (permalink / raw)
  To: Peter O'Gorman; +Cc: gcc-patches, java-patches

Peter O'Gorman wrote:
> Hi,
> 
> We ran into a build issue with gcc-4.2.3 on hppa-hp-hpux11.23 - the
> build failed when it ran out of memory. It could be fixed by splitting 
> gnu/xml and org/omg into smaller pieces. For trunk gnu/xml had already
> been divided up -
> http://gcc.gnu.org/ml/java-patches/2007-q1/msg00311.html so we just
> did the same to org/omg.
> 
> We still see maximum memory usage going to almost 600MB when building
> org_omg_CORBA.lo, so at some point it may be necessary to subdivide
> more, but this fixed it for us.
> 
> Tested by building gcc-4.2.3 on hppa-hp-hpux11.23, and building trunk
> on i386-unknown-linux and running the libjava tests with no
> regressions.
> 
> Ok for trunk?

2008-04-02  Peter O'Gorman  <pogma@thewrittenword.com>

	PR bootstrap/35216
	* scripts/makemake.tcl: Replace org/omg build with build of all
	its subpackages.
	* sources.am: Regenerate.
	* Makefile.in: Regenerate.

OK, thanks.

Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-02 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-02 15:09 [PATCH bootstrap/libjava] split org_omg.lo into smaller bits Peter O'Gorman
2008-04-02 17:24 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).