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: gcc at gcc dot gnu dot org
- Date: Thu, 22 Aug 2002 10:44:43 -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 <20020822112947.A9686@oolong.il.thewrittenword.com>, Albert Chin wri
tes:
>On Thu, Aug 22, 2002 at 07:31:07AM -0500, Albert Chin wrote:
>> ...
>>
>> $ nm -C libfrontends.a | grep updateSlot | grep InsetGraphicsParams
>> U ControlInset<InsetGraphics, InsetGraphicsParams>::updateSlot(boo
>l)
>> 00000000 t ControlInset<InsetGraphics, InsetGraphicsParams>::updateSlot(boo
>l)
>
>FYI, I compiled against binutils 2.11.2. I just tried binutils 2.13
>with the same result. The problem is the 't' above, which is local.
>With the HP gcc-3.2-prerelease, I get:
> $ nm -C ControlGraphics.o | grep updateSlot | grep InsetGraphicsParams
> 00000000 W ControlInset<InsetGraphics, InsetGraphicsParams>::updateSlot(boo
>l)
> 00000000 W ControlInset<InsetGraphics, InsetGraphicsParams>::update()
> $ /usr/local/bin/g++ -v
> Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux11.00/3.2/specs
> Configured with: ../gcc/configure --enable-languages=c,c++
> --host=hppa1.1-hp-hpux11.00 --target=hppa1.1-hp-hpux11.00
> --with-ld=/usr/ccs/bin/ld --with-gnu-as --enable-libstdcxx-v3
> --disable-checking
> Thread model: single
> gcc version 3.2 20020708 (experimental)
>
>The 'W' WEAK reference matches what I get on Solaris. So, why does my
>GCC build return 't', not 'W'?
Weak symbols are not supported in SOM (HP's object format for 32bit
applications).
jeff