Re: REGRESSION: x86 vDSO: remove vdso-syms.o

From: Roland McGrath
Date: Mon Feb 11 2008 - 19:37:13 EST


I did not see it with your .config either.

> This fails with clean build. And vdso-syms.lds is not empty.
>
> Contents of ?arch/x86/vdso/vdso-syms.lds:
> VDSO64_PRELINK = 0xffffffffff700000;
> VDSO64_jiffies = 0xffffffffff7004b8;

Odd. The missing symbols come from the same place that VDSO64_jiffies did.
The end of the arch/x86/vdso/vdso.lds file in your build should have these:

VDSO64_jiffies = vdso_jiffies;
VDSO64_vgetcpu_mode = vdso_vgetcpu_mode;
VDSO64_vsyscall_gtod_data = vdso_vsyscall_gtod_data;

readelf -s arch/x86/vdso/vvar.o in your build should show (among others):

8: 0000000000000000 8 OBJECT GLOBAL DEFAULT 4 vdso_jiffies
9: 0000000000000008 8 OBJECT GLOBAL DEFAULT 4 vdso_vgetcpu_mode
10: 0000000000000010 8 OBJECT GLOBAL DEFAULT 4 vdso_vsyscall_gtod_data

If either of those is not all there, you'll have to look into what's
happening in the generation of the respective files.


Thanks,
Roland
--
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/