diff for duplicates of <6690634.sIS8JJ6W6I@wuerfel> diff --git a/a/1.txt b/N1/1.txt index f0d8bc7..0922735 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -34,82 +34,4 @@ On Wednesday, December 14, 2016 5:45:39 PM CET Mark Brown wrote: > without going and finding/downloading the CodeSourcery release. Where > did your toolchain come from, is there something specific recommended > for MIPS? -> - -From the web interface: - -| Errors Summary -| -| 2 arch/mips/include/asm/mach-generic/spaces.h:28:0: error: "CAC_BASE" redefined [-Werror] -| 1 {standard input}:191: Error: number (0x9000000080000000) larger than 32 bits -| 1 {standard input}:164: Error: number (0x9000000080000000) larger than 32 bits -| 1 {standard input}:154: Error: number (0x9000000080000000) larger than 32 bits -| 1 {standard input}:139: Error: number (0x9000000080000000) larger than 32 bits -| 1 {standard input}:131: Error: number (0x9000000080000000) larger than 32 bits - -This already got better than it was. I haven't analyzed them at all, -but I had not expected them to be toolchain related. The first one is -for ip27_defconfig, the other ones are for allnoconfig/tinyconfig. - -The allmodconfig build had a lot more warnings, and was disabled -in kernelci a long time ago. - -| Warnings Summary -| -| 2 arch/mips/configs/ip22_defconfig:71:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE -| 2 arch/mips/configs/ip22_defconfig:70:warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP - -Lots of these, from defconfigs that need a trivial update - -1 net/wireless/nl80211.c:4389:1: warning: the frame size of 2240 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 net/wireless/nl80211.c:1895:1: warning: the frame size of 3776 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 net/wireless/nl80211.c:1410:1: warning: the frame size of 2208 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 net/bridge/br_netlink.c:1282:1: warning: the frame size of 2544 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/ti/cpmac.c:1213:2: warning: #warning FIXME: unhardcode gpio&reset bits [-Wcpp] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c:748:1: warning: the frame size of 4704 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c:970:1: warning: the frame size of 2784 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c:1021:1: warning: the frame size of 2208 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c:621:1: warning: the frame size of 3616 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:2753:1: warning: the frame size of 10768 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:641:1: warning: the frame size of 5728 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:419:1: warning: the frame size of 2912 bytes is larger than 2048 bytes [-Wframe-larger-than=] -1 drivers/net/ethernet/broadcom/bcm63xx_enet.c:1130:3: warning: 'phydev' may be used uninitialized in this function [-Wmaybe-uninitialized] -1 drivers/mtd/maps/pmcmsp-flash.c:149:30: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - -| 1 crypto/wp512.c:987:1: warning: the frame size of 1568 bytes is larger than 1024 bytes [-Wframe-larger-than=] -| 1 crypto/wp512.c:987:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=] -| 1 crypto/wp512.c:987:1: warning: the frame size of 1264 bytes is larger than 1024 bytes [-Wframe-larger-than=] -| 1 crypto/serpent_generic.c:436:1: warning: the frame size of 1472 bytes is larger than 1024 bytes [-Wframe-larger-than=] -| 1 crypto/serpent_generic.c:436:1: warning: the frame size of 1456 bytes is larger than 1024 bytes [-Wframe-larger-than=] - -I've played around with these, it's possibly a gcc bug. This fixes one of them, -but breaks older toolchains that didn't have those options: - -@@ -779,7 +779,10 @@ static const u64 rc[WHIRLPOOL_ROUNDS] = { - * The core Whirlpool transform. - */ - --static void wp512_process_buffer(struct wp512_ctx *wctx) { -+static void -+__attribute__((optimize("-fno-sched-critical-path-heuristic"))) -+__attribute__((optimize("-fno-sched-dep-count-heuristic"))) -+wp512_process_buffer(struct wp512_ctx *wctx) { - int i, r; - u64 K[8]; /* the round key */ - u64 block[8]; /* mu(buffer) */ - -| 1 arch/mips/ralink/timer.c:74:13: warning: 'rt_timer_free' defined but not used [-Wunused-function] -| 1 arch/mips/ralink/timer.c:104:13: warning: 'rt_timer_disable' defined but not used [-Wunused-function] -| 1 arch/mips/ralink/rt305x.c:92:13: warning: 'rt305x_wdt_reset' defined but not used [-Wunused-function] -| 1 arch/mips/ralink/prom.c:70:2: warning: 'argv' is used uninitialized in this function [-Wuninitialized] -| 1 arch/mips/ralink/prom.c:70:2: warning: 'argc' is used uninitialized in this function [-Wuninitialized] - -These are obvious bugs, fix should be trivial - -| 1 arch/mips/netlogic/common/smpboot.S:63: Warning: dla used to load 32-bit register; recommend using la instead -| 1 arch/mips/netlogic/common/smpboot.S:62: Warning: dla used to load 32-bit register; recommend using la instead - -Probably toolchain related, but should not be hard to fix up for -older toolchains. - - ARnd +> diff --git a/a/content_digest b/N1/content_digest index 3eaeb1b..4aaa862 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -46,84 +46,6 @@ "> without going and finding/downloading the CodeSourcery release. Where\n" "> did your toolchain come from, is there something specific recommended\n" "> for MIPS?\n" - "> \n" - "\n" - "From the web interface:\n" - "\n" - "| Errors Summary\n" - "|\n" - "| 2\tarch/mips/include/asm/mach-generic/spaces.h:28:0: error: \"CAC_BASE\" redefined [-Werror]\n" - "| 1\t{standard input}:191: Error: number (0x9000000080000000) larger than 32 bits\n" - "| 1\t{standard input}:164: Error: number (0x9000000080000000) larger than 32 bits\n" - "| 1\t{standard input}:154: Error: number (0x9000000080000000) larger than 32 bits\n" - "| 1\t{standard input}:139: Error: number (0x9000000080000000) larger than 32 bits\n" - "| 1\t{standard input}:131: Error: number (0x9000000080000000) larger than 32 bits\n" - "\n" - "This already got better than it was. I haven't analyzed them at all,\n" - "but I had not expected them to be toolchain related. The first one is\n" - "for ip27_defconfig, the other ones are for allnoconfig/tinyconfig.\n" - "\n" - "The allmodconfig build had a lot more warnings, and was disabled\n" - "in kernelci a long time ago.\n" - "\n" - "| Warnings Summary\n" - "|\n" - "| 2\tarch/mips/configs/ip22_defconfig:71:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE\n" - "| 2\tarch/mips/configs/ip22_defconfig:70:warning: symbol value 'm' invalid for NF_CT_PROTO_DCCP\n" - "\n" - "Lots of these, from defconfigs that need a trivial update\n" - "\n" - "1\tnet/wireless/nl80211.c:4389:1: warning: the frame size of 2240 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tnet/wireless/nl80211.c:1895:1: warning: the frame size of 3776 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tnet/wireless/nl80211.c:1410:1: warning: the frame size of 2208 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tnet/bridge/br_netlink.c:1282:1: warning: the frame size of 2544 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/ti/cpmac.c:1213:2: warning: #warning FIXME: unhardcode gpio&reset bits [-Wcpp]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c:748:1: warning: the frame size of 4704 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c:970:1: warning: the frame size of 2784 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c:1021:1: warning: the frame size of 2208 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c:621:1: warning: the frame size of 3616 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:2753:1: warning: the frame size of 10768 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:641:1: warning: the frame size of 5728 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:419:1: warning: the frame size of 2912 bytes is larger than 2048 bytes [-Wframe-larger-than=]\n" - "1\tdrivers/net/ethernet/broadcom/bcm63xx_enet.c:1130:3: warning: 'phydev' may be used uninitialized in this function [-Wmaybe-uninitialized]\n" - "1\tdrivers/mtd/maps/pmcmsp-flash.c:149:30: warning: passing argument 1 of 'strncpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]\n" - "\n" - "| 1\tcrypto/wp512.c:987:1: warning: the frame size of 1568 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n" - "| 1\tcrypto/wp512.c:987:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n" - "| 1\tcrypto/wp512.c:987:1: warning: the frame size of 1264 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n" - "| 1\tcrypto/serpent_generic.c:436:1: warning: the frame size of 1472 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n" - "| 1\tcrypto/serpent_generic.c:436:1: warning: the frame size of 1456 bytes is larger than 1024 bytes [-Wframe-larger-than=]\n" - "\n" - "I've played around with these, it's possibly a gcc bug. This fixes one of them,\n" - "but breaks older toolchains that didn't have those options:\n" - "\n" - "@@ -779,7 +779,10 @@ static const u64 rc[WHIRLPOOL_ROUNDS] = {\n" - " * The core Whirlpool transform.\n" - " */\n" - " \n" - "-static void wp512_process_buffer(struct wp512_ctx *wctx) {\n" - "+static void\n" - "+__attribute__((optimize(\"-fno-sched-critical-path-heuristic\")))\n" - "+__attribute__((optimize(\"-fno-sched-dep-count-heuristic\")))\n" - "+wp512_process_buffer(struct wp512_ctx *wctx) {\n" - " int i, r;\n" - " u64 K[8]; /* the round key */\n" - " u64 block[8]; /* mu(buffer) */\n" - "\n" - "| 1\tarch/mips/ralink/timer.c:74:13: warning: 'rt_timer_free' defined but not used [-Wunused-function]\n" - "| 1\tarch/mips/ralink/timer.c:104:13: warning: 'rt_timer_disable' defined but not used [-Wunused-function]\n" - "| 1\tarch/mips/ralink/rt305x.c:92:13: warning: 'rt305x_wdt_reset' defined but not used [-Wunused-function]\n" - "| 1\tarch/mips/ralink/prom.c:70:2: warning: 'argv' is used uninitialized in this function [-Wuninitialized]\n" - "| 1\tarch/mips/ralink/prom.c:70:2: warning: 'argc' is used uninitialized in this function [-Wuninitialized]\n" - "\n" - "These are obvious bugs, fix should be trivial\n" - "\n" - "| 1\tarch/mips/netlogic/common/smpboot.S:63: Warning: dla used to load 32-bit register; recommend using la instead\n" - "| 1\tarch/mips/netlogic/common/smpboot.S:62: Warning: dla used to load 32-bit register; recommend using la instead\n" - "\n" - "Probably toolchain related, but should not be hard to fix up for\n" - "older toolchains.\n" - "\n" - "\tARnd" + > -e195a69f87280317e43c0c12a41abc0de8e3399e9c27a9c05ada6d5dc34269be +fafda4c841a76bd1eda6ea71961ca10a6a9311c62a2c432c56cc738e6c8aa249
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.