lkml.org 
[lkml]   [2014]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: unaligned accesses in SLAB etc.
From
From: Meelis Roos <mroos@linux.ee>
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.


\
 
 \ /
  Last update: 2014-10-16 22:41    [W:0.331 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site