source: scripts/patches/glibc-2.3.5-allow-gcc-4.0-wordexp.patch@ 466d0930

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 466d0930 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-05-03
3Initial Package Version: 2.3.5
4Origin: Dan Kegel's crosstool ( http://kegel.com/crosstool/ )
5Upstream Status: in glibc cvs ( libc/sysdeps/generic/wordexp.c -r1.15 )
6Description:
7
8../sysdeps/generic/wordexp.c: In function 'exec_comm':
9../sysdeps/generic/wordexp.c:815: sorry, unimplemented: inlining failed in call to 'exec_comm_child': function body not available
10../sysdeps/generic/wordexp.c:900: sorry, unimplemented: called from here
11make[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
12
13I had to add the keyword 'inline' to get it to compile:
14
15--- glibc-2.3-20050307/sysdeps/generic/wordexp.c.old 2005-03-12 08:54:15.709253928 -0800
16+++ glibc-2.3-20050307/sysdeps/generic/wordexp.c 2005-03-12 08:54:51.242852000 -0800
17@@ -809,7 +809,7 @@
18 }
19
20 /* Function called by child process in exec_comm() */
21-static void
22+static inline void
23 internal_function __attribute__ ((always_inline))
24 exec_comm_child (char *comm, int *fildes, int showerr, int noexec)
25 {
26
Note: See TracBrowser for help on using the repository browser.