SPECS: rt2400.spec - -fno-schedule-insns on sparc as workaround fo...

radek radek at pld-linux.org
Tue Mar 14 20:06:11 CET 2006


Author: radek                        Date: Tue Mar 14 19:06:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -fno-schedule-insns on sparc as workaround for (gcc?) bug

---- Files affected:
SPECS:
   rt2400.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/rt2400.spec
diff -u SPECS/rt2400.spec:1.34 SPECS/rt2400.spec:1.35
--- SPECS/rt2400.spec:1.34	Tue Mar 14 17:26:30 2006
+++ SPECS/rt2400.spec	Tue Mar 14 20:06:06 2006
@@ -97,8 +97,13 @@
 #%{__make} LDFLAGS="%{rpmldflags}" CXXFLAGS="%{rpmcflags}"
 mv Makefile Makefile.orig
 sed -e 's/lqt/lqt-mt/g' Makefile.orig > Makefile
+%ifarch sparc
+	# workaround for (probably GCC) bug on sparc:
+	# `unable to find a register to spill in class `FP_REGS''
+	BUGFLAGS="-fno-schedule-insns"
+%endif
 %{__make} \
-        CXXFLAGS="%{rpmcflags} %(pkg-config qt-mt --cflags)" \
+        CXXFLAGS="%{rpmcflags} %(pkg-config qt-mt --cflags) $BUGFLAGS" \
         LDFLAGS="%{rpmldflags}" \
         QTDIR="%{_prefix}"
 cd ..
@@ -205,6 +210,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2006/03/14 19:06:06  radek
+- -fno-schedule-insns on sparc as workaround for (gcc?) bug
+
 Revision 1.34  2006/03/14 16:26:30  radek
 - release 3
     She smells like template-kernel-module.spec ought to smell.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rt2400.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list