This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, Aug 22, 2002 at 05:34:38PM +0100, John Levon wrote:
> On Thu, Aug 22, 2002 at 11:29:47AM -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)
> > 
> > The 'W' WEAK reference matches what I get on Solaris. So, why does my
> > GCC build return 't', not 'W'?
> 
> I can only assume this is a toolchain bug. There's no reason this should
> be a local symbol only ('t')
> 
> If I had diskspace I'd download 3.2 and have a go myself

What's odd is that the 3.2-prerelease provided by HP works fine. I
don't necessarily think binutils is the problem. I replaced the 'as' I
built with the one provided in their package and have the same
problem. So, GCC must be emitting the 't'.

(HP 3.2-prerelease)
$ 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)

(My 3.2 release)
Reading specs from /opt/TWWfsw/gcc32/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.2/specs
Configured with: ../configure --with-gnu-as
--with-as=/opt/TWWfsw/gcc32/hppa2.0w-hp-hpux11.11/bin/as
--with-included-gettext --enable-shared --prefix=/opt/TWWfsw/gcc32
--with-local-prefix=/opt/TWWfsw/gcc32
Thread model: single
gcc version 3.2 (TWW)

I rebuild the offending source with -s and compared the .s files from
both compilers. I get lots of:
-       .weak   _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_
-       .EXPORT _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_,ENTRY,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR
+       .PARAM _ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]