Files
poky/meta/recipes-devtools
Changqing Li de11fb92cf gcc-runtime.inc: fix m32 compile fail with x86-64 compiler
configuration:
MACHINE ??= "qemux86-64"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32"
IMAGE_INSTALL_append = " packagegroup-core-buildessential lib32-libstdc++ lib32-libstdc++-dev"

m32 compile failed on target:
cmd: gcc -m32 -v test.cpp -o test
output:
GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590
ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/x86_64-poky-linux/32"
ignoring nonexistent directory "/usr/lib64/x86_64-poky-linux/10.1.0/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../x86_64-poky-linux/include"
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/backward
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include-fixed
 /usr/include
End of search list.
GNU C++14 (GCC) version 10.1.0 (x86_64-poky-linux)
	compiled by GNU C version 10.1.0, GMP version 6.2.0, MPFR version 4.1.0, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590
Compiler executable checksum: bc3b2f3a33dad80e30112cf1235bf631
In file included from test.cpp:1:
/usr/include/c++/10.1.0/iostream:38:10: fatal error: bits/c++config.h: No such file or directory
   38 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~

cannot find header since
/usr/lib64/gcc/x86_64-poky-linux/10.1.0/x86_64-poky-linux/32 is missing

fixed by link it to ../i686-poky-linux

(From OE-Core rev: 509022ea8db314dd9d010a478fd84d0234905c6b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
..
2020-06-04 13:27:31 +01:00
2020-06-04 13:27:31 +01:00
2020-07-25 15:11:05 +01:00
2020-07-22 12:45:56 +01:00
2019-12-30 08:47:13 +00:00
2020-08-06 15:12:39 +01:00
2020-06-28 08:35:59 +01:00
2020-07-18 11:06:32 +01:00
2020-06-28 08:36:00 +01:00
2020-05-05 13:19:54 +01:00
2020-06-24 18:06:43 +01:00
2020-08-01 19:57:49 +01:00
2020-05-30 12:32:48 +01:00
2020-07-28 12:39:54 +01:00
2020-08-12 10:51:46 +01:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-07-02 16:18:03 +01:00
2020-07-27 19:58:09 +01:00
2020-05-12 15:20:42 +01:00
2020-06-09 13:13:59 +01:00
2020-07-28 12:39:54 +01:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-08-02 14:42:08 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2020-07-18 11:06:32 +01:00
2020-08-02 14:42:08 +01:00
2020-02-25 10:41:22 +00:00
2020-06-28 23:37:38 +01:00
2020-06-28 23:37:38 +01:00
2019-12-09 12:00:43 +00:00
2020-06-17 16:31:52 +01:00
2020-06-09 13:13:59 +01:00
2018-11-14 11:14:39 +00:00
2020-08-02 14:42:08 +01:00
2020-05-24 23:56:03 +01:00
2020-05-18 06:33:36 +01:00
2020-02-28 23:11:28 +00:00
2020-08-02 14:42:08 +01:00
2020-01-27 16:48:08 +00:00