- Add "--param=min-pagesize=0" to CFLAGS as a workaround for GCC12 bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 - Add a patch to add "--param=min-pagesize=0" for mv-ddr-marvell-armada since it does not use CFLAGS: * fix-mv-ddr-marvell-armada.patch - Fix bug on A3700 flavor found by GCC12: * fix-a3700_tool.patch OBS-URL: https://build.opensuse.org/request/show/978124 OBS-URL: https://build.opensuse.org/package/show/hardware:boot/arm-trusted-firmware?expand=0&rev=54
12 lines
427 B
Diff
12 lines
427 B
Diff
--- mv-ddr-marvell-armada-atf-master/a3700/a3700_tool.c.orig 2022-05-19 14:28:35.521692453 +0200
|
|
+++ mv-ddr-marvell-armada-atf-master/a3700/a3700_tool.c 2022-05-19 14:29:21.318251836 +0200
|
|
@@ -327,7 +327,7 @@ static int ddr_cfg_read(FILE *fp, struct
|
|
if (strcmp(key, cfg_list[i].key) == 0)
|
|
strcpy(cfg_list[i].value, value);
|
|
}
|
|
- memset(key, 0, MAX_CFG_LINE_LEN);
|
|
+ memset(key, 0, MAX_CFG_NAME_LEN);
|
|
}
|
|
}
|
|
|