Skip to contentSkip to conversation

package/gcc: drop leftovers from PowerPC conditional patching

PATCH New Thomas Petazzoni 3 participants 4 messages Sep 24, 2020 – Oct 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gcc: drop leftovers from PowerPC conditional patching

We used to have a conditional patch applied on PowerPC soft-float, but this logic was dropped in commit 0c82f3f63563c4d4d7e034d0e9e4ceb766d92322 ("package/gcc: remove powerpc conditional patching logic"). However, we still have some related leftovers in the calculation of the hashes for ccache, which can now be dropped.

Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
---
 package/gcc/gcc.mk | 5 -----
 1 file changed, 5 deletions(-)
package/gcc/gcc.mk +0 -5
index d9c4b4ef83..cc1dbbcf3a 100644
@@ -279,11 +279,6 @@ HOST_GCC_COMMON_CCACHE_HASH_FILES += \
 ifeq ($(BR2_xtensa),y)
 HOST_GCC_COMMON_CCACHE_HASH_FILES += $(ARCH_XTENSA_OVERLAY_TAR)
 endif
-ifeq ($(ARCH),powerpc)
-ifneq ($(BR2_SOFT_FLOAT),)
-HOST_GCC_COMMON_CCACHE_HASH_FILES += package/gcc/$(GCC_VERSION)/1000-powerpc-link-with-math-lib.patch.conditional
-endif
-endif
 
 # _CONF_OPTS contains some references to the absolute path of $(HOST_DIR)
 # and a reference to the Buildroot git revision (BR2_VERSION_FULL),
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/gcc: drop leftovers from PowerPC conditional patching

Hi Thomas,

Le 24/09/2020 ? 12:22, Thomas Petazzoni a ?crit?:

Quoted 10 lines

We used to have a conditional patch applied on PowerPC soft-float, but this logic was dropped in commit 0c82f3f63563c4d4d7e034d0e9e4ceb766d92322 ("package/gcc: remove powerpc conditional patching logic"). However, we still have some related leftovers in the calculation of the hashes for ccache, which can now be dropped.

Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>

Best regards,
Romain

Quoted 21 lines
---
 package/gcc/gcc.mk | 5 -----
 1 file changed, 5 deletions(-)
package/gcc/gcc.mk +0 -5
index d9c4b4ef83..cc1dbbcf3a 100644
@@ -279,11 +279,6 @@ HOST_GCC_COMMON_CCACHE_HASH_FILES += \
 ifeq ($(BR2_xtensa),y)
 HOST_GCC_COMMON_CCACHE_HASH_FILES += $(ARCH_XTENSA_OVERLAY_TAR)
 endif
-ifeq ($(ARCH),powerpc)
-ifneq ($(BR2_SOFT_FLOAT),)
-HOST_GCC_COMMON_CCACHE_HASH_FILES += package/gcc/$(GCC_VERSION)/1000-powerpc-link-with-math-lib.patch.conditional
-endif
-endif
 
 # _CONF_OPTS contains some references to the absolute path of $(HOST_DIR)
 # and a reference to the Buildroot git revision (BR2_VERSION_FULL),
author Applied
#2 lore raw

PATCH 1/1 package/gcc: drop leftovers from PowerPC conditional patching

In reply to Thomas Petazzoni
Quoted 7 lines · On Thu, 24 Sep 2020 12:22:18 +0200 Thomas Petazzoni…

We used to have a conditional patch applied on PowerPC soft-float, but this logic was dropped in commit 0c82f3f63563c4d4d7e034d0e9e4ceb766d92322 ("package/gcc: remove powerpc conditional patching logic"). However, we still have some related leftovers in the calculation of the hashes for ccache, which can now be dropped.

Quoted 6 lines
Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>
---
 package/gcc/gcc.mk | 5 -----
 1 file changed, 5 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw

PATCH 1/1 package/gcc: drop leftovers from PowerPC conditional patching

In reply to Thomas Petazzoni
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

We used to have a conditional patch applied on PowerPC soft-float, but this logic was dropped in commit 0c82f3f63563c4d4d7e034d0e9e4ceb766d92322 ("package/gcc: remove powerpc conditional patching logic"). However, we still have some related leftovers in the calculation of the hashes for ccache, which can now be dropped.

Quoted 3 lines
Cc Romain Naour <[email protected]>
Cc Arnout Vandecappelle <[email protected]>

Committed to 2020.05.x and 2020.08.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard