On 2010-10-31 18:56, Joel Rosdahl wrote:
> ccache hangs because it has written down /dev/stdout as one of the
> include files to check and then tries to read it. Please send me
> (off-list) the preprocessor output [...]

>From H. Ingow off-list:

> # 1 "nslexer.c"
> # 1 "<built-in>"
> # 1 "<command-line>"
> # 1 "nslexer.c"
> # 21 "/dev/stdout"
> [...]

The "/dev/stdout" there is a bit odd...

I managed to reproduce the problem in my virtual FreeBSD 7.3 box. The
thing is that nslexer.c is built like this:

lex -P_nsyy -o/dev/stdout /usr/src/lib/libc/net/nslexer.l >nslexer.c

And lex adds lines like '#line 21 "/dev/stdout"' to nslexer.c.

I'll make a workaround in ccache. Maybe tomorrow. :-)

-- Joel
_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to