Re: [BUILD_FAILURE] next-20090115 - s390x - mm/kmemleak.c

From: Heiko Carstens
Date: Thu Jan 15 2009 - 06:22:26 EST


On Thu, Jan 15, 2009 at 04:05:04PM +0530, Kamalesh Babulal wrote:
> Hi Stephen,
>
> next-20090115 allyesconfig build fails on s390x
>
> mm/built-in.o: In function `kmemleak_scan':
> mm/kmemleak.c:977: undefined reference to `_sdata'
> make: *** [.tmp_vmlinux1] Error 1

A lot of architectures don't have _sdata definined in their linker scripts.
On s390 _sdata would be the same as _etext. But that is not necessarily true
for all architectures.
--
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/