Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381621 - USE=pch x11-libs/qt-webkit-4.7.3 crashes on clang because of PCH incompatibility between compilers
Summary: USE=pch x11-libs/qt-webkit-4.7.3 crashes on clang because of PCH incompatibil...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 20:48 UTC by Aleksander Balicki
Modified: 2011-11-18 23:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (qt-webkit-4.7.3,242.69 KB, text/plain)
2011-09-02 20:49 UTC, Aleksander Balicki
Details
emerge --info (emergeinfo,6.80 KB, text/plain)
2011-09-06 09:10 UTC, Aleksander Balicki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksander Balicki 2011-09-02 20:48:30 UTC
USE=pch CC=clang CXX=clang++ emerge -1 qt-webkit 
generates a crash:
error: unable to read PCH file: 'Is a directory'
make: *** [.obj/release-shared/SVGNames.o] Error 1
make: *** Waiting for unfinished jobs....
error: unable to error: read PCH file: 'Is a directory'
unable make: *** [.obj/release-shared/JSSVGElementWrapperFactory.o] Error 1
to read PCH file: 'Is a directory'
make: *** [.obj/release-shared/SVGElementFactory.o] Error 1

Reproducible: Always
Comment 1 Aleksander Balicki 2011-09-02 20:49:28 UTC
Created attachment 285383 [details]
build.log
Comment 2 Mike Gilbert gentoo-dev 2011-09-06 02:38:30 UTC
Please include emerge --info.
Comment 3 Aleksander Balicki 2011-09-06 09:10:09 UTC
Created attachment 285691 [details]
emerge --info
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2011-11-17 23:18:09 UTC
Did you compile the rest of qt-* with gcc or clang?
Comment 5 Aleksander Balicki 2011-11-17 23:55:11 UTC
I was at the moment of compiling everything on clang, but it failed on the first occurence of the PCH.

The problem here is that clang handles PCHs in an other way than gcc.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2011-11-17 23:58:43 UTC
AFAIK clang is not supported on qt 4.7, so I might just close this bug as invalid unless you can provide a patch...
Comment 7 Davide Pesavento (RETIRED) gentoo-dev 2011-11-18 00:00:25 UTC
...and you can easily disable pch if you want to use clang.