Operating System - HP-UX
1825771 Members
1991 Online
109687 Solutions
New Discussion

is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

 
Anurag_7
Advisor

is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

I have a program for which the data segment is huge.

I tried to enable 3rd and 4th quadrants for user data.

I used chatr +q3p enable .

Now i cannot even execute the resulting binary.

File permission are rwxrwxrwx. Still the execution of it gives execute permission denied error.

file returns
ELF-32 executable object file - IA64

Man page of chatr says that

WARNINGS
This release of the chatr command no longer supports the following
options:

+ -n
+ -q
+ -M
+ -N
+ +getbuckets size
+ +plabel_cache flag
+ +q3p flag
+ +q4p flag

My version of chatr is
chatr.cat: $Revision: 1.0 $
92453-07 linker chatr HP Itanium(R) B.12.29
REL Tue Jul 26 23:15:07 2005 PDT
HP aC++ for Itanium(R)-based systems B3910B A.05.61 [Jan 05 2005] Classic Iostream Library
HP aC++ for Itanium(R)-based systems B3910B A.05.61 [Jan 05 2005] Language Support Library

Please guide

Anurag
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

Shalom Anurag,

You might want to try the latest compiler/linker combination for Itanium based on the March 2006 release.

Might help. Might not.

Might want to go for a smaller memory segment too.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Anurag_7
Advisor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

I very deperately need a way to keep runnning a program for which the data segment is 2GB and beyond.

As i mentioned above, I am not able to use q3p and q4p for some reason.

Please help

Anurag
Don Morris_1
Honored Contributor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

No, it isn't. Use +as mpas instead (if you need a data segment that big, you should be running with a Mostly Private Address Space model).
rick jones
Honored Contributor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

This may seem silly to ask, but since you are on Itanium, why not just go ahead and compile the application 64-bit (+DD64) and be more or less done with it. You wouldn't have to be messing about with chatr settings and the like.
there is no rest for the wicked yet the virtuous have no pillows
Fabien GUTIERREZ
Frequent Advisor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

the right answers is that q3p and q4p can only be activated on 32 bits binary
just read carefully the man page one part of options for 32 bits other's options for 64 bits
Venkatesh BL
Honored Contributor

Re: is chatr +q3p not supported on HP-UX runnning on Itanium 64 Bit?

MPAS is the way to go for you. To know more, check out http://docs.hp.com/en/8681/aas_white_paper.pdf