Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9281599ybl; Fri, 17 Jan 2020 09:15:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzx+SYUlid84tvHf9xTfQ3HF1Jq4rGHgXdcfG3xk74FrsGh2SDL6aKxgGfdJB6ouncpSoQY X-Received: by 2002:aca:481:: with SMTP id 123mr4305348oie.110.1579281339364; Fri, 17 Jan 2020 09:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579281339; cv=none; d=google.com; s=arc-20160816; b=CjhCaSwzPILh2W1VVe2t150wW8yXe4fXjtoccfQO7cQbX4r3pCP8wypN1/dETV08Wk 75LGJqOFy1pVFttqwn2mO6BvSQnHzbLuUvLhMu9+PWlTSuF9+LzT77SOpDkZsmVmll79 OgB6xiuji7b94RSYgBKdVDVXUg/8eQSYH8nRfcpusYHfHBJjt/Ds4rGXsGC/Rg4necZj 3nXBTaQs4S/hs7KfAgYc/yxZbL6Ap2/6dxCgoGKKLCS54+eDnpUZ2/lrNZAgT2bwIgDS H/ySkmVFtoq0JcklHXJ/5SEhcDwG5rSHWeGVJ87XvQrtJkEARnZIdBp5usf/V5zOS165 OCBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=T1d4BqY+j80czKxYlz1z0ny2rfnI+dwOyM86J3h6Jf8=; b=X9SkkteDs92CsSLu8x+g+OQSTtIESXxhz3swNxKfH7GWhfd+aW27cHKOpjMsve9391 HSTn3Tgak79/YC2dASbqUbM84k6kY0UmtDnhWBIXUlF2qZ7gRfpyR+oLdqNUeTEjuCjt MGfLTpJ9wAT14E/ryiUZaXV/mLsvw86LBm0kEs6g2U+8CCmKrwG7RdxshKthAmivf2S4 m0kZpfNecxpWxJ7M6U/iP2tMUroO/3lk9wu0KOvRrA8AoAqRaaHFMA1Xp1OYQIBsoilE K3AetNE8DuABmSc1iOTvfeWuSa5K9FaN35edsnpElEerXPuqyvXv0axW9gJRbJp6D88+ vEfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si13876434oih.154.2020.01.17.09.15.26; Fri, 17 Jan 2020 09:15:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728984AbgAQRNC convert rfc822-to-8bit (ORCPT + 99 others); Fri, 17 Jan 2020 12:13:02 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:56972 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbgAQRNB (ORCPT ); Fri, 17 Jan 2020 12:13:01 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1isVB3-0004oZ-AA; Fri, 17 Jan 2020 18:12:57 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id CD600100C19; Fri, 17 Jan 2020 18:12:56 +0100 (CET) From: Thomas Gleixner To: Daniel =?utf-8?Q?D=C3=ADaz?= , shuah@kernel.org Cc: Daniel =?utf-8?Q?D=C3=ADaz?= , Andy Lutomirski , Dave Hansen , "open list\:KERNEL SELFTEST FRAMEWORK" , open list Subject: Re: [PATCH 1/3] selftests/x86: Build with LDFLAGS and LDLIBS In-Reply-To: <20200117165330.17015-1-daniel.diaz@linaro.org> References: <20200117165330.17015-1-daniel.diaz@linaro.org> Date: Fri, 17 Jan 2020 18:12:56 +0100 Message-ID: <87muam0zxj.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Daniel Díaz writes: > During cross-compilation, it was discovered that LDFLAGS and > LDLIBS were not being used while building binaries, leading > to defaults which were not necessarily correct. > > OpenEmbedded reported this kind of problem: > ERROR: QA Issue: No GNU_HASH in the ELF binary [...], didn't pass LDFLAGS? > > Signed-off-by: Daniel Díaz Acked-by: Thomas Gleixner