This is the mail archive of the gcc@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]
Other format: [Raw text]

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)


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