Re: Error "Unknown relocation: 36" on module load on Sparc

From: David Miller
Date: Tue Jun 22 2010 - 17:16:17 EST


From: Vladislav Bolkhovitin <vst@xxxxxxxx>
Date: Tue, 22 Jun 2010 23:07:51 +0400

> But we surprised that such platform specific compiler flags have to be
> manually maintained by out of the kernel tree modules developers.

You don't, Kbuild should do it transprently for you.

It's possible you're simply not using kbuild correctly
for external module builds, or something in your Makefile
is overriding the arch specific CFLAGS.
--
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/