Messages in this thread | | | Date | Thu, 27 Jul 2006 13:22:15 +0200 | From | Andreas Mohr <> | Subject | Re: [WARNING -mm] 2.6.18-rc2-mm1 build kills /dev/null!? |
| |
On Thu, Jul 27, 2006 at 12:17:09PM +0200, Andreas Mohr wrote: > Hi, > > On Thu, Jul 27, 2006 at 12:11:28PM +0200, Andreas Mohr wrote: > > Hello all, > > > > for some reason a 2.6.18-rc2-mm1 build seems to kill my /dev/null device! > > Replying to myself, this could easily be due to:
Yup, seems it is, see newly posted:
"Re: [PATCH] vDSO hash-style fix" http://lkml.org/lkml/2006/7/27/83
| > +# ld-option | > +# Usage: ldflags += $(call ld-option, -Wl$(comma)--hash-style=both) | > +ld-option = $(shell if $(CC) $(1) \ | > + -nostdlib -o /dev/null -xc /dev/null \ | > + > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi) | | This is not good. When I introduced something similar for lxdialog I | received lots of reports about /dev/null becoming a regular file. | ld does something strange with the output file when it fails. | | When re-done ld-option shall be accompanied by documentation in | Documentation/makefiles.txt like cc-option.
Could we have a -mm hot-fix here?
Andreas Mohr - 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/
| |