--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [gcc-4.6] Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too.
- From: Hiroyuki Yamamoto <yama1066@gmail.com>
- Date: Thu, 22 Sep 2011 21:56:24 +0900
- Message-id: <4E7B3078.2080101@gmail.com>
Package: gcc-4.6
Version: 4.6.1-11
Severity: wishlist
Tags: patch
Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too, not only Ubuntu.
When an attached patch is applied, it is confirmed that the package can be built.
--
Hiroyuki Yamamoto
A75D B285 7050 4BF9 AEDA 91AC 3A10 59C6 5203 04DC
diff -Nurd gcc-4.6-4.6.1.orig/debian/rules.patch gcc-4.6-4.6.1/debian/rules.patch
--- gcc-4.6-4.6.1.orig/debian/rules.patch 2011-09-22 21:47:13.000000000 +0900
+++ gcc-4.6-4.6.1/debian/rules.patch 2011-09-22 21:48:30.000000000 +0900
@@ -98,11 +98,7 @@
endif
endif
ifeq ($(with_ssp)-$(with_ssp_default),yes-yes)
- ifeq ($(distribution),Ubuntu)
- hardening_patches += gcc-default-ssp$(if $(filter ppc64,$(DEB_TARGET_ARCH)),-ppc64)
- else
- hardening_patches += gcc-default-ssp
- endif
+ hardening_patches += gcc-default-ssp$(if $(filter ppc64,$(DEB_TARGET_ARCH)),-ppc64)
endif
# FIXME 4.5: Drop and adjust symbols files
@@ -191,9 +187,7 @@
endif
ifeq ($(DEB_TARGET_ARCH),ppc64)
- ifeq ($(distribution),Ubuntu)
- debian_patches += ibm-branch
- endif
+ debian_patches += ibm-branch
endif
ifeq ($(DEB_CROSS),yes)
@@ -271,10 +265,8 @@
debian_patches += gcc-as-needed
endif
debian_patches += mips-fix-loongson2f-nop
-ifeq ($(distribution),Ubuntu)
- ifeq ($(DEB_TARGET_ARCH),ppc64)
- debian_patches += gcc-ppc64-O3
- endif
+ifeq ($(DEB_TARGET_ARCH),ppc64)
+ debian_patches += gcc-ppc64-O3
endif
debian_patches += gcc-system-root
debian_patches += libgomp-kfreebsd-testsuite
--- End Message ---
--- Begin Message ---
- To: Hiroyuki Yamamoto <yama1066@gmail.com>, 642413-done@bugs.debian.org
- Subject: Re: Bug#642413: [gcc-4.6] Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too.
- From: Matthias Klose <doko@debian.org>
- Date: Sun, 23 Oct 2011 15:54:58 +0200
- Message-id: <4EA41CB2.3050007@debian.org>
- In-reply-to: <4E7B43EF.9000009@gmail.com>
- References: <4E7B3078.2080101@gmail.com> <4E7B3D1F.3080804@debian.org> <4E7B43EF.9000009@gmail.com>
On 09/22/2011 04:19 PM, Hiroyuki Yamamoto wrote:
> (2011-09-22 23:19 +0200), Matthias Klose wrote:
>> On 09/22/2011 02:56 PM, Hiroyuki Yamamoto wrote:
>>> Package: gcc-4.6
>>> Version: 4.6.1-11
>>> Severity: wishlist
>>> Tags: patch
>>>
>>> Please adopt the patches of ibm-branch.diff etc. on Debian ppc64, too, not only Ubuntu.
>>> When an attached patch is applied, it is confirmed that the package can be built.
>>
>> No. Could you explain, why you want these patches? Some of these are hacks, some
>> of these not suitable, and you seem to enable these not just for ppc64.
>>
>
> Hmmm,
> Although it might be a thing with an understanding of me to those codes insufficient,
> they were visible to me at the code which utilizes vmx.
> I'm now trying to restart ppc64 port project with supporting vmx instructions.
Hiroyuki asked me to close this report. The hardening flags are now enabled
using dpkg-buildflags; if packages should be built with -O3 by default, this
should be set in dpkg-buildflags as well.
--- End Message ---