Re: [PATCH] x86, hweight: Fix UML boot crash

From: Toralf Förster
Date: Mon Jun 14 2010 - 09:45:12 EST



Borislav Petkov wrote at 15:00:39

> Linus' tree doesn't contain the fix yet - rather it is in -tip:
> http://git.kernel.org/tip/055c47272b8f5679d08ccc57efea3cb4aaeb5fc6
>
> You can easily cherry-pick it from there and retest.
Issue solved works with that patch.

FWIW : This command sequence produced a linux executable which crashed too:

$> ~/devel/linux-2.6 $ patch -p1 < ../linux-2.6-
tip.git-055c47272b8f5679d08ccc57efea3cb4aaeb5fc6.patch patching file
arch/um/include/asm/arch_hweight.h

$> ~/devel/linux-2.6 $ make ARCH=um CC="ccache gcc"
make[1]: `arch/um/sys-i386/user-offsets.s' is up to date.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
LINK linux
$> start_uml.sh
...

But after I compiled it w/o ccache

$> ~/devel/linux-2.6 $ make ARCH=um

linux executable works (!?!)

Anyway thx for the fix
:-)

--
MfG/Kind regards
Toralf Förster

pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

--
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/