This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HP-UX and core dumps and PHSS_26559


Thanks for your report.

> <http://gcc.gnu.org/install/specific.html#hppa*-hp-hpux11>  says: 
> 
> "The HP linker patches PHSS_26559 and PHSS_24304 for HP-UX 11.00 and 11.11,
> respectively, correct the problem of linker core dumps creating C++
> libraries."

I agree that the statement doesn't cover all the possible problems that
might be encountered in not having a recent linker patch installed under
HP-UX 11.X.  You must have a recent linker patch installed to obtain
working weak symbol support.  You also need a recent patch to correct
problems in running initializers and finalizers.  Both of these features
are essential when using C++, but they could be needed when using C as
well.

> http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo
> .pl?productNumber=B9416AAPA2043
> <http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInf
> o.pl?productNumber=B9416AAPA2043>  hp suggests (almost) that solution for an
> apache build with gcc. (They suggests PHSS_26560 instead of PHSS_24304 - I
> havent tried on 11.11)

PHSS_26560 wasn't out when I did my original testing but it's the HP-UX
11.11 companion to PHSS_26559.  I think I'll leave it to HP to recommend
which linker patch to use.

> I suggest that "and generated binaries dumping core when loaded" is added to
> the quoted phrase above; that would surely have helped me ;-)

When problems like this occur, its best to provide a GCC bug report so
that a more precise cause can be determined.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]