[lkml]   [2006]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.6.16-rc1
Hi Jean.

> I just tried this on a freshly unpacked and configured (but not
> compiled) 2.6.16-rc1, and I observe a similarly strange, though
> different, behavior:
> hyperion:/home/khali/src/linux-2.6.16-rc1 # ls -l /dev/null
> crw-rw-rw- 1 root root 1, 3 2006-01-18 09:30 /dev/null
> hyperion:/home/khali/src/linux-2.6.16-rc1 # make distclean V=1
> make -f scripts/Makefile.clean obj=scripts/kconfig
> make -f scripts/Makefile.clean obj=scripts/kconfig/lxdialog
When the above command is executed gcc is actually called two times due
to following lines:
HOST_EXTRACFLAGS:= $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
HOST_LOADLIBES := $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))

The shell script is called which again do:
echo "main() {}" | gcc -xc - -o /dev/null

And it seems that gcc will trash /dev/null in your setup when doing
One fix would be to avoid the two lines during distclean,
but I may have to resort to a temporary file.

Could you please confirm that the above command is the one that trashes
/dev/null, then I will try to cook up something better.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-01-18 10:18    [W:0.086 / U:0.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site