|
|
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Mingw/GCC 4.4.0 linker warnings
Mingw/GCC 4.4.0 linker warnings [message #22458] |
Fri, 17 July 2009 11:16 |
ncompoop
Messages: 4 Registered: July 2009
|
Junior Member |
|
|
After I upgraded the compiler from 4.2.1 to 4.4.0, I started experience numerous linker warnings on the Windows platform only, Linux platform is fine. So it is probably a GCC and Windows thing, but I would like if anybody could offer me an explanation to why?
Here comes the warnings:
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/RichText/MINGW.Gui\RichText.a(TxtData.o): warnin
g: duplicate section `.rdata$_ZTSN3Upp14DeepCopyOptionINS_7RichTxt4ParaENS_10Empt yClassEEE[typeinfo name for Upp::DeepCopyOption<Upp::
RichTxt::Para, Upp::EmptyClass>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/RichText/MINGW.Gui\RichText.a(TextData.o): warni
ng: duplicate section `.rdata$_ZTSN3Upp14DeepCopyOptionINS_7RichTxt4ParaENS_10Empt yClassEEE[typeinfo name for Upp::DeepCopyOption<Upp:
:RichTxt::Para, Upp::EmptyClass>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/RichText/MINGW.Gui\RichText.a(TxtPaint.o): warni
ng: duplicate section `.rdata$_ZTSN3Upp14DeepCopyOptionINS_7RichTxt4ParaENS_10Empt yClassEEE[typeinfo name for Upp::DeepCopyOption<Upp:
:RichTxt::Para, Upp::EmptyClass>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Convert.o): warning: dupli
cate section `.rdata$_ZTSN3Upp8MoveableINS_6StringENS_7AStringINS_7String 0EEEEE[typeinfo name for Upp::Moveable<Upp::String, Upp::AStr
ing<Upp::String0> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Convert.o): warning: dupli
cate section `.rdata$_ZTSN3Upp8MoveableINS_7String0ENS_10EmptyClassEEE[ty peinfo name for Upp::Moveable<Upp::String0, Upp::EmptyClass>]
' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Stream.o): warning: duplic
ate section `.rdata$_ZTVN3Upp7FileOutE[vtable for Upp::FileOut]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Stream.o): warning: duplic
ate section `.rdata$_ZTVN3Upp6FileInE[vtable for Upp::FileIn]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(t.o): warning: duplicate s
ection `.rdata$_ZTSN3Upp8MoveableINS_6StringENS_7AStringINS_7String 0EEEEE[typeinfo name for Upp::Moveable<Upp::String, Upp::AString<Up
p::String0> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(t.o): warning: duplicate s
ection `.rdata$_ZTSN3Upp8MoveableINS_7String0ENS_10EmptyClassEEE[ty peinfo name for Upp::Moveable<Upp::String0, Upp::EmptyClass>]' has
different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Value.o): warning: duplica
te section `.rdata$_ZTVN3Upp5Value4VoidE[vtable for Upp::Value::Void]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Gtypes.o): warning: duplic
ate section `.rdata$_ZTVN3Upp5Value4VoidE[vtable for Upp::Value::Void]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Gtypes.o): warning: duplic
ate section `.rdata$_ZTVN3Upp12RichValueRepINS_5Rect_IiEEEE[vtable for Upp::RichValueRep<Upp::Rect_<int> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Gtypes.o): warning: duplic
ate section `.rdata$_ZTSN3Upp12RichValueRepINS_5Rect_IiEEEE[typeinfo name for Upp::RichValueRep<Upp::Rect_<int> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Gtypes.o): warning: duplic
ate section `.rdata$_ZTSN3Upp11RawValueRepINS_5Rect_IiEEEE[typeinfo name for Upp::RawValueRep<Upp::Rect_<int> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Gtypes.o): warning: duplic
ate section `.rdata$_ZTVN3Upp11RawValueRepINS_5Rect_IiEEEE[vtable for Upp::RawValueRep<Upp::Rect_<int> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Color.o): warning: duplica
te section `.rdata$_ZTVN3Upp12RichValueRepINS_5ColorEEE[vtable for Upp::RichValueRep<Upp::Color>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Color.o): warning: duplica
te section `.rdata$_ZTSN3Upp12RichValueRepINS_5ColorEEE[typeinfo name for Upp::RichValueRep<Upp::Color>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Color.o): warning: duplica
te section `.rdata$_ZTVN3Upp11RawValueRepINS_5ColorEEE[vtable for Upp::RawValueRep<Upp::Color>]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Color.o): warning: duplica
te section `.rdata$_ZTVN3Upp5Value4VoidE[vtable for Upp::Value::Void]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Util.o): warning: duplicat
e section `.rdata$_ZTVN3Upp6FileInE[vtable for Upp::FileIn]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(Uuid.o): warning: duplicat
e section `.rdata$_ZTVN3Upp5Value4VoidE[vtable for Upp::Value::Void]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(parser.o): warning: duplic
ate section `.rdata$_ZTSN3Upp8MoveableINS_6StringENS_7AStringINS_7String 0EEEEE[typeinfo name for Upp::Moveable<Upp::String, Upp::AStri
ng<Upp::String0> >]' has different size
c:/p/mingw4/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32 /bin/ld.exe: C:/p/upp2009/out/Core/MINGW.Gui\Core.a(parser.o): warning: duplic
ate section `.rdata$_ZTSN3Upp8MoveableINS_7String0ENS_10EmptyClassEEE[ty peinfo name for Upp::Moveable<Upp::String0, Upp::EmptyClass>]'
has different size
|
|
|
|
|
|
Re: Mingw/GCC 4.4.0 linker warnings [message #22472 is a reply to message #22471] |
Fri, 17 July 2009 21:54 |
|
koldo
Messages: 3396 Registered: August 2008
|
Senior Veteran |
|
|
Hello ncompoop
Well, really TheIde compiled with MinGW works well with MinGW but not with MSC.
The reason is in post http://www.ultimatepp.org/forum/index.php?t=msg&goto=219 57&. You get an "Error invoking gdb !", when compiling with MSC.
To be concise, in Debug.cpp there is:
void Ide::BuildAndDebug(bool runto)
{
...
#ifdef COMPILER_MSC
debugger = builder == "GCC" ? GdbCreate(host, target, runarg) : PdbCreate(host, target, runarg);
#else
debugger = GdbCreate(host, target, runarg);
#endif
So it seems TheIde compiled with MinGW uses Gdb always although you have chosen to compile your project with MSC.
Best regards
Koldo
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Sun Oct 13 03:09:39 CEST 2024
Total time taken to generate the page: 0.02982 seconds
|
|
|