Bug 5462 - meta-toolchain-qte fails - one or more PCH files found, but they were invalid
Summary: meta-toolchain-qte fails - one or more PCH files found, but they were invalid
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.5
Hardware: x86 x86
: Medium major
Target Milestone: 1.5.1
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-05 09:03 UTC by Florian
Modified: 2013-11-12 10:01 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
Full output on building meta-toolchain-qte (7.86 KB, text/plain)
2013-11-05 09:03 UTC, Florian
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian 2013-11-05 09:03:09 UTC
Created attachment 1605 [details]
Full output on building meta-toolchain-qte

I tried to build the meta-toolchain-qte (Qt Embedded) on the dora branch. I want to use it for compiling qte apps with directfb instead of X11 for the i.MX6q

The following error occurs on building (host: Ubuntu 12.04):

| In file included from <command-line>:0:0:
| /home/udcu/fsl-community-bsp/build/tmp/sysroots/i686-nativesdk-pokysdk-linux/opt/poky/1.5/sysroots/i686-pokysdk-linux/usr/include/stdc-predef.h:39:1: error: one or more PCH files were found, but they were invalid
|  #endif
|  ^

Full log attached!
Comment 1 Florian 2013-11-07 15:55:18 UTC
I found the problem: after removing the whole build/tmp directory everything compiled without problems.

I think the problem came from compiling the meta-toolchain-qt and direct afterwards the meta-toolchain-qte... maybe then some stuff isn't compatible.

Maybe this hint helps to get a workaround for this problem?
Comment 2 Laurentiu Palcu 2013-11-12 10:01:49 UTC
Hi Florian,

I tried to reproduce your issue but I couldn't. I used the dora branch and did two successive meta-toolchain-qt and meta-toolchain-qte builds for qemuarm. Build finished successfully. I'm closing this... If you succeed to reproduce it again, reopen it and fill in some clear steps to reproduce it myself.