1748157 Members
4047 Online
108758 Solutions
New Discussion юеВ

64bit compiles

 
SOLVED
Go to solution
Randy_9
Regular Advisor

64bit compiles

Hello again,

Recent problem from developer on HP-UX 11.00
64bit system (model D380)
PROBLEM:
The reason that the compiler will not generate code that will execute correctly in 64 bit mode still has to be discovered.

More detail in attached file:

Thanks,

Randy
7 REPLIES 7
Martin Johnson
Honored Contributor
Solution

Re: 64bit compiles

Have you verified that the 64-bit libraries are in the PATH and the appropriate qualifiers/swicthes are being used?

HTH
Marty
Randy_9
Regular Advisor

Re: 64bit compiles

Martin,

I'm checking with the developer right now.

Randy
oiram
Regular Advisor

Re: 64bit compiles

Hi,

I would install patch PHKL_27510 that superseeds patch PHKL_13290:
----
PHKL_13290:
System calls with signed integer arguments called from
32-bit binary programs may behave incorrectly when passed
negative values, while running on 64 bit systems. This
defect only impacts 64 bit systems.
--------------------
in case it doesn??t solve the problem install the latest libc and compiler patches:
PHSS_26952,PHCO_25707,PHCO_25883,PHSS_26262 and PHKL_27510.

Could you reproduce the problem in a little piece of code?

Does the application generate a core file when it is run in a 64 bits system?

regards.



Randy_9
Regular Advisor

Re: 64bit compiles

oiram,

I'll update the noted patch and proceed from
there. As soon as I get some additional feedback from the developer, I'll post that. I'll also try and get you a snippit of the code and the error.

Thanks for your help,

Randy
Randy_9
Regular Advisor

Re: 64bit compiles

I've installed all of the patches except for:
PHSS_26952 and PHCO_25883. I needed to find out if the installation of PHSS_26952 would
change the base level of the aC++ compiler
(another message. But the developer in the meantime submitted a small chunk of code which
exhibits the problem he is encountering. If
you still think after reviewing the code I need
to install these patches, I'll do so.

Thanks,

Randy
Randy_9
Regular Advisor

Re: 64bit compiles

Randy here again, I forgot to add (from the
developer):
I have created a ZIP file with the code in question including a make file for 32 bit and 64 bit building.

The module created and the subsequent execution exhibits the problem. Runs on 32 bit fails with flex diag, msg on 64 bit.

It is not a small piece of code. It is FLEX,



Thanks,

Randy

Randy_9
Regular Advisor

Re: 64bit compiles

Still stuck... I applied all the patches
with the exception of the one that would raise the compiler level. I attached the error messages in a attachment a few replies back.
The developers cite code dependencies as the reason for not wanting to upgrade... open
for suggestions.

Thanks,
Randy