Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp185092rwb; Thu, 1 Dec 2022 00:28:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf5A0U37RXZul7oBSotjeG1pfORZY+FDGyzbLQJtxHDZeCqQ0GalC1gqS1D4IUa4Fj4ttyT5 X-Received: by 2002:a17:902:8548:b0:186:8398:350 with SMTP id d8-20020a170902854800b0018683980350mr45857732plo.6.1669883324884; Thu, 01 Dec 2022 00:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669883324; cv=none; d=google.com; s=arc-20160816; b=Rncao+dPOm3rBSXyJxPV6Ax+i44djbrTnBlJC8LbT6IM48Ei6EsNTfUsHRFe+CyyFo 2hEbN9BGZ8nrdKgpuWrACFGaWxLQMBFAH7ccBdZEXZG/C+11LpDp/22cRrTG2rTQgy69 GO+HfiguPL7hUr0/HkddV4YNcizEJFPFyCGyQUcxB2mVP2q7ERmcqfIVsyslv4bPGsaH cB2PAAR/zePqhaLG8VtFsmOCrb1ow6c1lM5kQIwLis+rNQSFbusCpMGlfWwjyBqPh6yT HKnbrhoDh2/IPUZGIyrps5jXPSGA+IthIJr5gUjWChikXEiqooyzedLZmFaaN5fazMZ5 /ngg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=I4MkZ3sR/CieRO5Y5T285rm+ZZ3CxzFEax+W5AvLe8o=; b=rjVzzdwhXdnyclzaZIPIMSLZPUbdXJVHEUNEfATta7QC6SZvQ4GhfcixO3l9mFM2My Q/2q2eHLDGY3a2BV4iNo+AhKLvYw+J5yS5DufjEwUINhDVIsKFZxNPjunZxRJssgU4CR rvmEF1uDo2V7K3+9xpZYl0r+exgJIrgCC484GziNBVb29heo69XBtn8WvUh66wn6uZmu /jDZfLpyWYGr5weEgiD6buKi3vRV8f/TvjxHIsE9/ZOx9rjOrryoYlTO9cMJDP5DuAEb yDAbK5iyQcET366BLv8LvGaD8I9GMTGojhayyGbPDRxrg6mCZhSMJ2vHSSkcY4Etgw2v ioNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="OG2i/MW1"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg12-20020a17090b1e0c00b00218b7afab1csi4382523pjb.97.2022.12.01.00.28.34; Thu, 01 Dec 2022 00:28:44 -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=@bootlin.com header.s=gm1 header.b="OG2i/MW1"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbiLAIQS (ORCPT + 82 others); Thu, 1 Dec 2022 03:16:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiLAIQQ (ORCPT ); Thu, 1 Dec 2022 03:16:16 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC1A25A6C6 for ; Thu, 1 Dec 2022 00:16:14 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 13C5F20002; Thu, 1 Dec 2022 08:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669882573; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I4MkZ3sR/CieRO5Y5T285rm+ZZ3CxzFEax+W5AvLe8o=; b=OG2i/MW1w6OfsxAC0zu1BkQwIE6Lf3XuECRvvwM9341jJC4kAKLifUdmWGWZwCJmGcCCIk 2WHMHLp0Zd4hmoE9ZrKyKx6gbIXEzbILEacZzqmw85hh2rfmzG1ViUu0wyagxHgkWUv5+u XfJR46d/Iv7J02srCdTlKnTOgrFcPTdTfiFtB3tUTfyvlJscn0vGiRJox2AQCg8jPXYWZN /zn4mHcScygqZ0QpsDa5FzHSye6tFxnF6v9P8icmJsLMLZ7N2tcKPgWqbTklb+Al+orMy9 bW5S8sJB0tBC1WQ8hJAmNoMqvmf7Yg5hT2+TjJMrpghBsgyiWR1PZcPUDXdoDg== Date: Thu, 1 Dec 2022 09:16:10 +0100 From: Miquel Raynal To: kernel test robot Cc: Mikhail Zhilkin , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, NOGUCHI Hiroshi Subject: Re: ld.lld: error: undefined symbol: __udivdi3 Message-ID: <20221201091610.524f7786@xps-13> In-Reply-To: <202212010140.pIueEBNb-lkp@intel.com> References: <202212010140.pIueEBNb-lkp@intel.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Mikhail, Hiroshi, lkp@intel.com wrote on Thu, 1 Dec 2022 01:46:36 +0800: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t master > head: 01f856ae6d0ca5ad0505b79bf2d22d7ca439b2a1 > commit: 9b78ef0c7997052e9eaa0f7a4513d546fa17358c mtd: parsers: add suppor= t for Sercomm partitions > date: 6 months ago > config: mips-randconfig-r033-20221128 > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4c= ea55f0d1104408b26ac574566a0e4de48036) > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install mips cross compiling tool for clang build > # apt-get install binutils-mipsel-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.= git/commit/?id=3D9b78ef0c7997052e9eaa0f7a4513d546fa17358c > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/= git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 9b78ef0c7997052e9eaa0f7a4513d546fa17358c > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W= =3D1 O=3Dbuild_dir ARCH=3Dmips SHELL=3D/bin/bash >=20 > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot >=20 > All errors (new ones prefixed by >>): >=20 > >> ld.lld: error: undefined symbol: __udivdi3 =20 > >>> referenced by scpart.c > >>> mtd/parsers/scpart.o:(scpart_parse) in archive drive= rs/built-in.a =20 >=20 Can you please try to reproduce this with a mips toolchain as advised and send a fix? Thanks, Miqu=C3=A8l