lede icon indicating copy to clipboard operation
lede copied to clipboard

编译 mbedtls 出错

Open ocd0711 opened this issue 3 years ago • 0 comments

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • [x] 没有类似的issue

2. 详细叙述

(1) 具体问题

编译 mbedtls 出错

(2) 路由器型号和固件版本

ARMv8(cortex-a53)

(3) 详细日志

FAILED: library/CMakeFiles/mbedcrypto_static.dir/armv8ce_aes.c.o 
/Volumes/Build/openwrt_lede/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/bin/aarch64-openwrt-linux-musl-gcc  -I/Volumes/Build/openwrt_lede/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/include -I/Volumes/Build/openwrt_lede/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/library -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/Build/openwrt_lede/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0=mbedtls-2.28.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -ffunction-sections -fdata-sections -march=armv8-a+crypto -Wall -Wextra -Wwrite-strings -Wformat=2 -Wno-format-nonliteral -Wvla -Wlogical-op -Wshadow -Wformat-signedness -Wformat-overflow=2 -Wformat-truncation -Werror -Wmissing-declarations -Wmissing-prototypes -O2 -fPIC -MD -MT library/CMakeFiles/mbedcrypto_static.dir/armv8ce_aes.c.o -MF library/CMakeFiles/mbedcrypto_static.dir/armv8ce_aes.c.o.d -o library/CMakeFiles/mbedcrypto_static.dir/armv8ce_aes.c.o -c /Volumes/Build/openwrt_lede/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/library/armv8ce_aes.c
{standard input}: Assembler messages:
{standard input}:25: Error: selected processor does not support `aesd v0.16b,v1.16b'
{standard input}:26: Error: selected processor does not support `aesimc v0.16b,v0.16b'
{standard input}:31: Error: selected processor does not support `aesd v0.16b,v1.16b'
{standard input}:47: Error: selected processor does not support `aese v0.16b,v1.16b'
{standard input}:48: Error: selected processor does not support `aesmc v0.16b,v0.16b'
{standard input}:53: Error: selected processor does not support `aese v0.16b,v1.16b'
{standard input}:85: Error: selected processor does not support `pmull2 v0.1q,v1.2d,v2.2d'
{standard input}:86: Error: selected processor does not support `pmull2 v4.1q,v0.2d,v3.2d'
{standard input}:90: Error: selected processor does not support `pmull v4.1q,v1.1d,v5.1d'
{standard input}:92: Error: selected processor does not support `pmull2 v4.1q,v1.2d,v5.2d'
{standard input}:94: Error: selected processor does not support `pmull2 v4.1q,v0.2d,v3.2d'
{standard input}:97: Error: selected processor does not support `pmull v4.1q,v1.1d,v2.1d'
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile:180: /Volumes/Build/openwrt_lede/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/.built] Error 1
make[3]: Leaving directory '/Volumes/Build/openwrt_lede/package/libs/mbedtls'
time: package/libs/mbedtls/compile#1.22#0.79#2.21
    ERROR: package/libs/mbedtls failed to build.
make[2]: *** [package/Makefile:116: package/libs/mbedtls/compile] Error 1
make[2]: Leaving directory '/Volumes/Build/openwrt_lede'
make[1]: *** [package/Makefile:110: /Volumes/Build/openwrt_lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/Volumes/Build/openwrt_lede'
make: *** [/Volumes/Build/openwrt_lede/include/toplevel.mk:230: world] Error 2

ocd0711 avatar Jul 28 '22 14:07 ocd0711