Precompiling disabled in qt-copy/configure
Simon Hausmann
hausmann at kde.org
Sat Jul 17 17:35:48 BST 2004
On Saturday 17 July 2004 15:55, ismail dönmez wrote:
> Hi all,
>
> I noticed precompiling on unix is disabled with r1.62 of configure see
> http://webcvs.kde.org/cgi-bin/cvsweb.cgi/qt-copy/configure.diff?r1=1.61&r2=
>1.62&f=h . Is there any reason for this change? It seems to work.
The configure test that upon success enables pch support is disabled because
even though that test might succeed, pch may still fail later on. gcc's pch
functionality currently relies on mmap() mapping the file at the same
location as it was when saving, which unfortunately does not work all the
time, especially not in security enhanced systems with for example mmap
deliberately trying to use random mappings.
Plus certain gcc releases abort with ICEs when compiling the C code in
src/3rdparty/ in combination with pch.
The next Qt 3.3.x bugfix release will have a configure switch for pch that
allows you to enable that configure test. (which then upon success enables
pch)
Simon
More information about the kde-core-devel
mailing list