Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Grant <matobinder@idcomm.com>
Subject: Compiler Qusetion, -taso flag
Date: 17 Jun 2003 01:22:25 GMT	[thread overview]
Message-ID: <Xns939CC5152D7CCSchoeo@216.98.192.68> (raw)

I'm searching for a place that might help with this. This is basically a 
Digital(Compaq/HP?) compiler problem we are having when compiling on of 
our apps on Tru64(4.0f and up). If anyone knows of a better list than 
this for more Digital Compiler related quesitons please let me know.


OS: Compaq's Unix Tru64 4.0f
Compiler: DIGITAL C++ V6.1-029 on DIGITAL UNIX V4.0 (Rev. 1229)



Problem:
         We have an application that must be linked with the -taso flag.
Which forces pointers to only use the lower 31 bits of address space. 
This
is mainly because a product we need that we link it requires it. We can't
fix that.



But, when I build anything and link it with the -taso option. malloc 
fails
once I have allocated about 300 megs of RAM(malloc returns 0)



We really need this app to be able to get upwards of 300 megs. I just 
don't
understand why forcing the 31 bit address space would limit us to only 
300
megs.



I'm hoping there is some other flag or somethign can may address this.
Anyone have a clue?



I made a small test app that just mallocs until it fails.  It was built
with the following flags. This will fail at around 300 megs.


Compile line: cxx -taso -c -o test3.o test3.cxx
Link line   : cxx -taso -o test3 test3.o





             reply	other threads:[~2003-06-17  1:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17  1:22 Grant [this message]
2003-06-17 17:00 ` Compiler Qusetion, -taso flag Joe Mario
read-only archive

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