I complied the dev brach get some trouble, someone can help me?
env:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
command:
git checkout dev
PROJECT=Amlogic ARCH=aarch64 DISTRO=EmuELEC make image
error:
[001/486] [DONE] build configtools:host
BUILD make (host)
TOOLCHAIN configure (auto-detect)
Executing (host): /home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/make-4.2.1/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain --bindir=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain/bin --sbindir=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain/sbin --sysconfdir=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain/etc --libexecdir=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain/lib --localstatedir=/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/toolchain/var --disable-static --enable-shared
configure: WARNING: unrecognized options: --disable-static, --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64-linux-gnu-gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/make-4.2.1/.x86_64-linux-gnu':
configure: error: C compiler cannot create executables
See `config.log' for more details
FAILURE: scripts/build make:host has failed!
[002/486] [FAIL] build make:host
The following logs for this failure are available:
stdout: /home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/.threads/logs/2/stdout
stderr: /home/levi/EmuELEC/build.EmuELEC-Amlogic.aarch64-4.3/.threads/logs/2/stderr
parallel: This job failed:
package_worker 2 2 486 'build make:host'
Parallel build failure - see log for details. Time of failure: Fri Nov 19 03:39:38 UTC 2021
make: *** [Makefile:12: image] Error 1
Your architecture (tigerlake) is too new and thus unknown to gcc9.
You need to use gcc10 at least. Here is shown how you can switch between different gcc versions: https://www.cnblogs.com/livelab/p/13049117.html
Thx your reply,I have tried all version gcc from gcc-4 to gcc-10, but not worked.
so finally I use my older I7-4720HQ pc to compile(new pc cpu I7-1165G7 is tigerLake architecture), the issue solved