🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.hp.hpux
Article #13

Re: Help! HP-UX C++ + shared libs + templates and exceptions

#13
From: mikey
Date: Sat, 02 Sep 1995 03:53
23 lines
1465 bytes
In article <423b2u$glv@bach.seattleu.edu>, boyerr@news.seattleu.edu 
says...
>
>Hi,
>
>I was wondering if someone who has sucessfully created shared
>libraries under HP-UX C++ could give me a hand.
>The code I am porting makes extensive use of templates and exceptions;
>this combination along with shared libraries is failing to link. I get
>the following error:
> /bin/ld: Invalid loader fixup needed
-------------
HP C++ 3.61 flatly states that exception handling and PIC (position 
independent code) are mutually exclusive options. You may or may not come 
to the same conclusion after reflecting on it. I decided not to argue with 
the compiler on this one. Just being able to coax exceptions and templates 
out of cfront is "good enough for me." The compiler error message is very 
likely simply a more refined version of the link error you report. 
(Imagine being to fix deficiencies in your own products by rubber stamping 
"NOT SUPPORTED!") I opted to keep the exception handling, and eat the 
working-set/maintenance cost.

Mike.
Technical Details
Message-ID: <428gtr$d7h@News1.mcs.net>
Path: arc1-ca.pugleaf.net!news.mcs.net!usenet
References: <423b2u$glv@bach.seattleu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.mcs.net!usenet
From: mikey@mcs.com
Newsgroups: comp.sys.hp.hpux,comp.lang.c++
Subject: Re: Help! HP-UX C++ + shared libs + templates and exceptions
Date: Fri, 01 Sep 95 21:53:18 CST
Organization: Fen Software, Inc.
Message-ID: <428gtr$d7h@News1.mcs.net>
References: <423b2u$glv@bach.seattleu.edu>
NNTP-Posting-Host: mikey.pr.mcs.net
Mime-Version: 1.0
X-Newsreader: WinVN 0.93.6