patches/glibc/2.3.6/120-glibc-2.3.5-allow-gcc-4.0-wordexp.patch
changeset 744 4bf8448536d5
parent 743 0bdbc96fecc0
child 745 e445c00d134d
     1.1 --- a/patches/glibc/2.3.6/120-glibc-2.3.5-allow-gcc-4.0-wordexp.patch	Mon Jul 28 11:43:29 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,21 +0,0 @@
     1.4 -../sysdeps/generic/wordexp.c: In function 'exec_comm':
     1.5 -../sysdeps/generic/wordexp.c:815: sorry, unimplemented: inlining failed in call to 'exec_comm_child': function body not available
     1.6 -../sysdeps/generic/wordexp.c:900: sorry, unimplemented: called from here
     1.7 -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
     1.8 -
     1.9 -I had to add the keyword 'inline' to get it to compile:
    1.10 -
    1.11 ---- glibc-2.3-20050307/sysdeps/generic/wordexp.c.old	2005-03-12 08:54:15.709253928 -0800
    1.12 -+++ glibc-2.3-20050307/sysdeps/generic/wordexp.c	2005-03-12 08:54:51.242852000 -0800
    1.13 -@@ -809,7 +809,7 @@
    1.14 - }
    1.15 -
    1.16 - /* Function called by child process in exec_comm() */
    1.17 --static void
    1.18 -+static inline void
    1.19 - internal_function __attribute__ ((always_inline))
    1.20 - exec_comm_child (char *comm, int *fildes, int showerr, int noexec)
    1.21 - {
    1.22 -
    1.23 -
    1.24 -Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>