Gilles Espinasse
2007-Feb-12 00:41 UTC
[syslinux] syslinux-3.36 and 3.35 compilation broke /dev/null
I have tested with 3.31 (does not broke /dev/null) and 3.35/3.36 that broke /dev/null I verify that /dev/null exist, then compile one of the target available on top Makefile and /dev/null no more exist. Example root:/usr/src/syslinux-3.36# cat /dev/null root:/usr/src/syslinux-3.36# make .depend Makefile:274: .depend: No such file or directory rm -f .depend for csrc in syslxmod.c gethostip.c ; do gcc -MM $csrc >> .depend ; done for nsrc in copybs.asm extlinux.asm isolinux-debug.asm isolinux.asm ldlinux.asm pxelinux.asm ; do nasm -O99 -DDEPEND -o `echo $nsrc | sed -e 's/\.asm/\.bin/'` -M $nsrc >> .depend ; done make: `.depend' is up to date. root:/usr/src/syslinux-3.36# cat /dev/null cat: /dev/null: No such file or directory root:/usr/src/syslinux-3.36# mknod -m 666 /dev/null c 1 3 root:/usr/src/syslinux-3.36# cat /dev/null root:/usr/src/syslinux-3.36# Full compilation of syslinux leave a /dev/null file with this content mattrib: File "s:/ldlinux.sys" not found Gilles
Mike Frysinger
2007-Feb-12 01:15 UTC
[syslinux] syslinux-3.36 and 3.35 compilation broke /dev/null
On Sunday 11 February 2007, Gilles Espinasse wrote:> I have tested with 3.31 (does not broke /dev/null) and 3.35/3.36 that broke > /dev/null > > I verify that /dev/null exist, then compile one of the target available on > top Makefile and /dev/null no more exist.you didnt describe your system at all ... what version of binutils/gcc ? older versions of both would delete the output even if it were /dev/null and since you're (for some reason) compiling as root, this is possible -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20070211/1af0c368/attachment.sig>
H. Peter Anvin
2007-Feb-12 03:20 UTC
[syslinux] syslinux-3.36 and 3.35 compilation broke /dev/null
Gilles Espinasse wrote:> I have tested with 3.31 (does not broke /dev/null) and 3.35/3.36 that broke > /dev/null > > I verify that /dev/null exist, then compile one of the target available on > top Makefile and /dev/null no more exist.Okay, that's a bug, but you really shouldn't build things as root unless absolutely necessary. -hpa