**** BEGIN LOGGING AT Sat Nov 30 02:59:57 2019 Nov 30 05:47:58 New news from stackoverflow: ERROR: YoctoProject - core-image-sato: do_populate_sdk **** BEGIN LOGGING AT Sat Nov 30 11:59:37 2019 Nov 30 12:29:33 tried to _append " systemd-analyze" to IMAGE_INSTALL but bitbake says nothing RPROVIDE systemd-analyze, what I'm doing wrong? Nov 30 13:38:40 trying to cross build GCC with stdlibc++ enabled but it fails with this error: aarch64-unknown-linux-gnu-c++: error: unrecognized command line option '-fchar8_t' Nov 30 13:41:01 gcc-9.2.0 Nov 30 16:49:02 yes moving /usr/include to /usr/include.bak solves it, but this solution is insane... Nov 30 16:49:28 nevertheless, the original error comes up than: error: unrecognized command line option '-fchar8_t' Nov 30 16:50:51 can you share more information as what package was it building and what is your env like ? Nov 30 16:51:23 I'm trying to cross build gcc-9.2.0 for aarch64-unknown-linux-gnu Nov 30 16:51:53 I have build a cross compiler with gcc-9.2.0, host x86_64 target aarch64-unknown-linux-gnu Nov 30 16:52:26 and that one I'm using to buils gcc-9.2.0 host=aarch64-unknown-linux-gnu and target=aarch64-unknown-linux-gnu Nov 30 16:52:55 without libstdc++ enable all goes well, but when I enable libstdc++ trouble starts Nov 30 16:53:10 so for test I only build libstdc++-V3 now Nov 30 16:53:35 in the pastebin you can see my configure line for this Nov 30 16:55:32 you are not using OE are you ? Nov 30 16:55:44 the way I build the first compiler: https://pastebin.com/sjFnrcck Nov 30 16:55:50 OE? Nov 30 16:58:10 confusing channel.... Nov 30 16:58:14 not using yocto Nov 30 16:58:38 OpenEmbedded is the build system technology that Yoctro project uses Nov 30 16:58:56 no not using openembeded Nov 30 16:58:59 ok so it seems that you need to use recent enough gcc to bootstrap Nov 30 16:59:26 your rpm spec file seems to use gcc8 Nov 30 16:59:33 I would suggest to use gcc9 Nov 30 16:59:50 CHAR8_TYPE is a recently addition to gcc Nov 30 16:59:53 8.2.0 was the first one Nov 30 17:00:03 ah makes sense Nov 30 17:00:13 rebuilding the initial compiler then... Nov 30 17:00:18 right Nov 30 17:00:32 thx, going to try that first Nov 30 20:01:15 rebuild gcc with gcc-9.2 (fresh toolchain) Nov 30 20:02:03 build stdlibc test, fail, mixing up with local headers > mv /usr/include /usr/include.bak, retry again Nov 30 20:02:13 aarch64-unknown-linux-gnu-g++: error: unrecognized command line option '-fchar8_t' Nov 30 20:10:55 ok...gcc 8.2.0 no problems Nov 30 20:11:21 maybe switching to 8.2.0 instead of 9.2.0 Would it hurt? guess not Nov 30 20:11:38 ok somehow its mixing headers from 8.2 into builds for 9.2 Nov 30 20:11:42 this will not work Nov 30 20:13:06 hmmm, have I used headers of 8.2...need to check Nov 30 20:18:36 aarch64-unknown-linux-gnu-g++ --version Nov 30 20:18:39 what does that say Nov 30 20:27:48 already wiped the toolchain Nov 30 20:28:15 doubting about first stage compiler Nov 30 22:51:39 ok...still mixing up with native headers.... Nov 30 22:52:22 but, if I temporary disable /usr/include....libstdc builds fine! Nov 30 23:33:44 something wrong with glibc? https://pastebin.com/SRaJ7etT Nov 30 23:34:12 reminds me....is this a new glibc? Nov 30 23:34:15 rebuild! Nov 30 23:58:45 nop still the same problem **** ENDING LOGGING AT Fri Dec 06 11:09:57 2019