Bug 6613 - C++ compiler does not work for ppce500v2 cross toolchain
Summary: C++ compiler does not work for ppce500v2 cross toolchain
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Richard Purdie
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-08-06 03:05 UTC by João Henrique
Modified: 2014-10-17 07:42 UTC (History)
11 users (show)

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


Attachments
config.log err (55.15 KB, text/x-log)
2014-10-09 08:40 UTC, Alexandru Georgescu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description João Henrique 2014-08-06 03:05:34 UTC
poky: 2d1660112e54653f7bb763939d0416472c49fe01
cross TC used: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M2.rc1/toolchain/x86_64/poky-eglibc-x86_64-core-image-sato-ppce500v2-toolchain-1.6+snapshot.sh

Bellow a simple C++ program which pppce500v2 does not work.
--- c.cpp ---
#include <limits>

int main() {}
---

STEPS TO REPRODUCE
1. use c.cpp
2. download cross tc for ppce500v2, extract and source the env (environment-setup-ppce500v2-poky-linux-gnuspe)
3. build c.cpp:

$CXX c.cpp
In file included from c.cpp:2:0:
/opt/poky/1.6+snapshot/sysroots/ppce500v2-poky-linux-gnuspe/usr/include/c++/4.9.0/limits:42:28: fatal error: bits/c++config.h: No such file or directory
 #include <bits/c++config.h>


OTHER COMMENTS

There are two environment scripts, environment-setup-ppce500v2-poky-linux-gnuspe and environment-setup-ppce500v2-poky-linux. To reproduce I use the first.
Comment 1 Paul Eggleton 2014-08-07 14:50:52 UTC
Possibly related to bug 6608 ? Although that is apparently at link time and this is compile time.
Comment 2 João Henrique 2014-08-08 01:37:56 UTC
Yes, it is related.
Comment 4 Alexandru Georgescu 2014-10-09 08:37:50 UTC
Richard, I will reopen this since it appeared again after 6766 was fixed. 

Only this arch fails, the others are okay, including ppc7400.
Comment 5 Alexandru Georgescu 2014-10-09 08:39:07 UTC
(In reply to comment #4)
> Richard, I will reopen this since it appeared again after 6766 was fixed. 
> 
> Only this arch fails, the others are okay, including ppc7400.

I didn't mention that SUDOKU and iptables fails as well to build.
Comment 6 Alexandru Georgescu 2014-10-09 08:40:11 UTC
Created attachment 2173 [details]
config.log err

errors at configure are in the config.log for sudoku savant
Comment 7 Ke Zou 2014-10-17 07:41:51 UTC
verified with build 1.7.RC4
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7.rc4/
Comment 8 Ke Zou 2014-10-17 07:42:01 UTC
verified with build 1.7.RC4
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7.rc4/