Open Cathgao opened 2 months ago
工具链版本老旧,更新下。
发件人: Cathgao @.> 发送时间: 2024年9月5日 8:44 收件人: coolsnowwolf/lede @.> 抄送: Subscribed @.***> 主题: [coolsnowwolf/lede] RAMIPS编译btop爆编译器版本错误 (Issue #12449)
详细叙述
编译到btop时报编译器版本错误 Makefile:84: *** ERROR: Compiler too old. (Requires Clang 16.0.0, GCC 10.1.0). Stop.
重复 issue
具体型号
Newifi-d2 MT7621
详细日志
make[4]: Entering directory '/home/gao/lede/build_dir/target-mipsel_24kc_musl/btop-1.3.0' Makefile:84: ERROR: Compiler too old. (Requires Clang 16.0.0, GCC 10.1.0). Stop. make[4]: Leaving directory '/home/gao/lede/build_dir/target-mipsel_24kc_musl/btop-1.3.0' make[3]: [Makefile:58: /home/gao/lede/build_dir/target-mipsel_24kc_musl/btop-1.3.0/.built] Error 2 make[3]: Leaving directory '/home/gao/lede/feeds/packages/admin/btop' time: package/feeds/packages/btop/compile#0.06#0.17#0.20 ERROR: package/feeds/packages/btop failed to build.
― Reply to this email directly, view it on GitHubhttps://github.com/coolsnowwolf/lede/issues/12449, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYPDLDANFPOKEW4QKZUZ4V3ZU6SPPAVCNFSM6AAAAABNVMGT2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDMNJUGE3TSNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
host的clang是17,gcc是14
你用命令查看下版本
发件人: Cathgao @.> 发送时间: 星期四, 九月 5, 2024 2:49 下午 收件人: coolsnowwolf/lede @.> 抄送: 山茱萸 @.>; Comment @.> 主题: Re: [coolsnowwolf/lede] RAMIPS编译btop爆编译器版本错误 (Issue #12449)
host的clang是17,gcc是14
― Reply to this email directly, view it on GitHubhttps://github.com/coolsnowwolf/lede/issues/12449#issuecomment-2330737618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYPDLDE7ASAUGRT3FGS5BFDZU75G7AVCNFSM6AAAAABNVMGT2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQG4ZTONRRHA. You are receiving this because you commented.Message ID: @.***>
clang -v
Ubuntu clang version 17.0.6 (++20231209124227+6009708b4367-1~exp1~20231209124336.77)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
降版本吧
发件人: Cathgao @.> 发送时间: Friday, September 6, 2024 8:31:28 PM 收件人: coolsnowwolf/lede @.> 抄送: 山茱萸 @.>; Comment @.> 主题: Re: [coolsnowwolf/lede] RAMIPS编译btop爆编译器版本错误 (Issue #12449)
clang -v Ubuntu clang version 17.0.6 (++20231209124227+6009708b4367-1~exp1~20231209124336.77) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11 Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12 Candidate multilib: .@. Selected multilib: .@.
gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
― Reply to this email directly, view it on GitHubhttps://github.com/coolsnowwolf/lede/issues/12449#issuecomment-2333950704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYPDLDBGMVI4TI6XUMJGHL3ZVGOCBAVCNFSM6AAAAABNVMGT2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZTHE2TANZQGQ. You are receiving this because you commented.Message ID: @.***>
详细叙述
编译到btop时报编译器版本错误
Makefile:84: *** ERROR: Compiler too old. (Requires Clang 16.0.0, GCC 10.1.0). Stop.
重复 issue
具体型号
Newifi-d2 MT7621
详细日志