CentOS 7.9.2009 x86_64
gcc版本
安装成功
runcpu编译报错
gcc版本太低,不识别'-fno-tree-loop-vectorize'
去掉config/gcc.cfg中 -fno-tree-loop-vectorize编译优化参数。
用例编译中
CentOS 8.3.2011 x86_64
gcc版本
安装失败,需要自行编译tools
手动同步tools目录到安装目录
报错
linking make...
glob.o: In function `glob':
glob.c:(.text+0x528): undefined reference to `__alloca'
glob.c:(.text+0x749): undefined reference to `__alloca'
glob.c:(.text+0x7e4): undefined reference to `__alloca'
glob.c:(.text+0x8c0): undefined reference to `__alloca'
glob.o: In function `glob_in_dir':
glob.c:(.text+0x1738): undefined reference to `__alloca'
glob.o:glob.c:(.text+0x1813): more undefined references to `__alloca' follow
collect2: error: ld returned 1 exit status
+ testordie 'error building make with build.sh'
+ test 1 -ne 0
+ echo '!!! error building make with build.sh'
!!! error building make with build.sh
+ '[' -z '' ']'
+ kill -TERM 11966
+ exit 1
++ echo '!!!!! buildtools killed'
!!!!! buildtools killed
++ exit 1
待续