HP-UX 11 and ld +init
Kelley Cook
kcook34@ford.com
Tue Jul 29 16:15:00 GMT 2003
>> The manual page for "ld" says (at the very bottom) "HP-UX Release 11i:
>> November 2000".
>>
>> Do you have any idea in what way your system is different from ours?
>
> I have:
> HP-UX Release 11.11: December 2001
>
> Can you try and install the latest HP linker patch? The latest
> recommended patch is PHSS_26560. I looked at the release notes but
> didn't see the introduction of +init, just comments on fixes for it.
> My ld(1) man page documents +init.
Albert, Mark, David, et al.,
According to the HP Patch site, the current patch is PHSS_26560 (Sep 11 2002)
which superceded these two patches, among others:
PHSS_22535 <http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_22535&context=hpux:800:11:11> (Apr 26 2001):
- JAGad29876
needed support for init / fini style progmas
in 32 bit compiler/linker
and
PHSS_24304 <http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_24304&context=hpux:800:11:11> (Sep 29 2001):
- JAGad69481: Severity :4
Program dumps core with +init/+fini
- JAGad51282 : Severity : 4
32bit: +init and +fini functions invoked in
incorrect order
The notes for PHSS_24304 seems to refer to correcting what David's said here:
> There is some wierdness with these options. The initializers and
> finalizers execute in opposite order on 32-bit and 64-bit systems.
HTH,
Kelley Cook
More information about the Gcc
mailing list