glibc-2.3.5-allow-gcc-4.0-wordexp.patch
来自「linux下编译交叉工具链的工具源码」· PATCH 代码 · 共 22 行
PATCH
22 行
../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 heremake[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] ErrorI had to add the keyword 'inline' to get it to compile:--- glibc-2.3-20050307/sysdeps/generic/wordexp.c.old 2005-03-12 08:54:15.709253928 -0800+++ glibc-2.3-20050307/sysdeps/generic/wordexp.c 2005-03-12 08:54:51.242852000 -0800@@ -809,7 +809,7 @@ } /* 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) {Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?