This is the mail archive of the gcc-patches@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]

Re: [csl-arm] Merge from 3.4


On Tue, 2004-08-17 at 00:58, Daniel Jacobowitz wrote:
> On Tue, Aug 17, 2004 at 01:00:41AM +0200, Paolo Carlini wrote:
> > Hi,
> > 
> > Daniel Jacobowitz wrote:
> > 
> > >I've checked in a merge from gcc-3_4-branch.  We're now caught up to
> > >post-3.4.1.  The only new failures are newly added libstdc++-v3 tests which
> > >run out of memory.
> > >
> > I wrote most of those tests and likely we can lower the memory 
> > consumption without affecting too much the quality. How much memory can 
> > we safely allocate on those targets?
> 
> I believe the default limit for the ARM simulator is 2MB.  I'm not sure
> what it is for the other simulators, or whether the full 2MB is usable.

The limit is generally due to where the stack is placed at startup.

You can change that (for the gnu ARM simulator) with the -m flag.   Just
add

      set board_info(arm-sim,sim,options) "-m 8388608"
      set board_info(arm-sim/-mthumb,sim,options) "-m 8388608"

to your site.exp file to give you 8M of memory. 


The above is needed for the Java tests anyway.


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