aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2019-10-22 21:33:22 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2019-10-22 21:41:59 +0200
commit4f86397022ca5649ea11963d4120ec43a4d3b5fa (patch)
tree729b6420ce9b992d7848b1b16f08cafd502aeb41 /package/system
parent2dd1755fe4dd639ce2aedf3e25516b8aca459756 (diff)
downloadupstream-4f86397022ca5649ea11963d4120ec43a4d3b5fa.tar.gz
upstream-4f86397022ca5649ea11963d4120ec43a4d3b5fa.tar.bz2
upstream-4f86397022ca5649ea11963d4120ec43a4d3b5fa.zip
brcm63xx: fix build with GCC 8.3
Fixes the following build error when building when using GCC 8.3: In file included from ./include/linux/string.h:19, from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./arch/mips/include/asm/processor.h:15, from ./arch/mips/include/asm/thread_info.h:16, from ./include/linux/thread_info.h:38, from ./include/asm-generic/preempt.h:5, from ./arch/mips/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:81, from ./include/linux/spinlock.h:51, from ./include/linux/mmzone.h:8, from ./include/linux/bootmem.h:8, from arch/mips/bcm63xx/prom.c:10: arch/mips/bcm63xx/prom.c: In function 'prom_init': ./arch/mips/include/asm/string.h:162:11: error: '__builtin_memcpy' forming offset [2, 32] is out of the bounds [0, 1] of object 'bmips_smp_movevec' with type 'char' [-Werror=array-bounds] __ret = __builtin_memcpy((dst), (src), __len); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/mips/bcm63xx/prom.c:97:3: note: in expansion of macro 'memcpy' memcpy((void *)0xa0000200, &bmips_smp_movevec, 0x20); ^~~~~~ In file included from arch/mips/bcm63xx/prom.c:14: ./arch/mips/include/asm/bmips.h:80:13: note: 'bmips_smp_movevec' declared here extern char bmips_smp_movevec; Reported-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/system')
0 files changed, 0 insertions, 0 deletions