Re: 2.6.21-rc7-mm2 -- x86_64 VDSO compile error II

Andi Kleen
2007-04-26T15:25:12Z

> --- build/arch/x86_64/vdso/vdso.lds-orig 2007-04-26 08:18:19.000000000 -0700
> +++ build/arch/x86_64/vdso/vdso.lds 2007-04-26 08:18:23.000000000 -0700
> @@ -33,7 +33,7 @@
> For the layouts to match, we need to skip more than enough
> space for the dynamic symbol table et al. If this amount
> is insufficient, ld -shared will barf. Just increase it here. */
> - . = 0xffffffffff700000 + 0x500;
> + . = 0xffffffffff700000 + 0x400;

Hmm, you must have an old version of the patch. in my copy it looks like

. = VDSO_PRELINK + VDSO_TEXT_OFFSET;

and

#define VDSO_TEXT_OFFSET 0x400

Can you try the latest patch from ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/vdso
?

(doesn't include the -m64 change yet so you will still need to apply that)

-Andi