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

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Mon Jan 6 18:25:33 CET 2014


On Monday 06 January 2014 16:08:12 Allan Sandfeld Jensen wrote:
> 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?

I will definitely test that patch, but saddly not in the inmediate future, but 
I'll do my best to do it ASAP.

Thanks!

-- 

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140106/dd11a4c0/attachment.sig>


More information about the Development mailing list