This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc at gcc dot gnu dot org
- Cc: law at redhat dot com
- Date: Thu, 22 Aug 2002 18:08:13 -0400 (EDT)
- Subject: Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2
> The underlying *object file format* can't handle weak symbols. Any attempt
> to use them will ultimately fail.
I wasn't absolutely convinced of that.
> Looks like they (HP) are using aborted code -- we tried to make SOM
> secondary definitions masquerade as weak symbols, but in the end it won't
> work due to limitations of secondary definitions. Trust me, if they're
> emitting .weak for SOM, it's going to break -- it's just a matter of time.
I thought the major issue was we weren't providing a primary symbol
definition for the secondary. The primary symbol has to have the same
name as the secondary with '_' prefixed. Maybe gas just needed a fix
to do this?
I recall we also had some trouble with long symbols using HP nm but
I thought that was fixable with the correct options.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)