Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8289470rwl; Tue, 10 Jan 2023 11:22:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXvfuEJfuNQWXdRwmXy1Z3A6FmcwoBtteo5PY81wLJlMoVpWmTg2cJ2c+Dpy88oLRC2yFZ1m X-Received: by 2002:a05:6a20:b044:b0:ac:ab16:442 with SMTP id dx4-20020a056a20b04400b000acab160442mr67337006pzb.4.1673378543411; Tue, 10 Jan 2023 11:22:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673378543; cv=none; d=google.com; s=arc-20160816; b=z+p7ZVtMid+3cJzDPV4n7VW3qdbWN02PUarQo06Dp0p0R0YjYdrp4OF3shcUAMw10X wuVu2+NkUw5/RLak4mBPqvPhAzYaoWbTl3C6bkBNV3DjQmfPJKGebOvj9j2z5qvs/+ys xhiGLmadb5N3nl8kJhQmsig53m95Ym+WYLsfMnNZCKb+xk63zJWRosvPeKCULve8ebQt PCZ/PgwHqtZ00jrEMjeJkjPeeuiqzijIZ8P/g3wQn84QsKnKo2TATp7jS0iYMy3DR8vA cPXujzkZzJRzIuR4IvV5MOHacmh7/2c+OvdkH7qiMzSZ/CoYFS0vtU7JE1MrpFGlOAlI wGKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iVgeH+z+H/AmvuQF4yXQgFzm757T0hPOtye3wv9i8+4=; b=ghVh/VS2ZEEWMZsWVhorU7lhWH9RsZ+W3pOSOqCs8W9zQ2uEra3MjOXJ12VuQQqmXz SctWZjBhwywjIRGy+oMp6l78/4xEEa7d9ciVdR37ZYB9uGes61LFeYgJIJB9XT5ajWAk Zyc8+CDZQeOsshOIueSDUYOTzHHD1osChC7PBM7V8ZLevhUqQFRNzLhkwAfGOWxHimQH 2rUimnItth42FW2SJ86HR2k/zwXAWNfFh8RO9XVpYakfVxhNZ3UnTPyfCGVO0N4q6F2f 7iMFafdKAMpk3z4OjpkfEbA79dDh5V+P2gvpgu+n5DAzXurugE6NonR17YbTGIxlqtOz uJbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SxX7gxrm; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a056a00081500b00580eef1f714si12160667pfk.265.2023.01.10.11.22.16; Tue, 10 Jan 2023 11:22:23 -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=@kernel.org header.s=k20201202 header.b=SxX7gxrm; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239795AbjAJTOb (ORCPT + 53 others); Tue, 10 Jan 2023 14:14:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239882AbjAJTOR (ORCPT ); Tue, 10 Jan 2023 14:14:17 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C4325005F for ; Tue, 10 Jan 2023 11:14:10 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C317EB81919 for ; Tue, 10 Jan 2023 19:14:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9449DC433F0; Tue, 10 Jan 2023 19:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673378047; bh=8VMuRmtRqaT8lihotNAGlk0VuE/uM8wsvkJVXbs+qyc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SxX7gxrmfhhNSyGrUh6MgcHXLhiGruyrglGCL5nlkEZ0FSvBTx824IxrIxDLEsja9 Uv/KaAy9BvUmsDUK9+uP0vOpt69qmT+Ka9vRTK3TJGuNMjWUMO6e/TJhlMgcCTapaE yM6FA2PP9twC/+a8FQoMc667Nt6CchI7/JuKjK+HLOudy7TLvYb4qBDXklbYi4AHAU z8ykaCtl3XnFl5uaecBM9TBAIbDFp9y52iwY8AxVaRbvI2lo+5bjL5hkDhuw52CEdL UQ6dkui5hxMEG/HJswZZ48/Up9kbwQzqVQu8dySbmdU5yI6l9XbSty8FPTU61SDQf2 OOL8mDv4JoxbQ== From: SeongJae Park To: Masahiro Yamada Cc: SeongJae Park , Ard Biesheuvel , Linus Torvalds , Guenter Roeck , "Jason A. Donenfeld" , Yoshinori Sato , Rich Felker , Arnd Bergmann , Linux Kernel Mailing List , Palmer Dabbelt Subject: Re: Linux 6.2-rc2 Date: Tue, 10 Jan 2023 19:14:04 +0000 Message-Id: <20230110191404.132594-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Hi Masahiro, On Wed, 11 Jan 2023 03:39:58 +0900 Masahiro Yamada wrote: > On Tue, Jan 10, 2023 at 9:32 AM SeongJae Park wrote: > > > > On Tue, 3 Jan 2023 11:58:48 +0100 Ard Biesheuvel wrote: > > > > > On Tue, 3 Jan 2023 at 03:13, Linus Torvalds > > > wrote: > > > > > > > > On Mon, Jan 2, 2023 at 5:45 PM Guenter Roeck wrote: > > > > > > > [...] > > > --- a/include/asm-generic/vmlinux.lds.h > > > +++ b/include/asm-generic/vmlinux.lds.h > > > @@ -896,7 +896,7 @@ > > > * Otherwise, the type of .notes section would become PROGBITS > > > instead of NOTES. > > > */ > > > #define NOTES \ > > > - /DISCARD/ : { *(.note.GNU-stack) } \ > > > + .note.GNU-stack : { *(.note.GNU-stack) } \ > > > .notes : AT(ADDR(.notes) - LOAD_OFFSET) { \ > > > BOUNDED_SECTION_BY(.note.*, _notes) \ > > > } NOTES_HEADERS \ > > > > > > The .note.GNU-stack has zero size, so the result should be the same. > > > > > > > This also fixes ARCH=um build error on my system. > > > > Tested-by: SeongJae Park > > > > I am able to build ARCH=um defconfig at least. > > Can you provide the steps to reproduce the build error? I do the build for kunit test, like below. mkdir ../kunit.out echo " CONFIG_KUNIT=y CONFIG_DAMON=y CONFIG_DAMON_KUNIT_TEST=y CONFIG_DAMON_VADDR=y CONFIG_DAMON_VADDR_KUNIT_TEST=y CONFIG_DEBUG_FS=y CONFIG_DAMON_DBGFS=y CONFIG_DAMON_DBGFS_KUNIT_TEST=y CONFIG_DAMON_PADDR=y" > ../kunit.out/.kunitconfig ./tools/testsing/kunit/kunit.py run --build_dir ../kunit.out [19:12:37] Configuring KUnit Kernel ... [19:12:37] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=../kunit.out/ olddefconfig Building with: $ make ARCH=um O=../kunit.out/ --jobs=36 ERROR:root:`.exit.text' referenced in section `.uml.exitcall.exit' of arch/um/drivers/virtio_uml.o: defined in discarded section `.exit.text' of arch/um/drivers/virtio_uml.o collect2: error: ld returned 1 exit status make[2]: *** [/home/sjpark/linux/scripts/Makefile.vmlinux:34: vmlinux] Error 1 make[1]: *** [/home/sjpark/linux/Makefile:1252: vmlinux] Error 2 make: *** [Makefile:242: __sub-make] Error 2 Thanks, SJ > > > > > -- > Best Regards > Masahiro Yamada