Wednesday, November 7, 2012

Building Kernel - Warning: Alignment of vdso_data_store is greater than maximum object file alignment

Do you have the following error?

CC      arch/powerpc/kernel/vdso.o
cc1: warnings being treated as errors
arch/powerpc/kernel/vdso.c:81: warning: alignment of âvdso_data_storeâ is greater than maximum object file alignment.  Using 32768
make[1]: *** [arch/powerpc/kernel/vdso.o] Error 1
make: *** [arch/powerpc/kernel] Error 2

Then you might be using an older version of GCC. Usually GCC 4.1 and 4.2 gives this error and GCC 4.3+ should work fine. You can install 'Advance Toolchain 2.1-2' or newer to resolve this issue.

Advance Toolchain Download

No comments:

Post a Comment