This is the mail archive of the gcc-bugs@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]

RE: link errors with simple c++ prog on hpux10/11/a couple others


> Did you have any ideas on what might be causing the goofiness with libgcc.a
> on hpux-10.20?

The problem is that g++ is not exporting artificial functions (see
<http://gcc.gnu.org/ml/gcc-bugs/2000-06/msg00763.html>).  The enclosed
patch is not yet installed in the current CVS.  Maybe somebody will review
it for installation?

There was also a recent patch to som.h that affects the exporting of
weak data symbols for the PA port.  Make certain that you have this patch
as you need it to link C++ programs successfully.  The latest binutils
release supports weak symbols and the compiler will automatically try
to use weak symbols if it finds the assembler supports them.

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

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