Re: unaligned accesses in SLAB etc.

From: David Miller
Date: Thu Oct 16 2014 - 16:18:41 EST


From: Meelis Roos <mroos@xxxxxxxx>
Date: Thu, 16 Oct 2014 23:11:49 +0300 (EEST)

>> > Hopefully, this should be a simply matter of doing a complete build
>> > with gcc-4.9, then removing the object file we want to selectively
>> > build with the older compiler and then going:
>> >
>> > make CC="gcc-4.6" arch/sparc/mm/init_64.o
>> >
>> > then relinking with plain 'make'.
>> >
>> > If the build system rebuilds the object file on you when you try
>> > to relink the final kernel image, we'll have to do some of this
>> > by hand to make the test.
>>
>> Unfortunately it starts a full rebuild with plain make after compiling
>> some files with gcc-4.6 - detects CC change?
>
> Figured out from make V=1 how to call gcc-4.6 directly, so far my
> bisection shows that it one or probably more of arch/sparc/kernel/*.c
> but probably more than 1 - 2 halfs of it both failed. Still bisecting.

Thanks a lot for working this out.

I'm going to also try to setup a test environment so I can try this
gcc-4.9 stuff on my T4-2 as well.
--
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/