[Top][All Lists]

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

Re: [Mingw-cross-env-list] Qt 4.8.0-rc1

From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Qt 4.8.0-rc1
Date: Sat, 22 Oct 2011 04:09:39 +1100

On 21 October 2011 21:45, Tony Theodore <address@hidden> wrote:
> On 20 October 2011 22:07, Mark Brand <address@hidden> wrote:
>> On Thu, Oct 20, 2011 at 11:44 AM, Tony Theodore <address@hidden> wrote:
>>> On 20 October 2011 01:59, Mark Brand <address@hidden> wrote:
>>>> I haven't been able to spot the problem in your log file yet, but I wonder
>>>> if you could try adding the option "-Winvalid-pch" to get more information
>>>> about the problem.
>>> It outputs an extra warning line:
>>> cc1plus: warning: ./.obj/release-static/qt_pch.h.gch/c++: had text
>>> segment at different address [enabled by default]
>>> cc1plus: error: one or more PCH files were found, but they were invalid
>>> cc1plus: fatal error: .obj/release-static/qt_pch.h: No such file or 
>>> directory
>>> compilation terminated.
>>> does that mean anything to you?
>> I'm afraid I don't know much about this either. Found similar problem
>> with purported solution here:
>> http://old.nabble.com/-Bug-c%2B%2B-39206---New%3A--gcc-fails-to-create-precompiled-header-file-td22042160.html
> Hi Mark,
> Thanks for the link, it turns out that address space randomization
> doesn't play well with precompiled headers. After too many hours, I
> couldn't find a way to disable this in OSX, or build a compiler that
> isn't affected.

So after a few more hours, it ends up being a fairly simple:


option to configure in gcc.mk (once you know what you're looking for).
This is more an issue of an outdated native compiler and unrelated to
qt or mingw-cross-env.



reply via email to

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