g++ compilation terminated with error on Linaro-openembedded lamp image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
In Progress
|
Undecided
|
Yvan Roux | ||
Linaro OpenEmbedded |
Fix Released
|
High
|
Andrew McDermott |
Bug Description
on Linaro-openembedded lamp images:
http://
the test suites validation of the c++ compiler :
https:/
the compiler terminated with error:
the issue from the log report:
root@genericarm
hello.cc:1:20: fatal error: iostream: No such file or directory
#include <iostream>
compilation terminated.
root@genericarm
the issue reproduced with builds
Foundation image: http://
Target image: http://
summary: |
- g++ compilation terminated with error on Linaro-openembedded with lamp - image + g++ compilation terminated with error on Linaro-openembedded lamp image |
Changed in linaro-oe: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Andrew McDermott (frobware) |
milestone: | none → 13.06 |
Changed in gcc-linaro: | |
assignee: | nobody → Yvan Roux (yvan-roux) |
description: | updated |
Changed in linaro-oe: | |
milestone: | 13.06 → 13.07 |
Changed in linaro-oe: | |
status: | Fix Committed → Fix Released |
Changed in gcc-linaro: | |
status: | New → In Progress |
If you look through the full output below you'll see that a leading '/' appears to be missing for the #include search paths.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min- heapsize= 131072 c++//aarch64- oe-linux" c++//backward" include" gcc/aarch64- oe-linux/ 4.8.2/. ./../.. /../aarch64- oe-linux/ include"
ignoring nonexistent directory "usr/include/c++/"
ignoring nonexistent directory "usr/include/
ignoring nonexistent directory "usr/include/
ignoring nonexistent directory "/usr/local/
ignoring nonexistent directory "/usr/lib/
------- ------- ------- ------- ------- ------- ------- -------
Here's the full output from:
$ g++ -v -c hello.cc
Using built-in specs. java-benchmark/ jenkins- setup/build/ tmp-eglibc/ work-shared/ gcc-linaro- 4.8-r2013. 06/gcc- linaro- 4.8-2013. 06/configure --build= x86_64- linux --host= aarch64- oe-linux --target= aarch64- oe-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir= /usr/lib/ gcc --datadir= /usr/share --sysconfdir=/etc --sharedstatedi r=/com --localstatedir =/var --libdir=/usr/lib --includedir= /usr/include --oldincludedir =/usr/include --infodir= /usr/share/ info --mandir= /usr/share/ man --disable- silent- rules --disable- dependency- tracking --with- libtool- sysroot= /scratch/ java-benchmark/ jenkins- setup/build/ tmp-eglibc/ sysroots/ genericarmv8 --with-gnu-ld --enable-shared --enable- languages= c,c++ --enable- threads= posix --enable-multilib --enable-c99 --enable-long-long --enable- symvers= gnu --enable- libstdcxx- pch --program- prefix= aarch64- oe-linux- --without- local-prefix --enable- target- optspace --enable-lto --enable-libssp --disable-bootstrap --disable- libmudflap --with-system-zlib --with- linker- hash-style= gnu --enable- linker- build-id --with-ppl=no --with-cloog=no --enable- checking= release --enable- cheaders= c_global --with-sysroot=/ --with- build-sysroot= /scratch/ java-benchmark/ jenkins- setup/build/ tmp-eglibc/ sysroots/ genericarmv8 --with- native- system- header- dir=/scratch/ java-benchmark/ jenkins- setup/build/ tmp-eglibc/ sysroots/ genericarmv8/ usr/include --with- gxx-include- dir=/usr/ include/ c++/ --enable- dependency- tracking --enable-nls --enable- __cxa_atexit GCC_OPTIONS= '-v' '-c' '-shared-libgcc' gcc/gcc/ aarch64- oe-linux/ 4.8.2/cc1plus -quiet -v -D_GNU_SOURCE hello.cc -quiet -dumpbase hello.cc -auxbase hello -version -o /tmp/ccdaZdX4.s heapsize= 131072 c++//aarch64- oe-linux" c++//backward" include" gcc/aarch64- oe-linux/ 4.8.2/. ./../.. /../aarch64- oe-linux/ include" gcc/aarch64- oe-l...
COLLECT_GCC=g++
Target: aarch64-oe-linux
Configured with: /scratch/
Thread model: posix
gcc version 4.8.2 20130603 (prerelease) (Linaro GCC 4.8-2013.06-0~dev)
COLLECT_
/usr/lib/
GNU C++ (Linaro GCC 4.8-2013.06-0~dev) version 4.8.2 20130603 (prerelease) (aarch64-oe-linux)
compiled by GNU C version 4.8.2 20130603 (prerelease), GMP version 5.1.1, MPFR version 3.1.2, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-
ignoring nonexistent directory "usr/include/c++/"
ignoring nonexistent directory "usr/include/
ignoring nonexistent directory "usr/include/
ignoring nonexistent directory "/usr/local/
ignoring nonexistent directory "/usr/lib/
#include "..." search starts here:
#include <...> search starts here:
/usr/lib/