Operating System - Linux
1754190 Members
3855 Online
108811 Solutions
New Discussion юеВ

Problem after last C++ runtime patch

 

Problem after last C++ runtime patch

Hello!

I have binary application (compiled with ACC version 6 ).
I have update the system with the last QPK for HP-UX 11.23 which include 3 pathes for C++ runtime and some libraries:

PHSS_31855 - s700_800 11.23 aC++ Runtime (IA: A.05.61, PA A.03.61)
PHSS_31851 - s700_800 11.23 Integrity Unwind Library
PHSS_31853 - s700_800 11.23 Math Library Cumulative Patch

My application does not work after this update. It's going to 'core dump' with signal 6 and error message like:

aCC runtime: Use of "-mt" must be consistent during both compilation and
linking.

But I have '-mt' option in all makes.

Does anybody know what may be cause of this ?

I also link some oracle libraries ...

Thanks a lot.
12 REPLIES 12
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Problem after last C++ runtime patch

Are you linking some shared libraries which don't have -mt tag.
Vibhor Kumar Agarwal
Alex Lavrov.
Honored Contributor

Re: Problem after last C++ runtime patch

If you'll try and remove these patches (or one by one), will it solve the problem?

Just to make sure that it's really the patches issue.
I don't give a damn for a man that can only spell a word one way. (M. Twain)

Re: Problem after last C++ runtime patch

to Vibhor:
May be ... I also thinking about this.
But how can I determine which of them (shared libs) are with -mt and wich are not?

to Alex:
I think It's not the solving of the problem.

Re: Problem after last C++ runtime patch

Alex .

I'm shure that it's patch problem because this error information message appears only in this patchset.
Alex Lavrov.
Honored Contributor

Re: Problem after last C++ runtime patch

I read the patch text of PHSS_31855, and it says something about "-mt" error, but it should be fixed in PHSS_30231, which is superceeded.

There is JAG in hp knowledge base about this problem (according to patch text), my be it will be a good idea to call the support center and check this document and solution (if there is one).

Alex.

I don't give a damn for a man that can only spell a word one way. (M. Twain)

Re: Problem after last C++ runtime patch

I also have seen this docs and knowledge-base report.

The problem(described in the patch description and in the JAG) was that there was know information massege about consitency of using the -mt option. And the described fix is that now this massege is added to runtime envirenment in the patch PHSS_30231(wich is superceed by PHSS_31855).

I have problem this 'cores dump' about -mt inconsistency before this patch (PHSS_31855) was appleid. But after this patch it appears.

Re: Problem after last C++ runtime patch

Sorry ... a litle mistake in last post :)

I have NO problem with this 'cores dump' about -mt inconsistency before this patch (PHSS_31855) was appleid. But after this patch it appears.
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Problem after last C++ runtime patch

There are some commands which will give you with what flags was the binary compiled.

Its solaris version is dumpstabs, I don't its hp one.

May be somebody else knows it.
Vibhor Kumar Agarwal

Re: Problem after last C++ runtime patch

I found it.
There are some utils like elfdump and odump in HP-UX.

thanks a lot.