Re: arch/mips/sgi-ip22/Platform:29: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop.

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

 



Hi,

On Wed, Apr 09, 2014 at 01:19:29PM +0800, Fengguang Wu wrote:
> b9dbdce1 Ralf Baechle 2010-08-05  27  ifdef CONFIG_SGI_IP28
> b9dbdce1 Ralf Baechle 2010-08-05  28    ifeq ($(call cc-option-yn,-mr10k-cache-barrier=store), n)
> b9dbdce1 Ralf Baechle 2010-08-05 @29        $(error gcc doesn't support needed option -mr10k-cache-barrier=store)
> b9dbdce1 Ralf Baechle 2010-08-05  30    endif
> b9dbdce1 Ralf Baechle 2010-08-05  31  endif
> b9dbdce1 Ralf Baechle 2010-08-05  32  platform-$(CONFIG_SGI_IP28)		+= sgi-ip22/
> b9dbdce1 Ralf Baechle 2010-08-05  33  cflags-$(CONFIG_SGI_IP28)	+= -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
> b9dbdce1 Ralf Baechle 2010-08-05  34  load-$(CONFIG_SGI_IP28)		+= 0xa800000020004000

Its IP28 only fixes in gcc see here:

http://gcc.gnu.org/ml/gcc-patches/2008-09/msg00041.html

Most likely they never made it into gcc upstream but they are
necessary working around the r10k speculative stores on non
cache coherent machines like the IP28.

Flo
-- 
Florian Lohoff                                                 f@xxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux