Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Problems with the c compiler on Dec OSF/1 V 3.0
@ 1995-05-25  4:00 Rory Chisholm
  1995-05-26  4:00 ` John Wood
  1995-05-29  4:00 ` Klaus K{mpf
  0 siblings, 2 replies; 4+ messages in thread
From: Rory Chisholm @ 1995-05-25  4:00 UTC (permalink / raw)


I am having some problems with Dec's c compiler on our alpha. I have been
trying to build libgmp with the flag -O4 enabled, and get this problem

umerge: Error: Out of memory!  Check datasize limit.
*** Exit 1

Now this is what limit shows:

cputime         0:0-1
filesize        0 kbytes
datasize        131072 kbytes
stacksize       2048 kbytes
coredumpsize    0 kbytes
memoryuse       186328 kbytes
descriptors     4096 

Surely the compiler doesn't need more than 131 Megabytes to compile one c
file in ? I have read the man pages to the c compiler and can find no reference
to increasing it's datasize. Changeing the stacksize didn't help either.
I also get these problems when compileing with -O3 but not when I use -02 or
lower.

If anyone has any suggestions I would be interessted,

Thank your for your time,
		Rory Chisholm

email: rchishol@math.ethz.ch



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

* Re: Problems with the c compiler on Dec OSF/1 V 3.0
  1995-05-25  4:00 Problems with the c compiler on Dec OSF/1 V 3.0 Rory Chisholm
@ 1995-05-26  4:00 ` John Wood
  1995-05-29  4:00 ` Klaus K{mpf
  1 sibling, 0 replies; 4+ messages in thread
From: John Wood @ 1995-05-26  4:00 UTC (permalink / raw)
  To: chisholm

> Surely the compiler doesn't need more than 131 Megabytes to compile one c
> file in ? 

It possibily might, when trying high levels of optimisation.
You could try using the "unlimit" command (-I think this might be specific
to the C shell), to increase the datasize. E.g:

ukarc2.bst.dec.com> limit	** initially **
cputime         unlimited
filesize        unlimited
datasize        131072 kbytes
stacksize       2048 kbytes
coredumpsize    unlimited
memoryuse       57488 kbytes
descriptors     4096 files
addressspace    1048576 kbytes
ukarc2.bst.dec.com> unlimit	** up the limits **
ukarc2.bst.dec.com> limit
cputime         unlimited
filesize        unlimited
datasize        1048576 kbytes	** now ~8 times bigger **
stacksize       32768 kbytes
coredumpsize    unlimited
memoryuse       0 kbytes
descriptors     4096 files
addressspace    1048576 kbytes
ukarc2.bst.dec.com>

  John Wood

(These are my views/opinions, and not necessarily those of my company)




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

* Re: Problems with the c compiler on Dec OSF/1 V 3.0
  1995-05-25  4:00 Problems with the c compiler on Dec OSF/1 V 3.0 Rory Chisholm
  1995-05-26  4:00 ` John Wood
@ 1995-05-29  4:00 ` Klaus K{mpf
  1995-06-09  4:00   ` Marinos Yannikos
  1 sibling, 1 reply; 4+ messages in thread
From: Klaus K{mpf @ 1995-05-29  4:00 UTC (permalink / raw)


The datasize (the maximum value your program can request) and
swapsize (the maximum value your program can get) are different
values. So look at the swapsize first.
BTW. Compiling with heavy optimization does use huge amounts of
memory, 131MB are not impossible.

Klaus




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

* Re: Problems with the c compiler on Dec OSF/1 V 3.0
  1995-05-29  4:00 ` Klaus K{mpf
@ 1995-06-09  4:00   ` Marinos Yannikos
  0 siblings, 0 replies; 4+ messages in thread
From: Marinos Yannikos @ 1995-06-09  4:00 UTC (permalink / raw)


BTW., does anyone have further information about the -32addr and -32data
options to OSF/1 v2.1's "cc", than that they exist? :-)
(No, I haven't looked in the manuals, only in the manpage)

Thanks,
 Marinos




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

end of thread, other threads:[~1995-06-09  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-25  4:00 Problems with the c compiler on Dec OSF/1 V 3.0 Rory Chisholm
1995-05-26  4:00 ` John Wood
1995-05-29  4:00 ` Klaus K{mpf
1995-06-09  4:00   ` Marinos Yannikos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox