build requirements for 2.6.0 (make)

From: j . beyer
Date: Mon Jan 05 2004 - 16:14:25 EST


Dear Listreader,

the Documentation/Changes file suggest that make-3.78 is new enough to
build the 2.6.0 kernel:
# grep "make --version" Documentation/Changes
o Gnu make 3.78 # make --version

I saw reproducable sig segv's with that make at my setup. I ran
the "make all" command in gdb which gave the following output

...
make[2]: Nothing to be done for `__build'.
/usr/local/bin/make -f scripts/Makefile.build obj=net/sunrpc
make[2]: Nothing to be done for `__build'.
/usr/local/bin/make -f scripts/Makefile.build obj=net/unix
make[2]: Nothing to be done for `__build'.
/usr/local/bin/make -f scripts/Makefile.build obj=net/xfrm
make[2]: Nothing to be done for `__build'.
/usr/local/bin/make -f scripts/Makefile.build obj=lib
make[1]: Nothing to be done for `__build'.
/usr/local/bin/make -f scripts/Makefile.build obj=arch/i386/lib
make[1]: Nothing to be done for `__build'.

Program received signal SIGSEGV, Segmentation fault.
expand_argument (
str=0x8071ebc " echo ' GEN .version'; . $(srctree)/scripts/mkversion > .tmp_version; mv -f .tmp_version .version; $(MAKE) $(build)=init; ) $(if $($(quiet)cmd_vmlinux__), echo ' $($(quiet)cmd_vmlinux__)' &&) $("...,
end=0xffffffff <Address 0xffffffff out of bounds>) at expand.c:417
417 if (*end == '\0')

this happend with make-3.78.

I assume that it only happens with certain environments (e.g. path lengths,
or number and length of enviroment variables and so on). I did not
track that further, but updated to make-3.80 (which is the most
current release).

So I suggest to lift the requirement in the Documentation/Changes
file. It works here with make-3.80, maybe older version will
work also.

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