From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2ec82d911227ea04,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-06-16 18:22:26 PST Newsgroups: comp.unix.tru64 Subject: Compiler Qusetion, -taso flag From: Grant Organization: Nonte Message-ID: User-Agent: Xnews/5.04.25 NNTP-Posting-Host: 216.98.194.117 X-Original-NNTP-Posting-Host: 216.98.194.117 Date: 17 Jun 2003 01:22:25 GMT X-Trace: 17 Jun 2003 01:22:25 GMT, 216.98.194.117 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-pas-nf2!elnk-pas-nf1!newsfeed.earthlink.net!news-out.visi.com!petbe.visi.com!dimensional.com!pulsar.dimensional.com!207.40.197.76.MISMATCH!mindmeld.idcomm.com Xref: archiver1.google.com comp.unix.tru64:10065 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