RK3308编译buildroot异常,与指导文档不符
指导手册中,Buildroot编译工具链64位系统:
buildroot/output/rockchip_rk356x/host/bin/aarch64-buildroot-linux-gnu-
32位系统:
buildroot/output/rockchip_rk356x/host/usr/arm-linux-gcc对应版本:
gcc version 9.3.0 (Buildroot 2018.02-rc3-02723-gd3fbc6ae13)
对应路径找不到,已成功编译uboot/kernel/recovery,
部分报错:
2022-11-09T23:43:46 [ -z "" ] || /usr/bin/gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O2 -I/work/RK3308_Linux_SDK/rk3308_linux_release_v1.5.0a_20220402/proj/buildroot/output/firefly_rk3308_release/host/include -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -Iinclude -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso fips_premain.c fipscanister.o libcrypto.a -ldl
2022-11-09T23:43:46 /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC
2022-11-09T23:43:46 /usr/bin/ld: final link failed: Bad value
2022-11-09T23:43:46 collect2: error: ld returned 1 exit status
页:
[1]