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

Albert Chin gcc@lists.thewrittenword.com
Thu Aug 22 09:29:00 GMT 2002


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(bool)
> 00000000 t ControlInset<InsetGraphics, InsetGraphicsParams>::updateSlot(bool)

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(bool)
  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'?

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc mailing list