From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DA9DC4332F for ; Tue, 13 Dec 2022 10:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234903AbiLMKkN (ORCPT ); Tue, 13 Dec 2022 05:40:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234967AbiLMKkJ (ORCPT ); Tue, 13 Dec 2022 05:40:09 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0785F1C13B for ; Tue, 13 Dec 2022 02:40:08 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id d20so17143604edn.0 for ; Tue, 13 Dec 2022 02:40:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=b6QgqvSEkJ40dC/g0yqPFcNIxsg/4vW/2+57F7Oid/Y=; b=qyPBF6YT9Xn248ZrdPXuPB1iYqmrQJq5As9iv++aogWesOtLuRL0RJxgJ51zJIq70c Be1kuM//pctf3XqUOIwyqWA7kgpvZ75wLYt9drvmXnNg7ejpUpCJkVwO2GixxAulv+YM at68rTBLfCdLzdLX9S+UaBiotychJ2ZMJCqh85ymo4HuFjdsWOzKhu3or5N1NuIN2JPo dYFkT+5ioC212i5Jlqv3TtNNmnXO7T/xZJgWx7XV6Q2RzHqDhkqN1/NV7LEQ+lMqzsCH E+U1pYd7EGoiju+dQQGtNF3dnmwk02ceOKqkdYLdYTrPe+EgH+CnGnuCYnmahsbqkLNO RcVw== 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:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=b6QgqvSEkJ40dC/g0yqPFcNIxsg/4vW/2+57F7Oid/Y=; b=zOQymSRcr58HDw1KvEUpISJeiPokdVWjvswYApfc4pDLl3OiuJr5VupOR/rLnUyqTr 0sF0JxY5WzJ3sWO1gZtTESSXeWstACTuTOPFImY26ERb/y2U+Hp/Zv1L7EUqt600elBV E0XVjabmyVV20ooRtCzB0Dv57ib3QaWUd1IuJ4HdjA/FTcrpOwOHp0az0vFls7s+Pro9 se4o91MmaKkfkLuJ5QdskF4eByg4z44s7SkZYteVntjc+KPtbX81alfUbfMQABE3jSym tdxRTH0H70ApQIkM433epJ8BUhO9mnftC/8NCnOKKviwwVLORGK/Yn2SDI2hsBt9OdX3 hq4g== X-Gm-Message-State: ANoB5plqyYF7NPnjfhnhhhu4dUexhQHQ7RR/14KMtUO72SD/ZqPOF6Dk byy2KXqdZlvi+eUP4fxcTUydXt6v9L0Erk8DsGU= X-Google-Smtp-Source: AA0mqf6wCLpjfemS8Nj3roe5a42WEA4O81RCNzxHkA5WO3DoNDPwBN4uF8wG4Mqpmjmvn5gw7dERye6LIGNcpehrgmk= X-Received: by 2002:aa7:d841:0:b0:46d:692e:8572 with SMTP id f1-20020aa7d841000000b0046d692e8572mr7011724eds.25.1670928006558; Tue, 13 Dec 2022 02:40:06 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Sudip Mukherjee Date: Tue, 13 Dec 2022 10:39:30 +0000 Message-ID: Subject: Re: mainline build failure due to e240e53ae0ab ("mm, slub: add CONFIG_SLUB_TINY") To: Vlastimil Babka Cc: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Andrew Morton , kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 13 Dec 2022 at 10:26, Sudip Mukherjee (Codethink) wrote: > > Hi All, > > The latest mainline kernel branch fails to build xtensa allmodconfig > with gcc-11 with the error: And, also powerpc allmodconfig with the error: fs/f2fs/inline.c: In function 'f2fs_move_inline_dirents': ./include/linux/fortify-string.h:59:33: error: '__builtin_memset' pointer overflow between offset [28, 898293814] and size [-898293787, -1] [-Werror=array-bounds] 59 | #define __underlying_memset __builtin_memset | ^ ./include/linux/fortify-string.h:337:9: note: in expansion of macro '__underlying_memset' 337 | __underlying_memset(p, c, __fortify_size); \ | ^~~~~~~~~~~~~~~~~~~ ./include/linux/fortify-string.h:345:25: note: in expansion of macro '__fortify_memset_chk' 345 | #define memset(p, c, s) __fortify_memset_chk(p, c, s, \ | ^~~~~~~~~~~~~~~~~~~~ fs/f2fs/inline.c:430:9: note: in expansion of macro 'memset' 430 | memset(dst.bitmap + src.nr_bitmap, 0, dst.nr_bitmap - src.nr_bitmap); | ^~~~~~ Note: the powerpc failure is also with gcc-11 only. gcc-12 builds fine. -- Regards Sudip