Re: [Development] Problem loading plugins with gcc 4.9.2

2017-03-08 Thread Thiago Macieira
Em quarta-feira, 8 de março de 2017, às 12:55:58 CET, Sérgio Martins escreveu: > On Wed, Mar 8, 2017 at 11:33 AM, Alex Blasche wrote: > > This is an ancient thread but just to keep this in mind (it certainly cost > > me a day re-figuring this out). > > > > If you do Qt development for Android yo

Re: [Development] Problem loading plugins with gcc 4.9.2

2017-03-08 Thread Ch'Gans
e=theqtcompany@qt-project.org > on > behalf of Thiago Macieira > Sent: Wednesday, 4 March 2015 4:48:11 PM > To: development@qt-project.org > Subject: Re: [Development] Problem loading plugins with gcc 4.9.2 > > On Wednesday 04 March 2015 11:53:04 Albert Astals Cid

Re: [Development] Problem loading plugins with gcc 4.9.2

2017-03-08 Thread Sérgio Martins
On Wed, Mar 8, 2017 at 11:33 AM, Alex Blasche wrote: > This is an ancient thread but just to keep this in mind (it certainly cost me > a day re-figuring this out). > > If you do Qt development for Android you are going to be hit by this. The > four most recent Android NDKs (11c, 12b, 13b & 14) a

Re: [Development] Problem loading plugins with gcc 4.9.2

2017-03-08 Thread Alex Blasche
sche=theqtcompany@qt-project.org on behalf of Thiago Macieira Sent: Wednesday, 4 March 2015 4:48:11 PM To: development@qt-project.org Subject: Re: [Development] Problem loading plugins with gcc 4.9.2 On Wednesday 04 March 2015 11:53:04 Albert Astals Cid wrote: > Yes, same issue. > >

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-04 Thread Thiago Macieira
On Wednesday 04 March 2015 11:53:04 Albert Astals Cid wrote: > Yes, same issue. > > Reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309 > > Would be great if someone could verify i didn't say lots of silly things Given they've just confirmed, produced a fix and committed it, I'm guess

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-04 Thread Sergio Martins
On Tuesday, March 03, 2015 16:52:43 Thiago Macieira wrote: > Since we're seeing both operator() and the innerFunction frames, I assume > you compiled in debug mode. Correct? yes > > Anyway, I have GCC 4.9.2, Binutils 2.25.0 (using gold) and I cannot > reproduce in either debug, regular release o

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-04 Thread Albert Astals Cid
Yes, same issue. Reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65309 Would be great if someone could verify i didn't say lots of silly things On Wed, Mar 4, 2015 at 11:19 AM, Rutledge Shawn wrote: > > On Mar 3, 2015, at 14:55, Sergio Martins wrote: > > Hi, > > > > So that you don't

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-04 Thread Rutledge Shawn
On Mar 3, 2015, at 14:55, Sergio Martins mailto:sergio.mart...@kdab.com>> wrote: Hi, So that you don't waste time pulling your hair out: plugin loading is broken with gcc 4.9.2 There's some clash between global static QFactoryLoader instances. Reproduced on Archlinux (and on Fedora by jpn

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Wednesday 04 March 2015 02:40:55 Aleix Pol wrote: > On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > > Hi, > > > > > > > > So that you don't waste time pulling your hair out: plugin loading is > > broken with gcc 4.9.2 > > > > > > > > There's some clash between global static QFact

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Aleix Pol
On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is broken > with gcc 4.9.2 > > > > There's some clash between global static QFactoryLoader instances. > > Reproduced on Archlinux (and on Fedora by jpnurmi). I al

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 22:14:55 Sergio Martins wrote: > In frame #2, we do loader(), which should create an instance of the > "/platforms" QFactoryLoader, but instead, it calls innerFunction() of a > global static of another translation unit (QFactoryLoader of "/accessible" > plugins). > > A si

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Sergio Martins
On Tuesday, March 03, 2015 11:45:49 Thiago Macieira wrote: > On Tuesday 03 March 2015 13:55:29 Sergio Martins wrote: > > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is > > broken with gcc 4.9.2 > > > > There's some clash between global static QFactoryLoader inst

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 13:55:29 Sergio Martins wrote: > Hi, > > So that you don't waste time pulling your hair out: plugin loading is > broken with gcc 4.9.2 > > There's some clash between global static QFactoryLoader instances. > Reproduced on Archlinux (and on Fedora by jpnurmi). Please expl

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Albert Astals Cid
And Ubuntu, i've had this issue for a long time and i thought i was the only one and thus only renamed all the loaders in the .cpp files and went on with it :D On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is

[Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Sergio Martins
Hi, So that you don't waste time pulling your hair out: plugin loading is broken with gcc 4.9.2 There's some clash between global static QFactoryLoader instances. Reproduced on Archlinux (and on Fedora by jpnurmi). Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Software Engineer Klarä