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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (26/04/07 17:24), Andi Kleen didst pronounce:
> 
> > --- 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;
> 

That's vdso.lds.S, not vdso.lds. The VDSO_TEXT_OFFSET is still 0x400.
This is what I should have posted the last time

--- build/arch/x86_64/vdso/voffset.h.orig	2007-04-26 08:43:31.523739878 -0700
+++ build/arch/x86_64/vdso/voffset.h	2007-04-26 08:43:38.839579356 -0700
@@ -1 +1 @@
-#define VDSO_TEXT_OFFSET 0x500
+#define VDSO_TEXT_OFFSET 0x400

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux