mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Error in Qt's qmake.conf


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Error in Qt's qmake.conf
Date: Sun, 27 Mar 2011 21:12:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8


I think you are right. The strange this is that this comes from the plain
mkspecs/win32-g++/qmake.conf.

It appears [1] that up through Qt 4.2 the string started with
-mthreads -Wl,-enable-stdcall-fixup

Hmm. This is prehistoric as far as git is concerned.
Can't be, I never seen the message produced by this until yesterday (and
I've been building the same Qt app over and over).

I cannot explain your observations, but the -Wl is missing from the earliest version in git. The git repo was started in March 2009, well after Qt 4.2.

I'll try to get some clarification on this. I also wonder why it doesn't
make GCC fail with an error message.

Is the status quo causing linking failures for you?
Not failures, just a strange message after the link saying something
about not finding stdcall-fixup and asuming an entry point.

I'm also sure the -mthreads part was there before, didn't notice if is
not anymore.  I'm building my app again in a few minutes, after some
changes, will take a good look.

Just discovered it has been fixed. I have added the fix to "our" qmake.conf:

http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/6b1b2ef0b103

The missing -Wl was still hanging onto the end of the "-mthreads" that had been moved!

Could you give this a try?

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]