Bug#952815: grub2: Please drop TARGET_CCASFLAGS from debian/rules for 2.06 release

2022-02-08 Thread Colin Watson
On Tue, Feb 08, 2022 at 08:39:54PM +0100, John Paul Adrian Glaubitz wrote:
> Just a reminder that this patch can be applied now and the extra 
> TARGET_CCASFLAGS
> for sparc64 can be dropped. I have verified that grub2 still builds and boots 
> fine
> on sparc64 with the TARGET_CCASFLAGS setting removed.

Ah right, sorry, I forgot about this.  Applying to git now.

-- 
Colin Watson (he/him)  [cjwat...@debian.org]



Bug#952815: grub2: Please drop TARGET_CCASFLAGS from debian/rules for 2.06 release

2022-02-08 Thread John Paul Adrian Glaubitz
Hi Colin!

On 3/1/20 19:48, Colin Watson wrote:
> On Sat, Feb 29, 2020 at 07:42:16PM +0100, John Paul Adrian Glaubitz wrote:
>> The upcoming 2.06 release contains a fix to set -no-PIE in TARGET_CCASFLAGS 
>> [1]
>> such that the current workaround in debian/rules will no longer be necessary.
>>
>> The following patch should be applied to debian/rules once 2.06-1 is uploaded
>> to the archive:
> 
> Ack; thanks for letting us know.

Just a reminder that this patch can be applied now and the extra 
TARGET_CCASFLAGS
for sparc64 can be dropped. I have verified that grub2 still builds and boots 
fine
on sparc64 with the TARGET_CCASFLAGS setting removed.

So, please apply this patch for the next upload:

--- debian/rules.orig   2019-12-16 16:48:45.0 +0100
+++ debian/rules2020-02-29 19:40:17.759252139 +0100
@@ -23,10 +23,6 @@
 export TARGET_CPPFLAGS := -Wno-unused-but-set-variable
 export TARGET_LDFLAGS := -no-pie
 
-ifneq (,$(filter sparc sparc64,$(DEB_HOST_ARCH_CPU)))
-export TARGET_CCASFLAGS := -fno-PIE
-endif
-
 # Ensure that debhelper doesn't try to set these; we need to be careful
 # about HOST_* vs. TARGET_*.
 export CPPFLAGS :=

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#952815: grub2: Please drop TARGET_CCASFLAGS from debian/rules for 2.06 release

2020-03-01 Thread Colin Watson
On Sat, Feb 29, 2020 at 07:42:16PM +0100, John Paul Adrian Glaubitz wrote:
> The upcoming 2.06 release contains a fix to set -no-PIE in TARGET_CCASFLAGS 
> [1]
> such that the current workaround in debian/rules will no longer be necessary.
> 
> The following patch should be applied to debian/rules once 2.06-1 is uploaded
> to the archive:

Ack; thanks for letting us know.

-- 
Colin Watson   [cjwat...@debian.org]



Bug#952815: grub2: Please drop TARGET_CCASFLAGS from debian/rules for 2.06 release

2020-02-29 Thread John Paul Adrian Glaubitz
Source: grub2
Version: 2.04-5
Severity: normal
User: debian-sp...@lists.debian.org
Usertags: sparc64

Hello!

The upcoming 2.06 release contains a fix to set -no-PIE in TARGET_CCASFLAGS [1]
such that the current workaround in debian/rules will no longer be necessary.

The following patch should be applied to debian/rules once 2.06-1 is uploaded
to the archive:

--- debian/rules.orig   2019-12-16 16:48:45.0 +0100
+++ debian/rules2020-02-29 19:40:17.759252139 +0100
@@ -23,10 +23,6 @@
 export TARGET_CPPFLAGS := -Wno-unused-but-set-variable
 export TARGET_LDFLAGS := -no-pie
 
-ifneq (,$(filter sparc sparc64,$(DEB_HOST_ARCH_CPU)))
-export TARGET_CCASFLAGS := -fno-PIE
-endif
-
 # Ensure that debhelper doesn't try to set these; we need to be careful
 # about HOST_* vs. TARGET_*.
 export CPPFLAGS :=

Before 2.06, the workaround in debian/rules needs to be kept.

Thanks,
Adrian

> [1] 
> http://git.savannah.gnu.org/cgit/grub.git/commit/?id=c71be831f159ab5b8913132143bdb783a8b4b2a3

---
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913