This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ipa-visibility TLC 2/n
- From: Ramana Radhakrishnan <ramana dot gcc at googlemail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 26 May 2014 06:28:56 +0100
- Subject: Re: ipa-visibility TLC 2/n
- Authentication-results: sourceware.org; auth=none
- References: <20140525055420 dot GA24940 at kam dot mff dot cuni dot cz> <CAJA7tRaBGkhNZjfEFpkrq8M5sSCOhNgt9dhLrTkXpYY9WZBunw at mail dot gmail dot com> <20140525222349 dot GA30013 at kam dot mff dot cuni dot cz> <20140526010404 dot GC9540 at kam dot mff dot cuni dot cz>
- Reply-to: ramrad01 at arm dot com
On Mon, May 26, 2014 at 2:04 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > 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.
Sadly this doesn't appear to have fixed the issue.
Ramana
>
> Honza