This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: link errors with simple c++ prog on hpux10/11/a couple others
- To: gcc-bugs at gcc dot gnu dot org
- Subject: RE: link errors with simple c++ prog on hpux10/11/a couple others
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 10 Jul 2000 16:47:49 -0400 (EDT)
- Cc: nneul at umr dot edu
> 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)