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]

Re: multiple definitions of 'xxx keyed to...' in egcs-1.1.1


>>>>> Andris Pavenis <andris@stargate.astr.lu.lv>:

> First thing to do after upgrading gcc is to rebuild ALL (!!!!) C++
> sources with new compiler. It includes of course also libraries
> built from C++ sources (for example Qt-1.41 or Qt-1.42)

I know.  I did.  Several times actually, after trying egcs-1.1.1 with
different configurations and the HJ patch.

> Also make sure that libstdc++.so doesn't point to old shared library

The old shared library was history.

>> AFAIK I don't actively use RTTI anywhere, so if I can figure a way to
>> turn it off I'll try that.

> -fno-rtti

I know.  I found out.  That wasn't the problem.  When I disabled RTTI
the error just moved to the next virtual function.

I isolated a small test case for the problem that I sent to HJ on
friday.  It can be found at:
	http://www.metis.no/private/sb/misc/egcslinkso.tar.gz


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