Re: can't find a register in class 'R1_REGS' while reloading 'asm'

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

 



> On Mon, Dec 07, 2009 at 10:01:14PM -0500, John David Anglin wrote:
> > On Mon, 07 Dec 2009, John David Anglin wrote:
> > 
> > > > is anybody able to reproduce it? configuration is attached.
> > 
> > With your config, I get the same error.
> > 
> > I have attached a potential work around.  The basic idea is to force
> > 'a' to a specific register to avoid the spill problem in reload.
> > It may be a bit risky to use 'r20' but there don't appear to be
> > any real calls in __raw_spin_is_locked.
> > 
> 
> Do you want this patch applied to 2.6.32-rc1, John?

Yes, I think it's a reasonable work around.  I did check that it
resolves the kernel build error.

There is a GCC PR on this issue, but fixing the problem isn't easy.  See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35193

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux