This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: trunk gold not building unoptimized, powerpc.cc refs to invalid_address and pltresolve_size


On Fri, Dec 07, 2012 at 11:56:18AM +1030, Alan Modra wrote:
> On Fri, Dec 07, 2012 at 10:59:36AM +1030, Alan Modra wrote:
> > On Thu, Dec 06, 2012 at 03:45:22PM -0800, Ian Lance Taylor wrote:
> > > Alan needs to add a definition for the constant.  In C++98, all
> > > constants declared in classes, even those declared in template
> > > classes, require an explicit definition.
> > > 
> > > template<int size, bool big_endian>
> > > const Address Target_powerpc::invalid_address;
> 
> This makes the link error go away, but I don't really understand why
> this is necessary..  OK to apply?

Sigh.  No it doesn't.  I must not have had a clean build.

-- 
Alan Modra
Australia Development Lab, IBM


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