source: scripts/patches/glibc-2.3.5-allow-gcc-4.0-wordexp.patch@ 173b4e4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 173b4e4 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
  • glibc-2.3-20050307/sysdeps/generic/wordexp.c

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2005-05-03
    Initial Package Version: 2.3.5
    Origin: Dan Kegel's crosstool ( http://kegel.com/crosstool/ )
    Upstream Status: in glibc cvs ( libc/sysdeps/generic/wordexp.c -r1.15 )
    Description:
    
    ../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:
    
    old new  
    809809}
    810810
    811811/* Function called by child process in exec_comm() */
    812 static void
     812static inline void
    813813internal_function __attribute__ ((always_inline))
    814814exec_comm_child (char *comm, int *fildes, int showerr, int noexec)
    815815{
Note: See TracBrowser for help on using the repository browser.