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: Jeff Law <law at porcupine dot slc dot redhat dot com>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 22 Aug 2002 16:19:32 -0600
- Subject: Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2
- Reply-to: law at redhat dot com
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