Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Aug 22 15:08:00 GMT 2002


> 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)



More information about the Gcc mailing list