Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7075293rwl; Mon, 9 Jan 2023 17:40:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXvpaGr6f7mRM9AkiDXmqb8QkPb6j6Zg0G9o124Rs2cvN3rCGN/U5Q053JEwYCYl1A1SiQ8r X-Received: by 2002:a17:902:d486:b0:186:60c0:9f9e with SMTP id c6-20020a170902d48600b0018660c09f9emr100891991plg.39.1673314833633; Mon, 09 Jan 2023 17:40:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673314833; cv=none; d=google.com; s=arc-20160816; b=nDDmM9e2BVf28GoyR9dvIh4VapUFGNiRUSh5Jh9aY26KAwCdry94bD+bnX3G25oG8/ m31TW0tSBHa8f8H+5xxeMQHDZV/Rsj3Fh/tioEyWO4rffgkMp2JS8mT5IxnqtzvmmySa fFwgq5YrYP+xOeZnhJTUAkRl0nUFna0hRIGItdKbUOme3TZrblmnQ9Prx5xBp31Ydvwt 2/pVInjHhVCCU/xAkIgF6oh8QAEwjU9Q4MvPoW3xuRV7mDvhURcK5YyRD+i21yr7epNy uBoMPddlqWZL8n2CmglzkaoFz53R52Cbe3CwujtAQwjR6yaaTZ+FJ+jbawluAXku+4l6 cbfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=XpJD+L3KUHwfuEC+qEW0Awu+Hvc4EUNq0z5xs495Jbs=; b=OPSjIuDzF8vDMjMAKaNXxFOTvRwfRo73nuvAJxgAraP7JbAkf67xQIST1zbJlgnE21 n1u7zveq6b5/+vxDS9HrFDYnPifYUL39m6MWa+L8i7AsFYFLV6WZP6d0nFelUzEEa6Vu ODLihhzr9XnQNTOOwV0cbUQGa7jCJ/6Nbzv3ug4/Juo9QaGuSb8pm2OOL8/q+z5JJ2af 1seNEjUMEVy5MLpyph5PUExX2Fjij0INpuIbcPhYGFY9Aog79WWSrsgqH9ao+SpqYf7J l5MklKFFremGTIwb54r2MO69urQE9Lo20fNJnzG7fDBbaOZhzVvknj5Ef2yo90RxE/SY z4iQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n12-20020a170903110c00b001870dc9ef5asi11095649plh.285.2023.01.09.17.40.26; Mon, 09 Jan 2023 17:40:33 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbjAJBOA (ORCPT + 53 others); Mon, 9 Jan 2023 20:14:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbjAJBN7 (ORCPT ); Mon, 9 Jan 2023 20:13:59 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20FD934764; Mon, 9 Jan 2023 17:13:57 -0800 (PST) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NrXpr5JsTznTWs; Tue, 10 Jan 2023 09:12:20 +0800 (CST) Received: from [10.174.151.185] (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 10 Jan 2023 09:13:53 +0800 Subject: Re: [BUG Report] undefined reference to `convert_to_fxsr' To: Nathan Chancellor CC: Borislav Petkov , "x86@kernel.org" , linux-kernel , "tglx@linutronix.de" , "mingo@redhat.com" , Dave Hansen , , linux-toolchains ML , Michael Matz References: <64fe1be4-954f-fe6f-44f0-59b572548663@huawei.com> <08115444-73a3-b9b0-dbeb-2a0cf374290e@huawei.com> <88dbc59d-1a33-26be-7fd3-0fcdfef33b3a@huawei.com> From: Miaohe Lin Message-ID: Date: Tue, 10 Jan 2023 09:13:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 2023/1/10 1:09, Nathan Chancellor wrote: > 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 :) That's really helpful! Many thanks for your offer. :) Thanks, Miaohe Lin