7 Star 0 Fork 9

src-openEuler/liburing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-enable-libc.patch 771 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangkea 提交于 2023-11-17 11:23 . upgrade version for 2.4
diff --git a/configure b/configure
index 28f3eb0..9f7cff4 100755
--- a/configure
+++ b/configure
@@ -413,9 +413,15 @@ int main(void){
#endif
}
EOF
-if compile_prog "" "" "nolibc support"; then
- liburing_nolibc="yes"
-fi
+# Temporarily disable nolibc because false positives exist and compilation may
+# fail later. The issue is that compile_prog does not use the CFLAGS modified
+# for nolibc, so it cannot detect when nolibc won't work (e.g. due to the gcc
+# stack protector requiring __stack_chk_fail_local from libc on i686).
+#
+# if compile_prog "" "" "nolibc support"; then
+# liburing_nolibc="yes"
+# fi
+liburing_nolibc="no"
print_config "nolibc support" "$liburing_nolibc";
#############################################################################
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/liburing.git
git@gitee.com:src-openeuler/liburing.git
src-openeuler
liburing
liburing
master

搜索帮助