Re: bug or feature

看板DFBSD_kernel作者時間21年前 (2005/01/06 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/5 (看更多)
:Hi all, :we have an interesting function in make, which I finally can easily :reproduce. Go to src/bin/expr/Makefile and change the expr.y to expr.c. :Compile and wonder. This is the reason why the parallel gcc 3.4 build :failed earlier and as far as I know this is not documented. : :Joerg There's nothing wrong with make. The make clean target is not removing the temporary expr.c file generated by previous runs of make before you changed expr.y to expr.c, and it is that expr.c that it is finding. If you do that you will see that the standard conversion rules will cause yacc to be run to generate the .c file from the .y file. That's documented conversion rule behavior for make. So the bug is simply that the Makefile is missing a CLEANFILES= expr.c line (or one of the .mk files is). -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #11tCrL00 (DFBSD_kernel)
文章代碼(AID): #11tCrL00 (DFBSD_kernel)