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

Jeff Law law@porcupine.slc.redhat.com
Thu Aug 22 15:14:00 GMT 2002


 In message < 200208222208.g7MM8DYV007102@hiauly1.hia.nrc.ca >, "John David 
Anglin" writes:
 >> 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?
But the primary symbol had to be a normal symbol with the underscore 
prefix *and* with external scope.  The external scope restriction
is what killed using secondary definitions to emulate weak definitions.

jeff



More information about the Gcc mailing list