|
|
Thiemo Seufer wrote:
binutils 2.15-4 causes a build failure now instead of breaking silently
due to exceeding the global GOT entry limit. The appended patch switches
the build to xgot mode for mips/mipsel and enables -O2 optimizations,
debug info and more warnings in C++ code for all architectures.
Thiemo,
thanks for your patch, I'll provide a patched version to my sponsor asap
so that he can upload it.
May I ask some precision ?
I understand well the -O2 in CXXFLAGS and I wish I would have thought to
it before... I must admit I don't know anything about what GOT is... I'm
currently reading some thread from you in debian lists and gcc lists but
I'm not able to determine what exactly it is and if it only applies to
the static part of the link (I presume yes)... So, concerning the xgot
mode for mips, do you think this "bug" manifest here with pgAdmin III
because of the static linking against wxWidgets (i.e. an overflow due to
too much variables between pga3 and wxWid objects)?
I mean, do you think that I could/should backout this patch as soon as
the situation will be clearer concerning the link with wxWidgets or is
this due to pgAdmin III in itself ? I ask about this because Ron Lee is
currently working to get a proper wxWidgets package to suit the needs of
many packages and in particular of pga3... Please tell me if I need to
inform Ron of some specific compile options for this future package on
mips arch: as far as I understand it's not possible to mix non xgot
built code and code compiled with xgot enabled but I should not
encounter any problem as I would link dynamically and not statically.
Right? (feel free to point me to a specific URL, so that I teach myself)
Sorry if my questions sound a bit stupid but I prefer to ask and get a
proper situation directly than in a second shot.
@Martin: thanks for contacting Thiemo, you saved me a lot of time! ;)
Regards,
Raphaël
Thiemo
<snip>
|
|