Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2130883iof; Tue, 7 Jun 2022 20:46:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEw0ulQX1gmZ7gT4pYHGo9VbTdXJb9DxCCSBGJTWo5ynkyxKq/TabU5sfhfBiRlj7g8x5d X-Received: by 2002:a17:902:a418:b0:161:f216:4f49 with SMTP id p24-20020a170902a41800b00161f2164f49mr32138208plq.129.1654659993357; Tue, 07 Jun 2022 20:46:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654659993; cv=none; d=google.com; s=arc-20160816; b=igZX1HpAqovmeXWg6ks14Tb+JMHUyN8glrA15tYPYMvU0cpVgpjCj04JG4abYTnTxS XMyZzU3xnOHKvCCnD6b+p+yhpsZ+1KQo7yfCWPQgFSx2A4wQULjagKhQKNoTY1qeovxR 3IxD5dWqbKamMVvqFMZP92y0o0BxVUtgXMKGBbFqReATpRkRcqBQT5XQcTiz8UPhWEAn xGBHaXq3SmAC2LkIEPdssUQDzYRWHncTMZ9h1sZ5/je7HffBTPVMu05M1b7Aup1oZF/Z Pr8XWGw4BGcFUMjcjAB7laqTtiWjKPaADlEjvQePrfx6HyC/mYbcE3MXiKXwrCsV7i6U dL3g== 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=HFNl4deQqY2CVWCJqnRvkKKqDLhRyFvEhkD6zhbS1io=; b=HOq1mRge40Cdgd65ECDLAtcFnrqb/7U36Jep9qhYk2nqrpk2wckLv287uEYDjH573R Z33i4tAIoXya1o1X7UZwCIoIV69QN8+9TjxFpqcvYwVTlVeH7nTL5kSnOLUW5kHXVu/a XWaqlT3JSzzVf58lxEtmNoHkWEJsQ++oWlHXn2HXLzMDGPG2mO3y4stmBt1F0+Xh3wJc dFCdop9c1a1wNwd2M46yyhAfyvx3jn9S7ZeH0yU9HXvcpNdzuW8vjQlV9WJCgxYKEd2U BM2mfpRX52CLeD4YLa2KZTnsD0g/YJiF+oPN9NkxclyYzKBw8tnk5GMIPAij5N9WNW6P V/yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=JYTSE+FQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w3-20020a6556c3000000b0039d94389fe6si25859287pgs.599.2022.06.07.20.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 20:46:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@fastly.com header.s=google header.b=JYTSE+FQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fastly.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 485DF3724B3; Tue, 7 Jun 2022 20:07:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243622AbiFGMVN (ORCPT + 99 others); Tue, 7 Jun 2022 08:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243831AbiFGMUJ (ORCPT ); Tue, 7 Jun 2022 08:20:09 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE024C5E41 for ; Tue, 7 Jun 2022 05:19:48 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id s13so18978942ljd.4 for ; Tue, 07 Jun 2022 05:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=HFNl4deQqY2CVWCJqnRvkKKqDLhRyFvEhkD6zhbS1io=; b=JYTSE+FQSj3LpqRsscj3Ljj0WQdmKkXCC/5x0wki7CIoE7ia2PcV2KUJNeCl1KS+Nv fCI9RUTTFFXWbp2zY5i+KWMlj7jz5irPevyqWm8d5gZwidNRXAKSoFfWcR2JaZR81dz0 D6yi4hSrBrxvASQCafI9Wdno9St/pZQ9GHLLM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=HFNl4deQqY2CVWCJqnRvkKKqDLhRyFvEhkD6zhbS1io=; b=WqUb+qhTQt59hEN/0yGN6nl+L2sHc6Ur2/JkxwW+GhcFdiJvqn7kWIWFYjSGhfqISf U2bLoT3hhzPobBsuKJnIhr8tFp8KByie2M3/ENy2fiNj4abXt5lG+k9kGDZWzq30+X6J 67QYWIPNfH34a+z8Bigke/U+PFF40guiXDgK0b2mE9JcxZ4fpJLTGc9n9jDuZwoSvLSk kAtOoT4kTvjnOCpvL/K1hrDDUbhiZ/kYdpC/8TVlk8qrvgfXY20+x//61o+V3VPtiQKp FKyWCBuSagVI8X+gVcSWiYbJLwa/nvdBWllOswBSr4gGdQYtTAQOk+G9iFMnhwFvXFkO rlqA== X-Gm-Message-State: AOAM533l0jrpML2fUZAbb6Dl87SP+qkF6kPn/YneJ6z6C05P29Ae7PWw BZYIZQFqvjVCbltgprVfLLq+7JXGysVf5z0nR0WT3dv6u3k= X-Received: by 2002:a2e:b0d6:0:b0:255:7d62:d75c with SMTP id g22-20020a2eb0d6000000b002557d62d75cmr12516223ljl.118.1654604387151; Tue, 07 Jun 2022 05:19:47 -0700 (PDT) MIME-Version: 1.0 From: Joe Damato Date: Tue, 7 Jun 2022 15:19:36 +0300 Message-ID: Subject: 5.19-rc1 x86 build failure To: x86@kernel.org Cc: jpoimboe@redhat.com, peterz@infradead.org, linux-kernel@vger.kernel.org, jiangshanlai@gmail.com, bp@suse.de, brgerst@gmail.com, Andrew.Cooper3@citrix.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Greetings: My apologies if this is the incorrect place to report this, but I got a build error when trying to compile the net-next 5.19-rc1 tree. git bisect says that commit a1e2c031ec394 ("x86/mm: Simplify RESERVE_BRK()") is responsible for the build issue I am hitting. I am performing this build on an x86_64 system with GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu). The assembler outputs a cryptic error message: /tmp/ccnGOKZ5.s: Assembler messages: /tmp/ccnGOKZ5.s:98: Error: missing ')' /tmp/ccnGOKZ5.s:98: Error: missing ')' /tmp/ccnGOKZ5.s:98: Error: missing ')' /tmp/ccnGOKZ5.s:98: Error: junk at end of line, first unrecognized character is `U' /tmp/ccnGOKZ5.s:99: Error: missing ')' /tmp/ccnGOKZ5.s:99: Error: missing ')' /tmp/ccnGOKZ5.s:99: Error: missing ')' /tmp/ccnGOKZ5.s:99: Error: junk at end of line, first unrecognized character is `U' I've asked GCC to generate the assembly and output so I can see more specifically where this issue is (via "-fverbose-asm -Wa,-adhln=output"): 96 .pushsection .brk_reservation,"aw",@nobits 97 .brk.early_pgt_alloc: 98 ???? 00000000 .skip ((2 * 3) * ((1UL) << 12)) **** Error: missing ')' **** Error: missing ')' **** Error: missing ')' **** Error: junk at end of line, first unrecognized character is `U' 98 0000 100 .popsection This comes from arch/x86/mm/init.c, which has the following code: RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE); wherein INIT_PGT_BUF_SIZE (via PAGE_SIZE) has a "1UL" which makes the assembler unhappy. I don't really know what the correct way to fix this is; it seems that the macro _AC should handle this if ASSEMBLY is defined, IIUC, but that does not seem to be the case at this point in init.c. Perhaps I am doing something incorrect during the build process causing this to happen? Thanks, Joe