Re: [kbuild-all] [kbuild:kbuild 2/4] arch/openrisc/include/asm/spr.h:20:27: error: impossible constraint in 'asm'

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

 



On Mon, Nov 12, 2018 at 10:36:06PM +0800, Changbin Du wrote:
> On Mon, Nov 12, 2018 at 06:51:57AM +0900, Stafford Horne wrote:
> > Again, in plain text mode:
> > 
> > Did something change with the compiler setup?  The error here says gcc
> > 6.0.0.  however the version in the make.cross tool is 5.4.0, which is
> > strange.  Fyi, We have binaries for 7.2.0 and 9.x which can be used.
> > 
> > Also our toolchain is all upstream as of last week.
> > 
> > On Mon, Nov 12, 2018 at 6:03 AM Stafford Horne <shorne@xxxxxxxxx> wrote:
> > >
> > > Hello,
> > >
> > > Did something change with the compiler setup?  The error here says gcc 6.0.0.  however the version in the make.cross tool is 5.4.0, which is strange.  Fyi, We have binaries for 7.2.0 and 9.x which can be used.
> > >
> > > Also our toolchain is all upstream as of last week.
> > >
> > > -stafford
> > >
> I added a patch which disables gcc auto-inlining by '-fno-inline-functions 
> -fno-inline-small-functions -fno-inline-functions-called-once' (but default
> option is false).
> 
> See series https://lkml.org/lkml/2018/5/9/213.
> 
> I am trying to make gcc happy for this corner case. Thanks!

Thanks, this looks like a really useful debug feature.  Also, thanks for sending
the other patch to fix the build issue in openrisc.

-Stafford



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux