[Development] Building qtwebkit with -gstabs instead of -g on certain archs

Allan Sandfeld Jensen kde at carewolf.com
Mon Jan 6 16:08:12 CET 2014


On Monday 06 January 2014, Oswald Buddenhagen wrote:
> On Sat, Dec 28, 2013 at 02:51:41PM -0300, Lisandro Damián Nicanor Pérez 
Meyer wrote:
> > The archs arm, i386, i686, mips and s390 can get their memory exhausted
> > when building QtWebkit, so at least on Debian we are replacing -g with
> > -gstabs for those archs. As I understand this comes from a suggestion by
> > Ossi.
> 
> i was only relaying info. i don't remember if that particular idea came
> from allan or somebody else.
> 
> > I would like to know if you would like to have this replacement done in
> > Qt itself (ie, if you would accept a patch to do this) or if you prefer
> > us downstreamers doing it.
> 
> this affects everyone making debug builds, so it should be upstream.
> however, this is something the qtwebkit team needs to decide.

I would like to point to https://codereview.qt-project.org/#change,72361
which reduces the memory while linking by eliminating duplicate symbols in the 
dwarf2 or dwarf4 tables. It also instructs the gnu linker to use a slower O(n)  
table instead of the default O(n*log(n)) table.

Perhaps Debian can try that patch and gives us feedback?

Best regards
`Allan Jensen




More information about the Development mailing list