emerge finishes as follows: imake -DUseInstalled -I/usr/X11R6/lib/X11/config /usr/bin/cpp: /usr/bin/cpp: /bin/sh: bad interpreter: Too many open files in system imake: Exit code 126. Stop. !!! ERROR: sys-apps/groff-1.18.1 failed. !!! Function src_compile, Line 50, Exitcode 1 !!! (no error message)
gcc bug ?
Prob the /usr/bin/gcc is a script thing. Check the contents of you /usr/bin/gcc, if a script, please get back to me and also with gcc version, etc (epm -q gcc).
gcc is version 3.2.1-r6. 'which gcc' shows /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc. /usr/i686-pc-linux-gnu/gcc-bin/3.2/gcc is not a script.
hrm, ok. Can you run /usr/bin/cc and /lib/cc fine ?
I can run /usr/bin/cc OK. I don't seem to have /lib/cc. Might this be the problem? Should there be a symlink there?
Err, sorry, it should be /lib/cpp. Anyhow, can you attach the contents of /usr/bin/cc ?
Created attachment 7009 [details] /usr/bin/cc
Ok, fixed issue. Please update sys-devel/gcc-config to latest version, and try again, thanks. Should be version 1.2.7 as of writing ...
closing due to no feedback