Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5699227rwj; Wed, 21 Dec 2022 06:05:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXsqN87fPCVhoGqQ34B9z5/hVrDdx9429p5gALabvVOZevzMAypn7onCW6JnBAJvYsZAyri6 X-Received: by 2002:a17:907:d38c:b0:83c:1a1e:1efe with SMTP id vh12-20020a170907d38c00b0083c1a1e1efemr1470339ejc.6.1671631547264; Wed, 21 Dec 2022 06:05:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671631547; cv=none; d=google.com; s=arc-20160816; b=Nmyrpx9wSFZR0W0OiTU+Aa9sOpBRJjrPDx7LroEJzk4PtVVhzqY1s4/U+KqOucs6UU +yOJncCyFBpTL/Uyj9BEzuY8gwuFb/p0F67AOE6yJXlVefkIF8jLw9RcmtztmDqLxcGb x14/G75YUN+HhgOpf0zU64hlwnkOAlAoxyeEuRUliCIrnkVCWRUmWcF3+uzikLV0U4ka 8F+wQND6/FaAeKds9uv6pR5eww4gl4NzGGdi1rAdFd7fZtCg8CZem+m0anw4N/r/7NL2 2Qb8gyl0SttSkEU0tmXEC/TArIMPQ1qGADr2XjPlEtE1TbbEsSZGPe4cKeIfoaCc3Enu KTAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=GDzcNnABsBO1VV0+lqWHXjD9U+uD6P4e2XrXM+GgZjY=; b=kt26o1n37gbemWH3z6UwsiryoNRs7o4OwuurQeDTbF3ckbip3x/V9TIC5zF6wM7mvU JQAouv2HkYsGTLG36d9kFuLa+33xhZ3ANIh8oG3mad2mbAKzKU68o6tb5eb5Drf9mJxk 9aj6HfNm6mb3F9j8vqGmUQW3QmihRRklk4SjY9A5Z69PMP/hMIY3uTH6zipN6YlDhqkH I6N2qrVFDdudayxlMxjkA27Xg/NVTW6bRNKtgSAg5R7xx8SAsBcMaHKOz+EmGkIMWYxv Sxuzmk1PZQeqIDTOPu24OkkYbn6NwkIipledcZFkYPBW3KFJr3Je8Re+4eeKLGK/D/+B jp8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OTVCHIxP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc33-20020a1709078a2100b007c1633cea0csi150576ejc.513.2022.12.21.06.05.28; Wed, 21 Dec 2022 06:05:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OTVCHIxP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbiLUNBq (ORCPT + 69 others); Wed, 21 Dec 2022 08:01:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233664AbiLUNBg (ORCPT ); Wed, 21 Dec 2022 08:01:36 -0500 Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 264A0E86 for ; Wed, 21 Dec 2022 05:01:35 -0800 (PST) Received: by mail-vs1-xe32.google.com with SMTP id i188so8667580vsi.8 for ; Wed, 21 Dec 2022 05:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GDzcNnABsBO1VV0+lqWHXjD9U+uD6P4e2XrXM+GgZjY=; b=OTVCHIxPc8hNDzfRmK7t4nuGHJtQn+GYzCbae4exnTy2K1oWgfe5Bvq5GQh6GyddW7 2e7T9YQ4Q9hhUpYtuS7MCCRyX6ZCuQPnYeOF6aryYzZUSHERWk+cHc026N4/8T8Tl6cC +tEqQoAgfKUVPofMAl/+te5vsJxXyo2VMx3lYeKL0YsKh3xyhUI9ZRmQIUxtXh8dYSfU GiyYmwW4lfnkZ1QZuUMdaoUknz/e369FeEvsqlnoRpLp+fCnprpwMy9aF9QgXqi/xK/M nUz4q51UXhg0Ros9EideGqpoxRMwpeydmqnwRbFlFqPoxl8eKRdi/nC47qaxSx1jr4ms 3fMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GDzcNnABsBO1VV0+lqWHXjD9U+uD6P4e2XrXM+GgZjY=; b=IVnIEXxASuL3L6FltZAZnKRs1RfTAVg0QCMrRTF+tMVFt4WBQMDaSOSKCe6ft1UPYS N/vLALYTGWokt1BVMMjzcXryws5OHzolr7ZjouZKwnBXtgWl4iij7MaQ/dJvrjeZqvrN sHVX5HZtGsB4cdfi8ytW50GpKphM2QI2yctDwsefF9mFUNR8RHVqkgccSKI14QX9h/oa YDC9qVVlluVEP00b/PYTrYyJEd1OBExzXsW+wI30Ujag3HUe68KR+77gYS+zxJ+oRpzV 6bbTGCJNpxD3g627Ya/WOA1inLjZpIAioYhSm/F7VenU++QO/rEJVoFj201pl4wtBSuq 5ENw== X-Gm-Message-State: AFqh2krp2CBb5TQ4unr+4Fb1F62WnNz5FHuRyRHKxg/rGqd/ZpYuzgHk GGi0NgSJLrP3sNs5JIqZNvimlmkfMp02pBWHTEYvx1paZ3lyO67y X-Received: by 2002:a67:ee5a:0:b0:3b5:21d5:5a0b with SMTP id g26-20020a67ee5a000000b003b521d55a0bmr196624vsp.34.1671627693304; Wed, 21 Dec 2022 05:01:33 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 21 Dec 2022 18:31:22 +0530 Message-ID: Subject: sh: compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE(). To: open list , Linux-sh list Cc: Rich Felker , Yoshinori Sato , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linux mainline master branch have reported the following regressions. Regressions found on sh build failures, - build/gcc-11-defconfig - build/gcc-8-defconfig - build/gcc-11-shx3_defconfig - build/gcc-8-shx3_defconfig make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=sh CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc' 'HOSTCC=sccache gcc' shx3_defconfig make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=sh CROSS_COMPILE=sh4-linux-gnu- 'CC=sccache sh4-linux-gnu-gcc' 'HOSTCC=sccache gcc' Generating include/generated/machtypes.h :1517:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /builds/linux/arch/sh/include/asm/hw_irq.h:6, from /builds/linux/include/linux/irq.h:596, from /builds/linux/include/asm-generic/hardirq.h:17, from /builds/linux/arch/sh/include/asm/hardirq.h:9, from /builds/linux/include/linux/hardirq.h:11, from /builds/linux/include/linux/interrupt.h:11, from /builds/linux/include/linux/serial_core.h:13, from /builds/linux/include/linux/serial_sci.h:6, from /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:10: /builds/linux/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /builds/linux/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in expansion of macro 'DECLARE_INTC_DESC' 309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, | ^~~~~~~~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:309:8: note: in expansion of macro 'DECLARE_INTC_DESC' 309 | static DECLARE_INTC_DESC(intc_desc, "shx3", vectors, groups, | ^~~~~~~~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:322:8: note: in expansion of macro 'DECLARE_INTC_DESC' 322 | static DECLARE_INTC_DESC(intc_desc_irq, "shx3-irq", vectors_irq, groups, | ^~~~~~~~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /builds/linux/include/linux/sh_intc.h:107:9: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in expansion of macro 'DECLARE_INTC_DESC' 337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups, | ^~~~~~~~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:100:63: warning: division 'sizeof (void *) / sizeof (void)' does not compute the number of array elements [-Wsizeof-pointer-div] 100 | #define _INTC_ARRAY(a) a, __same_type(a, NULL) ? 0 : sizeof(a)/sizeof(*a) | ^ /builds/linux/include/linux/sh_intc.h:107:34: note: in expansion of macro '_INTC_ARRAY' 107 | _INTC_ARRAY(sense_regs), _INTC_ARRAY(ack_regs), \ | ^~~~~~~~~~~ /builds/linux/include/linux/sh_intc.h:124:15: note: in expansion of macro 'INTC_HW_DESC' 124 | .hw = INTC_HW_DESC(vectors, groups, mask_regs, \ | ^~~~~~~~~~~~ /builds/linux/arch/sh/kernel/cpu/sh4a/setup-shx3.c:337:8: note: in expansion of macro 'DECLARE_INTC_DESC' 337 | static DECLARE_INTC_DESC(intc_desc_irl, "shx3-irl", vectors_irl, groups, | ^~~~~~~~~~~~~~~~~ In file included from : In function 'follow_pmd_mask', inlined from 'follow_pud_mask' at /builds/linux/mm/gup.c:735:9, inlined from 'follow_p4d_mask' at /builds/linux/mm/gup.c:752:9, inlined from 'follow_page_mask' at /builds/linux/mm/gup.c:809:9: /builds/linux/include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_263' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE(). 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ /builds/linux/include/linux/compiler_types.h:339:25: note: in definition of macro '__compiletime_assert' 339 | prefix ## suffix(); \ | ^~~~~~ /builds/linux/include/linux/compiler_types.h:358:9: note: in expansion of macro '_compiletime_assert' 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /builds/linux/include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ /builds/linux/include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/mm/gup.c:661:18: note: in expansion of macro 'READ_ONCE' 661 | pmdval = READ_ONCE(*pmd); | ^~~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:252: mm/gup.o] Error 1 In file included from : /builds/linux/mm/page_vma_mapped.c: In function 'page_vma_mapped_walk': /builds/linux/include/linux/compiler_types.h:358:45: error: call to '__compiletime_assert_262' declared with attribute error: Unsupported access size for {READ,WRITE}_ONCE(). 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ /builds/linux/include/linux/compiler_types.h:339:25: note: in definition of macro '__compiletime_assert' 339 | prefix ## suffix(); \ | ^~~~~~ /builds/linux/include/linux/compiler_types.h:358:9: note: in expansion of macro '_compiletime_assert' 358 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /builds/linux/include/asm-generic/rwonce.h:36:9: note: in expansion of macro 'compiletime_assert' 36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ | ^~~~~~~~~~~~~~~~~~ /builds/linux/include/asm-generic/rwonce.h:49:9: note: in expansion of macro 'compiletime_assert_rwonce_type' 49 | compiletime_assert_rwonce_type(x); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builds/linux/mm/page_vma_mapped.c:210:24: note: in expansion of macro 'READ_ONCE' 210 | pmde = READ_ONCE(*pvmw->pmd); | ^~~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:252: mm/page_vma_mapped.o] Error 1 make[3]: Target 'mm/' not remade because of errors. make[2]: *** [/builds/linux/scripts/Makefile.build:504: mm] Error 2 /builds/linux/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /builds/linux/fs/ext4/readpage.c:405:1: warning: the frame size of 1132 bytes is larger than 1024 bytes [-Wframe-larger-than=] 405 | } | ^ /builds/linux/fs/mpage.c: In function '__mpage_writepage': /builds/linux/fs/mpage.c:634:1: warning: the frame size of 1144 bytes is larger than 1024 bytes [-Wframe-larger-than=] 634 | } | ^ /builds/linux/fs/mpage.c: In function 'do_mpage_readpage': /builds/linux/fs/mpage.c:308:1: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=] 308 | } | ^ make[2]: Target './' not remade because of errors. make[1]: *** [/builds/linux/Makefile:2008: .] Error 2 Build: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.1-13872-gb6bb9676f216/testrun/13772324/suite/build/test/gcc-11-shx3_defconfig/details/ -- Linaro LKFT https://lkft.linaro.org