lkml.org 
[lkml]   [2006]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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:
scripts/kconfig/lxdialog/Makefile
HOST_EXTRACFLAGS:= $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
HOST_LOADLIBES := $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))

The shell script check-dialog.sh 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
this.
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.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-18 10:18    [W:0.196 / U:0.076 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site