浏览代码

liquid-dsp: work-around compiler bug on SuperH

On SuperH, the BR2_PACKAGE_LIQUID_DSP_FAST option of the liquid-dsp
package causes triggers a compiler bug with the Sourcery CodeBench
toolchains:

  src/filter/src/firdes.c:406:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:859

This commit works around this problem by simply making this option
unavailable with the problematic toolchains.

Fixes:

  http://autobuild.buildroot.net/results/d43/d43574b8f487648bc440fbe0b63b2a08b309dfc7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 9 年之前
父节点
当前提交
226d23c3f9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      package/liquid-dsp/Config.in

+ 3 - 0
package/liquid-dsp/Config.in

@@ -18,6 +18,9 @@ if BR2_PACKAGE_LIQUID_DSP
 
 config BR2_PACKAGE_LIQUID_DSP_FAST
 	bool "optimize for speed over accuracy"
+	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201209 && \
+		!BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203 && \
+		!BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
 	help
 	  Optimize for speed over accuracy.