Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381621

Summary: USE=pch x11-libs/qt-webkit-4.7.3 crashes on clang because of PCH incompatibility between compilers
Product: Gentoo Linux Reporter: Aleksander Balicki <balicki.aleksander>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED INVALID    
Severity: normal CC: voyageur
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

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.