Re: 4.14.9 with CONFIG_MCORE2 fails to boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



В Пт, 29/12/2017 в 11:31 -0800, Linus Torvalds пишет:
> On Fri, Dec 29, 2017 at 9:32 AM, Dave Hansen <dave.hansen@xxxxxxxxx> 
> 
--------------->%---------------
> > 
> > MCORE2 seems to get one oddball compiler flag (-march=core2):
> > 
> > >         cflags-$(CONFIG_MCORE2) += \
> > >                 $(call cc-option,-march=core2,$(call cc-option,-
> > > mtune=generic))
> > 
> > It would be interesting to see if replacing the above "$(call"
> > with:
> > 
> >         $(call cc-option,-mtune=generic)
> > 
> > makes the problem go away the same way as changing the .config
> > option.
> 
> Definitely.
> 
--------------->%---------------
> But double-checking that "-march=core2" case is definitely worth
> looking into. Especially since there are clear indications that it's
> gcc version-dependent anyway. Alexander?
> 

Yes, the change suggested by Dave makes the problem go away.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]