- 博客(5)
- 收藏
- 关注
原创 Openwrt安装python问题
需要将pip更新到21.3: pip install --upgrade pipstaging_dir/hostpkg/bin/python3.8 -m pip install --upgrade pip
2021-10-20 14:37:33
749
原创 Openwrt GCC 7.5编译sanitizer_internal_defs.h错误
GCC 7.5BINUTILS 2.31.1报错信息:sanitizer_internal_defs.h::72: error: size of array ‘assertion_failed__’ is negative解决方法:修改下列文件,删除一行target-libsanitizer \build_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-7.5.0_glibc_eabi/gcc-7.5.0/configure# ...
2021-10-19 16:07:51
2018
原创 Openwrt 19.07编译cycletest和glibc出错处理
硬件:ARM cortex A7, NXP imx6ull系统:openwrt 19.07,linux 5.4.46binutils 2.31,选择glibc时,要求gcc 6.2以上版本,故采用7.x版本。编译过程中会出现数组个数小于0的错误,错误产生于代码文件libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc的1150行 CHECK_SIZE_AND_OFFSET(ipc_perm, mode);这行代码.
2020-08-18 23:39:40
831
原创 5.x Linux RT-Preempt补丁和ARM平台RT-test编译
1. 在make menuconfig中,5.x版本内核的RT-Preempt设置在General Setup下面;2. ARM平台的RT-test编译:git clone git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git cd rt-tests git checkout stable/v1.0 export CROSS_COMPILE=[交叉编译工具路径]/bin/arm-linux-gnueabihf- gedit Make
2020-08-04 20:32:42
648
原创 Openwrt compile issue
Issue 1:gcc-8.4.0/config.gcc: 3871 [: missing `]' code line 3871: if [ "$fpu" = "error"] fix: add a space after "error";Issue 2:--with-archmay not be used with switch --with-cpu fix step 1: set parameter as follows:...
2020-06-19 21:08:17
470
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人