⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crosstool-0.38_patches_glibc-2.3.6_glibc-2.3.5-allow-gcc-4.0-wordexp.patch

📁 做好的交叉编译工具链
💻 PATCH
字号:
--- crosstool-0.38-orig/patches/glibc-2.3.6/glibc-2.3.5-allow-gcc-4.0-wordexp.patch	1970-01-01 01:00:00.000000000 +0100+++ crosstool-0.38/patches/glibc-2.3.6/glibc-2.3.5-allow-gcc-4.0-wordexp.patch	2006-01-16 08:16:12.000000000 +0100@@ -0,0 +1,20 @@+../sysdeps/generic/wordexp.c: In function 'exec_comm':+../sysdeps/generic/wordexp.c:815: sorry, unimplemented: inlining failed in call to 'exec_comm_child': function body not available+../sysdeps/generic/wordexp.c:900: sorry, unimplemented: called from here+make[2]: *** [/home/dank/queue/jobdir.fast2/crosstool-dev/build/i686-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.3-20050307/build-glibc/posix/wordexp.o] Error++I had to add the keyword 'inline' to get it to compile:++Index: glibc-2.3.6/sysdeps/generic/wordexp.c+===================================================================+--- glibc-2.3.6.orig/sysdeps/generic/wordexp.c++++ glibc-2.3.6/sysdeps/generic/wordexp.c+@@ -809,7 +809,7 @@ parse_arith (char **word, size_t *word_l+ }+ + /* Function called by child process in exec_comm() */+-static void++static inline void+ internal_function __attribute__ ((always_inline))+ exec_comm_child (char *comm, int *fildes, int showerr, int noexec)+ {

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -