From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Law To: gcc@gcc.gnu.org Subject: Re: Building LyX 1.2.0 on HP-UX 11.11 with G++ 3.2 Date: Thu, 22 Aug 2002 09:40:00 -0000 Message-id: <200208221644.g7MGihc10537@porcupine.slc.redhat.com> References: <20020822112947.A9686@oolong.il.thewrittenword.com> X-SW-Source: 2002-08/msg01323.html 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::updateSlot(boo >l) >> 00000000 t ControlInset::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::updateSlot(boo >l) > 00000000 W ControlInset::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