Re: Compiling Linux with "bdver2" gcc optimization option
On 19/08/19 at 21:18, Étienne Mollier wrote:
> Franco Martelli, on 2019-08-19:
>> I was thinking to submit a bug report against gcc-8 package. Now that I
>> have a work around, "bdver1" compiles without warnings, I can say
>> enough, what do you think about?
>
> I don't know, to me it sounds more like little bugs on kernel
> side,
[ ... ]
> Gcc-8 on its side is just trying its best to help one to develop
> better code. Its heuristics may not apply very well on kernel
> object code however. If you can reproduce this issue and
> identify it as a false positive with a sample code, that is
> another story of course.
you're right, I compiled tar and hello program with -march=bdver2 option
without problem so gcc-8 is sure. I saw that all warnings that they
appear during kernel compilation process concern "objtool"
mm/memory.o: warning: objtool: remap_pfn_range()+0xd5: unsupported
intra-function call
that it's part of linux-kbuild-4.19 package maybe I should submit a bug
report to this package or is another one a better choice?
Best regards
--
Franco Martelli
Reply to: