![]() | |||||||||||||
Messages in this thread |
On Mon, Jul 23, 2007 at 01:31:00AM +0200, Andi Kleen wrote: > On Monday 23 July 2007 01:23:38 Andre Noll wrote: > > On 00:22, Andi Kleen wrote: > > > > /usr/bin/ld: section .text [ffffffffff700500 -> ffffffffff7007e3] overlaps section .gnu.version_d [ffffffffff7004d8 -> ffffffffff70050f] > > > > > > Does this patch fix it? > > > > Nope, with 0x600 I still get the same error. But it helped to further > > increase VDSO_TEXT_OFFSET to 0xc00. I tried 0x700, 0x800,... and 0xc00 > > is the smallest value in this series that makes the error go away, i.e. > > the patch below works for me. > > Can you send (privately) readelf -a output from your vdso.so ? > Your linker must be doing something weird. > > 0xc00 is quite wasteful. I think Roland's --build-id doesn't create very big section, the likely culprit would be a hacked up ld that e.g. defaults to --hash-style=both. Can you retry with --hash-style=sysv? vdso really has to include the traditional .hash section, otherwise it wouldn't be compatible with old glibcs, and an additional .gnu.hash might be an overkill for it - doesn't the vdso define only very few symbols? Jakub - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2007-07-23 06:11 [from the cache] ©2003-2008 | |||||||||||||