Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6531330rwl; Mon, 9 Jan 2023 09:28:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXvz+awK61RSdmGfBoWazdTqV/pgH19YGOV7KLLhmIFPmQFzn1DHEmkFPqsFcLzFys0QaURV X-Received: by 2002:a17:906:9b46:b0:84d:4767:734 with SMTP id ep6-20020a1709069b4600b0084d47670734mr2953220ejc.6.1673285285603; Mon, 09 Jan 2023 09:28:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673285285; cv=none; d=google.com; s=arc-20160816; b=l5Nb57OjnIjz5dnMDGoHpdbe0ENGLyAlUbffAfr1dEkCuCV2M2Bwb6591U5AIztlY3 QauAv0Lg2Tlym0kfDz/6MYPca2Z5U/G523EAiXjoExS0ZVobnl7flyt6c9cej1yQv9ZN kBRX5vfWI5FQ/Oo+hUq4+VwOP94PtbRoLQ9+Uk/giVQMdTix+6bArJ0Ae40oWhjRE2k8 L8lj8mHpAMPY/9jahol99djchNtXJsPFvBxQwTfWbxhs0EgCPGP2cBOwWMAH5Csrbb55 eKYo+XitID2dJN49WfeTSgemUUgGYya4FbgHfpCBSI7ngeiLsgmP8hqH21OG3eeoyDJE wLHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T6ex1vEo8m9aKSaqNOdR5kBiM3Xnj0PxcVUsXpwx5uE=; b=dQznEGLu3JEp8vQb5vc4PSvdh9ekW6ujPEjuVdvoEx2wbf8gabxycUZ/RJWJ/g9BnY LaiHbeN6TkB4uGtEmCbVRhi/Wfm/2+dDI4xqZipd5O0/uDYb5DY7qJt1KLLEGCsy5Zgv o37hjJRHhF9vKU6k9iBgfPhMvbCE0cQi4G0broWq6l/rByjl8V2kKL5rM0zgXCdhpItt UeiaWs+/pWs7XjPo+KQWGRsxp65VD390jcNnxUOC5BJJOclsL9JeP3D69FiokKTLmjVK W/mEZotafJhUpVyBTmLiEmzzTKE/QmG5F/fhDKr4YLn4vI5329IzNK46V7huIYuIPS8y gA4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ONxwBl0y; 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 cm25-20020a0564020c9900b00482a5c9b04fsi8025910edb.519.2023.01.09.09.27.52; Mon, 09 Jan 2023 09:28:05 -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=ONxwBl0y; 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 S234687AbjAIRLQ (ORCPT + 55 others); Mon, 9 Jan 2023 12:11:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237443AbjAIRKa (ORCPT ); Mon, 9 Jan 2023 12:10:30 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A4E94D723; Mon, 9 Jan 2023 09:09:19 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 1996D61221; Mon, 9 Jan 2023 17:09:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95D39C433D2; Mon, 9 Jan 2023 17:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673284158; bh=2nQaI7Jt8+dS1/K4JwljCX/V5m1hrZch0m+SlDMkERA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ONxwBl0y0KWmwBNXYdpvOf7F6tca/Gadpdze7ah7QCG6Q0ErBZQgQt0ZOSa5TJOTw 98MChJ34JEYVFLqN2cguPCATTTMou3LdKiVoc7qdojpZKLPL5W5q6glc4o3Jbh/G7v 9tZFatWxspvsNMr4OQxFqHE1saNFupcqJLDjqxGSO1NwQQdcP+OASIKMiztNOaD1yU FUvYUnau7AHeZt6kv2nSSGl1sWy/IvxfldGdbcwg89Wkgv7idTW1kbv1anJe5r0Qw4 93AaiAV7uFOfdsBc+lRVR+Kwz5i0U43rdGUeEiBUB0GT8nnh9rHmp0xXSGC3nV4IEs /kgDpkAhV1FIQ== Date: Mon, 9 Jan 2023 10:09:15 -0700 From: Nathan Chancellor To: Miaohe Lin Cc: Borislav Petkov , "x86@kernel.org" , linux-kernel , "tglx@linutronix.de" , "mingo@redhat.com" , Dave Hansen , hpa@zytor.com, linux-toolchains ML , Michael Matz Subject: Re: [BUG Report] undefined reference to `convert_to_fxsr' Message-ID: References: <64fe1be4-954f-fe6f-44f0-59b572548663@huawei.com> <08115444-73a3-b9b0-dbeb-2a0cf374290e@huawei.com> <88dbc59d-1a33-26be-7fd3-0fcdfef33b3a@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88dbc59d-1a33-26be-7fd3-0fcdfef33b3a@huawei.com> 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 On Mon, Jan 09, 2023 at 08:32:09PM +0800, Miaohe Lin wrote: > On 2023/1/9 19:49, Borislav Petkov wrote: > > On Mon, Jan 09, 2023 at 09:48:50AM +0800, Miaohe Lin wrote: > >> Oh, sorry, I miss-read that. My compiler is gcc-7.3.0 which contains many > >> in-house codes from our company in it. That might matters. Thanks a lot for > >> your guidance. :) > > > > Yah, next time, before you report something like that, try to reproduce it with > > an official compiler (gcc from the upstream repo, SUSE, Debian, RH-built etc). > > > > If it doesn't reproduce, go complain to the folks who hack your in-house > > compiler. > > Sorry, my bad! I thought my compiler is just as same as upstream one... Many thanks for your time. Just for the future, in case you were not aware of it, Arnd provides vanilla GCC toolchains, which can be really helpful for ruling out (or blaming) downstream compiler patches as the cause of problems: https://mirrors.edge.kernel.org/pub/tools/crosstool/ You might not run into this problem again but if you do, it might save some time :) Cheers, Nathan