Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4240159pxj; Wed, 12 May 2021 00:48:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqMjQoD6N0U/0m+NlJJXPIh9W4M8eaYO8EucBn+f6hGXWGFvPAoA3Mt+tOki17t8aN8Z88 X-Received: by 2002:a02:5b85:: with SMTP id g127mr31163624jab.80.1620805688428; Wed, 12 May 2021 00:48:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620805688; cv=none; d=google.com; s=arc-20160816; b=xpnnG3CIG8uHquhJdeA8v/799FiTr99esw2c2M/WuJqtVIBE+kZkBOxwCZ4G1vCJE4 XJSiHVAZnq4JU6e/pXqKbDXW0QFgK9s1383mWGgxbN3l8SfgJEuJOqRWIfpG1RjAhXqt zoqoieAtibvdopdtlKcfpYkX5uNSJcXbahslK/2qb9RL31aPHmaAw0aOZjQ+iP6b+T8Y LxElzO2JO3GggLfFsCftjis/j7597CP/aIV9wFy8K4J2+HNJLX6x6XxggUodKmlrVq5w k3TfqKFAtc4rW/GkcY5S98sPkOq9cWprHUyAQhBLGIfgyZ2Eg3Lv8hDWRrwlsOAsq0sv 2ndA== 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=5xhSPWX8vVcznrJvxkRECz4zv/tj5I9VeJeqcJlGk5o=; b=Q1XIUDN4NhgEP2YdoJxuHAWB5NmosXhT9HnV6eGQc1vhUaDxpZOBYDiObtbI3dqhzh IuHGO3vML6uv6bRiZ/708ZZKikg8YsSmYwOVY22iW40qBywzIeRZi4fZoCmvJl48ospw 8GJliXAgTDj0hTBvlmTMX8TU4ImPTBLBPJslJH90ZRKPfDBQsH9GlqnINk4E7omFeQDW o//Oe91BSoULiFz+65SC50z/N3oqibkCI+2nu1et6OPkC08cwEEb48X3eKtzTW7xTzPh Gy3BkEUEqEp8g0275IXJfKknMabATimONTbdTQG1RZOnOsWPZzEbWXFr3khat/EsbTv0 a7cg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si21828986jap.85.2021.05.12.00.47.54; Wed, 12 May 2021 00:48:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbhELHs0 (ORCPT + 99 others); Wed, 12 May 2021 03:48:26 -0400 Received: from ivanoab7.miniserver.com ([37.128.132.42]:33284 "EHLO www.kot-begemot.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbhELHsY (ORCPT ); Wed, 12 May 2021 03:48:24 -0400 Received: from tun252.jain.kot-begemot.co.uk ([192.168.18.6] helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgjZw-0007XN-Id; Wed, 12 May 2021 07:46:48 +0000 Received: from jain.kot-begemot.co.uk ([192.168.3.3]) by jain.kot-begemot.co.uk with esmtp (Exim 4.92) (envelope-from ) id 1lgjZu-0001kn-0v; Wed, 12 May 2021 08:46:48 +0100 Subject: Re: [PATCH] um: add 2 missing libs to fix various build errors To: Randy Dunlap , linux-kernel@vger.kernel.org Cc: kernel test robot , Brendan Jackman , Alexei Starovoitov , kbuild-all@lists.01.org, Jeff Dike , Richard Weinberger , linux-um@lists.infradead.org, Johannes Berg , Johannes Berg References: <20210404182044.9918-1-rdunlap@infradead.org> <9f7eeb70-8ddc-fb04-a378-5f1e80d485e6@infradead.org> <74a0ba94-9a22-b7a4-3c1b-596ddbaa856e@cambridgegreys.com> <2a2ddf5b-3d08-1a13-94c8-ae2ca0e6444b@infradead.org> From: Anton Ivanov Message-ID: <2f1283d0-64bc-a225-cff3-71893fdf3330@cambridgegreys.com> Date: Wed, 12 May 2021 08:46:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <2a2ddf5b-3d08-1a13-94c8-ae2ca0e6444b@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/2021 02:56, Randy Dunlap wrote: > On 4/9/21 10:28 PM, Anton Ivanov wrote: >> On 10/04/2021 05:13, Randy Dunlap wrote: >>> On 4/4/21 11:20 AM, Randy Dunlap wrote: > > > [snip] > >>> >>> There are still some build errors in 2 object files: >>> >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM2' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x2f): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x3c): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x56): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: kernel/irq/generic-chip.o:(.altinstructions+0x63): more undefined references to `X86_FEATURE_XMM' follow >>> >>> and >>> >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM2' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x2f): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x3c): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x56): undefined reference to `X86_FEATURE_XMM' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x63): undefined reference to `X86_FEATURE_XMM2' >>> /usr/lib/gcc/i586-suse-linux/10/../../../../i586-suse-linux/bin/ld: drivers/fpga/altera-pr-ip-core.o:(.altinstructions+0x70): undefined reference to `X86_FEATURE_XMM2' >>> >>> I don't know what to do about these or what is causing them (other than >>> "alternatives"). >> >> I have a patch in the queue which should fix these - it "steals" the bug/feature definitions from the x86 tree. >> >> A > > Hi Anton, > > Can you post (repost) the patch for these or point me to it > on a mailing list, please? > > > thanks. They are in patchwork: It is the first patch in these series: https://patchwork.ozlabs.org/project/linux-um/patch/20210312151609.24745-2-anton.ivanov@cambridgegreys.com/ https://patchwork.ozlabs.org/project/linux-um/patch/20210312151609.24745-3-anton.ivanov@cambridgegreys.com/ https://patchwork.ozlabs.org/project/linux-um/patch/20210312151609.24745-4-anton.ivanov@cambridgegreys.com/ Best Regards, > -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/