Reduce optimization level on ppc64 to work around gcc compilation error
This commit is contained in:
parent
403b7c9578
commit
f0768f5598
@ -1,12 +1,20 @@
|
|||||||
%global dirname gambc-v4_6_5-devel
|
%global dirname gambc-v4_6_5-devel
|
||||||
|
|
||||||
# ppc64 support is broken at the moment.
|
# Using -O2 on ppc64 triggers ICE with gcc
|
||||||
# use with --with ppc64 to test
|
# http://www.iro.umontreal.ca/~gambit/bugzilla/show_bug.cgi?id=155
|
||||||
%bcond_with ppc64
|
# https://bugzilla.redhat.com/show_bug.cgi?id=808285
|
||||||
|
# Use --with ppc64opt2 when rebuilding to see if this is fixed
|
||||||
|
%bcond_with ppc64opt2
|
||||||
|
|
||||||
|
%ifarch ppc64
|
||||||
|
%if ! %{with ppc64opt2}
|
||||||
|
%global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: gambit-c
|
Name: gambit-c
|
||||||
Version: 4.6.5
|
Version: 4.6.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Scheme programming system
|
Summary: Scheme programming system
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -16,11 +24,6 @@ Source0: http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/
|
|||||||
Source1: gambit-init.el
|
Source1: gambit-init.el
|
||||||
Patch0: gambc-v4_2_8-modtime.patch
|
Patch0: gambc-v4_2_8-modtime.patch
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=808285
|
|
||||||
%if ! %{with ppc64}
|
|
||||||
ExcludeArch: ppc64
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: emacs
|
BuildRequires: emacs
|
||||||
Requires: gcc
|
Requires: gcc
|
||||||
|
|
||||||
@ -173,6 +176,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 31 2012 Michel Salim <salimma@fedoraproject.org> - 4.6.5-2
|
||||||
|
- Reduce optimization level on ppc64 to work around gcc compilation error
|
||||||
|
|
||||||
* Thu Mar 29 2012 Michel Salim <salimma@fedoraproject.org> - 4.6.5-1
|
* Thu Mar 29 2012 Michel Salim <salimma@fedoraproject.org> - 4.6.5-1
|
||||||
- Update to 4.6.5
|
- Update to 4.6.5
|
||||||
- Drop termite subpackages, they have been disabled for many releases
|
- Drop termite subpackages, they have been disabled for many releases
|
||||||
|
Loading…
Reference in New Issue
Block a user