Manoj Srivastava wrote, on 2009-06-03 13:58:
On Tue, Jun 02 2009, Arthur Marsh wrote:

am64:/usr/src/linux-source-2.6.30-rc7# KBUILD_VERBOSE=1
MAKEFLAGS="CC=gcc-bogus" make-kpkg configure
mkdir -p .tmp_versions
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=.
mkdir -p kernel/
  gcc-bogus -Wp,-MD,kernel/.bounds.s.d  -nostdinc -isystem  -Iinclude
-I/usr/src/linux-source-2.6.30-rc7/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Os -m64 -mno-red-zone
-mcmodel=kernel -maccumulate-outgoing-args -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -fomit-frame-pointer
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bounds)"
-D"KBUILD_MODNAME=KBUILD_STR(bounds)" -fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
/bin/sh: gcc-bogus: command not found
make[3]: *** [kernel/bounds.s] Error 127
make[2]: *** [prepare0] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.30-rc7'
make[1]: *** [debian/stamp/conf/kernel-conf] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.30-rc7'
make: *** [debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory: No such file or directory at
/usr/bin/make-kpkg line 970.

[end quote]


        So. Seems like it worked, no? You were successfully able to tell
 the build system that the compiler was gcc-bogus.

        I do not see the bug.

        manoj

Hi, I ran the following:

MAKEFLAGS="CC=gcc-4.4";export MAKEFLAGS; CONCURRENCY_LEVEL=32;export CONCURRENCY_LEVEL;time make-kpkg --initrd configure linux-image modules-image

and did produce a gcc-4.4 compiled binary.

It appears that what I had overlooked was the "make-kpkg configure" step with MAKEFLAGS set to CC=gcc-4.4 - this was not explicitly stated in the make-kpg manual page. I had usually run "make menuconfig" then make-kpkg without the configure target.

Thanks for your help in identifying what was going on.

Regards,

Arthur.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to