-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correction and deactivate mirror_and_check job for testing
- Loading branch information
1 parent
00aa7be
commit 01dc7cf
Showing
3 changed files
with
79 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
patches/linux-6.7.y/ia64-linux-workaround-ice-with-gcc-13.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
From: Frank Scheiner <[email protected]> | ||
Date: Mon, 18 Sep 2023 16:33:50 +0200 | ||
Subject: [ia64] `-fno-var-tracking` works around an ICE in gcc-13 for target | ||
ia64 | ||
|
||
Apply it for the two files that trigger the ICE according to e.g. [1] to | ||
enable successful Linux kernel builds for ia64 when using gcc-13 until | ||
the corresponding GCC bug ([2]) is fixed. | ||
|
||
[1]: https://buildd.debian.org/status/fetch.php?pkg=linux&arch=ia64&ver=6.4.4-2&stamp=1690708282&raw=0 | ||
|
||
[2]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111425 | ||
--- | ||
drivers/net/ethernet/broadcom/bnx2x/Makefile | 3 +++ | ||
net/ipv4/Makefile | 3 +++ | ||
2 files changed, 6 insertions(+) | ||
|
||
diff --git a/drivers/net/ethernet/broadcom/bnx2x/Makefile b/drivers/net/ethernet/broadcom/bnx2x/Makefile | ||
index 2523cfc7527d..13db3ee9fcb5 100644 | ||
--- a/drivers/net/ethernet/broadcom/bnx2x/Makefile | ||
+++ b/drivers/net/ethernet/broadcom/bnx2x/Makefile | ||
@@ -5,5 +5,8 @@ | ||
|
||
obj-$(CONFIG_BNX2X) += bnx2x.o | ||
|
||
+ifeq ($(ARCH),ia64) | ||
+ CFLAGS_bnx2x_sp.o += -fno-var-tracking | ||
+endif | ||
bnx2x-y := bnx2x_main.o bnx2x_link.o bnx2x_cmn.o bnx2x_ethtool.o bnx2x_stats.o bnx2x_dcb.o bnx2x_sp.o bnx2x_self_test.o | ||
bnx2x-$(CONFIG_BNX2X_SRIOV) += bnx2x_vfpf.o bnx2x_sriov.o | ||
diff --git a/net/ipv4/Makefile b/net/ipv4/Makefile | ||
index b18ba8ef93ad..82326539bf25 100644 | ||
--- a/net/ipv4/Makefile | ||
+++ b/net/ipv4/Makefile | ||
@@ -3,6 +3,9 @@ | ||
# Makefile for the Linux TCP/IP (INET) layer. | ||
# | ||
|
||
+ifeq ($(ARCH),ia64) | ||
+ CFLAGS_fib_semantics.o += -fno-var-tracking | ||
+endif | ||
obj-y := route.o inetpeer.o protocol.o \ | ||
ip_input.o ip_fragment.o ip_forward.o ip_options.o \ | ||
ip_output.o ip_sockglue.o inet_hashtables.o \ | ||
-- | ||
2.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters