From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5CA1C2D4 for ; Mon, 14 Aug 2023 15:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692027505; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ftfZzPPxMX01Gby0U/PiwMfwiI0XDF12P1Ajb3ohqCY=; b=WSYD0135S4hEGEtfMJ62DYaa8tDKiPT23kAdz1jIttYWO4fyXApHTS+U+h90dJVjOPa6HB Rb48294r1OXACu6jHnQcO0m8b4U7LjR4XDuyip/ZV1qI5ymMTzALI6LI8bC2rnB/lTt5Tb FvsLX7Edxk1637kAMh7Aiw6OJEgRE2w= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-659-KRCSW2jMOl-IjH7Xo9Ubqw-1; Mon, 14 Aug 2023 11:38:24 -0400 X-MC-Unique: KRCSW2jMOl-IjH7Xo9Ubqw-1 Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-645778904dfso8256116d6.1 for ; Mon, 14 Aug 2023 08:38:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692027504; x=1692632304; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ftfZzPPxMX01Gby0U/PiwMfwiI0XDF12P1Ajb3ohqCY=; b=M5fGVM4Rqp/p40kH+YmsfcpDjrqqlw47KxoENWmEjs1w2wYNCH67ejnMBR3CXcT+V8 m/nNnn+jFWuRzqQF+Zm1rQsb0uFUVqLkFW4PTH6vH9uxVFNoFSPEqtSGmOPIBh6OHnJl pAT0o+Nq0ePqxWJJWL29MHa1ZvQ+EfymESeyBqwCQiiT6NrTrgzZF7D9mljbdmGn1Mt9 dC7o8R3aKKvteBbnshbN1tBmShv34nGftBVuQFhlin8uIF8WA+dxizrvVCmP/BklwxSS tjxpN5aOryhDmQjNCJeYZ+XmaUvXWl9yWyJGfaIsauj3vlLUimIQvWwvKDlGGdwq/bnh +nCg== X-Gm-Message-State: AOJu0YzlcXUdhrerfoIoDSHp9rW3yxcA7MxS1MMKZ8N3uVw9D5UtmRQc FB7tLd1NQOUjyvkt2QaxWY4lYiPu9n8nqU4JLxx82j9sPLwVtTlsWGTesqaLjAM9DcJ+c9yVNu3 7+wfJrqiivHQo5Q== X-Received: by 2002:ad4:5f0f:0:b0:625:aa48:e50f with SMTP id fo15-20020ad45f0f000000b00625aa48e50fmr13929597qvb.6.1692027503760; Mon, 14 Aug 2023 08:38:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFACOs0OhCKoORZlOJko4R2FENW1W6OqTr5H/q9L0Y8dHpVVK+fY2mYrwhhPkkNvUWN04cF0w== X-Received: by 2002:ad4:5f0f:0:b0:625:aa48:e50f with SMTP id fo15-20020ad45f0f000000b00625aa48e50fmr13929579qvb.6.1692027503460; Mon, 14 Aug 2023 08:38:23 -0700 (PDT) Received: from x1n (cpe5c7695f3aee0-cm5c7695f3aede.cpe.net.cable.rogers.com. [99.254.144.39]) by smtp.gmail.com with ESMTPSA id pc5-20020a05620a840500b00767fbfea21dsm3098480qkn.69.2023.08.14.08.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 08:38:22 -0700 (PDT) Date: Mon, 14 Aug 2023 11:38:18 -0400 From: Peter Xu To: kernel test robot Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , "Huang, Ying" Subject: Re: Cannot find symbol for section 69: .text.arch_max_swapfile_size. Message-ID: References: <202308120906.Efohswpa-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <202308120906.Efohswpa-lkp@intel.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Sat, Aug 12, 2023 at 09:11:33AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 190bf7b14b0cf3df19c059061be032bd8994a597 > commit: be45a4902c7caa717fee6b2f671e59b396ed395c mm/swap: cache maximum swapfile size when init swap > date: 11 months ago > config: mips-randconfig-r014-20230811 (https://download.01.org/0day-ci/archive/20230812/202308120906.Efohswpa-lkp@intel.com/config) > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) > reproduce: (https://download.01.org/0day-ci/archive/20230812/202308120906.Efohswpa-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202308120906.Efohswpa-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> Cannot find symbol for section 69: .text.arch_max_swapfile_size. > mm/swapfile.o: failed Hmm.. I don't really know what's the issue here, neither can I reproduce this locally - the cross build seems to all work with the reproducer and I can see mm/swapfile.o correctly generated. $ wget https://download.01.org/0day-ci/archive/20230812/202308120906.Efohswpa-lkp@intel.com/config $ mv config .config $ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ./make.cross W=1 O=build_dir ARCH=mips olddefconfig [...] $ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ./make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash [...] FIT description: Linux 6.5.0-rc4-00492-gad3232df3e41 Created: Mon Aug 14 11:35:57 2023 Image 0 (kernel) Description: Linux 6.5.0-rc4-00492-gad3232df3e41 Created: Mon Aug 14 11:35:57 2023 Type: Kernel Image Compression: gzip compressed Data Size: 1767982 Bytes = 1726.54 KiB = 1.69 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x8043e5f0 Hash algo: sha1 Hash value: 750e28c2fdd0d73eec9b0d8dbf5655579cb1364c Default Configuration: 'conf-default' Configuration 0 (conf-default) Description: Generic Linux kernel Kernel: kernel $ file build_dir/mm/swapfile.o build_dir/mm/swapfile.o: ELF 32-bit MSB relocatable, MIPS, MIPS32 version 1 (SYSV), not stripped Please let me now if anyone knows what I'm missing. -- Peter Xu