Re: Linux 2.6.16-rc1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux