From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8e9f0858a233d39b,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-06-16 18:45:12 PST Newsgroups: comp.sys.dec Subject: Compiler problem, Digital C++ 6.1 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:45:06 GMT X-Trace: 17 Jun 2003 01:45:06 GMT, 216.98.194.117 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.cis.ohio-state.edu!malgudi.oar.net!plonk.apk.net!news.apk.net!uunet!bos.uu.net!dca.uu.net!ash.uu.net!newshub1.wanet.net!dimensional.com!pulsar.dimensional.com!207.40.197.76.MISMATCH!mindmeld.idcomm.com Xref: archiver1.google.com comp.sys.dec:16199 Hopefully someone can give me a clue here. Or at least point me to a better newsgroup. Its really directly related with the Digital Compiler 6.1(others I am sure too). Just trying to get some support on it(as my company is too cheap to pay for support) 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