Re: 2.6 hoses 2.4 on old-world?
flat view
From: Sam Ravnborg <hidden>
Date: 2004-08-22 08:57:09
On Sun, Aug 22, 2004 at 12:51:18AM +0200, Olaf Hering wrote:
On Fri, Aug 20, Stefan Jeglinski wrote:quoted
quoted
Steps: make menuconfig (do some config) make make modules_install rebootConfirmed. Something about this procedure with 2.6.8-rc4 is hosing /dev/null, and I have to delete it and mknod again. Is this a known bug, or have I discovered something that everybody's known about forever, and I should slink away. Or maybe I don't understand how to build/install 2.6 correctly?for starters: useradd -m jeglin su - jeglin tar xfj linux-2.6.8.1.tar.bz2 cd linux-2.6.8.1 make menuconfig make all cd ~jeglin/linux-2.6.8.1 make modules_install
sudo make modules_install
reboot the binutils check (?) will remove /dev/null
Yep - Tom Rini already notified me about this issue. Problem is the way as handle output files. Now I wonder why I do not see the problem here when executing the culprint part of arch/ppc/Makefile manually: sam@mars kbuild $ sudo ls -l /dev/null crw-rw-rw- 1 root root 1, 3 Jun 15 23:54 /dev/null sam@mars kbuild $ sudo echo dssall | as -many -o /dev/null >/dev/null 2>&1 sam@mars kbuild $ sudo ls -l /dev/null crw-rw-rw- 1 root root 1, 3 Jun 15 23:54 /dev/null Tom asked if we could use mktemp in the build process, but I really do not know enough about potential security issues to start doing this. With mktemp we could avoid using /dev/null in the as check. Another possibility was to parse the output of: as --version | head -n 1 | cut -d ' ' -f 3 And then some sed/awk magic to fetch the three first numbers and always make then two digits wide: 2.14.90.0.8 => 021490 Sam ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/