This is the mail archive of the gcc-patches@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: ipa-visibility TLC 2/n


> > On Sun, May 25, 2014 at 6:54 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> > > Hi,
> > > this patch adds code to rerite references in vtable initializers to local aliases
> > > when doing so is a win.
> > >
> > > Bootstrapped/regtested x86_64-linux, comitted.
> > 
> > This is the most likely patch to have caused build failures on
> > arm-linux-gnueabihf
> >          ^
> > /work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:143:9:
> > note: _std::ostrstream::_ZTVSt10ostrstream_ was declared here
> > /work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:160:9:
> > error: std::strstream::_ZTVSt9strstream.localalias.2 causes a section
> > type conflict with std::strstream::_ZTVSt9strstream
> >    class strstream : public basic_iostream<char>
> >          ^
> > /work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:160:9:
> > note: _std::strstream::_ZTVSt9strstream_ was declared here
> 
> I suppose it is because wrong readonly flag on the alias created. Does the following patch help?

I bootstrapped & comitted the patch in meantime.  Even if it does not fix the error, it is obviously
right thing to do.

Honza


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