Bug#780468: fails to build cross compiler for m68k: error during patch application
Source: gcc-5
Version: 5-20150307-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
I noticed that building a cross compiler for m68k fails during patch
application. It seems very likely that this also affects native m68k
builds, but it appears stuck in BD-Uninstallable at the moment, so I
don't know.
The attached patch fixes patch application and lets a cross compiler
build succeed. It is a simple hunk context adaption.
m68k porters (Cced), could you check whether gcc-5 plus the attached
patch builds a working compiler?
Helmut
diff -u gcc-5-5-20150307/debian/changelog gcc-5-5-20150307/debian/changelog
--- gcc-5-5-20150307/debian/changelog
+++ gcc-5-5-20150307/debian/changelog
@@ -1,3 +1,10 @@
+gcc-5 (5-20150307-1.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Fix context of pr52306.diff. Closes: #-1.
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 14 Mar 2015 08:45:14 +0100
+
gcc-5 (5-20150307-1) experimental; urgency=medium
* Update to SVN 20150307.
diff -u gcc-5-5-20150307/debian/patches/pr52306.diff gcc-5-5-20150307/debian/patches/pr52306.diff
--- gcc-5-5-20150307/debian/patches/pr52306.diff
+++ gcc-5-5-20150307/debian/patches/pr52306.diff
@@ -10,8 +10,8 @@
Generate unwind tables that are exact at each instruction boundary
fauto-inc-dec
--Common Report Var(flag_auto_inc_dec) Init(1)
-+Common Report Var(flag_auto_inc_dec) Init(0)
+-Common Report Var(flag_auto_inc_dec) Init(1) Optimization
++Common Report Var(flag_auto_inc_dec) Init(0) Optimization
Generate auto-inc/dec instructions
; -fcheck-bounds causes gcc to generate array bounds checks.
Reply to: