Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5052998ybl; Wed, 22 Jan 2020 09:24:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwldq42liTLGv9xmjFPCld0aJSZXPsR8HLlxYJBkc88Pn1ccqBBBhnRjXXZy+O6801SQ7ll X-Received: by 2002:aca:bac3:: with SMTP id k186mr7835033oif.19.1579713872923; Wed, 22 Jan 2020 09:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579713872; cv=none; d=google.com; s=arc-20160816; b=VFn+ePye0dcuj7Hklfjh4hxCTL2Q+3nnUQYlLETkWRoCT767YP+uI57E9w8qaT8Q64 wyzPDtELZEws/9NQ6GPiHzb4hJPoxfrn1+3RwZQxY7JxMMn6LoZw1tCfAPNYDRPhEHX0 Lj1QWVFRJ4ivJLtcvNQgz+fyHonSYXmr7ptyQ7fyQJ0R1uMUMIotXh5sH9/mXbWJjsBz GUjve6G+gB86iRtabtxa8wHHvl5mrETyo0EpPJ4QOJDFv8V0NNNmv9sLoEheCcRuRDAh hhqrgeL77Ucl3ks+w05YaxgX8n82hmzrNG00iuZIUHKSnhye4/5faugJSGmRm3aBkb6Z yo0w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=eVzpv60jQZUtjMoDFTGDoC7MAORD86JVAg4oKuIiaqM=; b=0V0UOdnmjfvYeEg+xALwgCVrMRI39pv7JByRM69f1hNhpYBKZdnkPFB5q4LB/QTAUl H79tqJQGe9gXmB0pEoqEy9zlMf84+nmlwZbEqk7b3d4/uHLze6NvyQA7Hhbm6jhCMIfy IJS8pr+oNO12qiL7gFACZMU7u3vM07cm2MErDPF3Yhd3AMUMhBy9gLN5s5b7tUOEZff7 RL68W45GOrOS/bLxOcWmdtnYzmii10s9FDXj08/iVvkTg1Yr55UelHmy9CwwLKa88hq4 Sc55+y2KvIOvj+p14kqIXCjGhoAqzSPk9iqux1EuenaBrK+KWogB66o1DvbrkpSOzL7o 6e8A== 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 b67si12430990oii.79.2020.01.22.09.24.20; Wed, 22 Jan 2020 09:24:32 -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 S1728816AbgAVRX3 (ORCPT + 99 others); Wed, 22 Jan 2020 12:23:29 -0500 Received: from www62.your-server.de ([213.133.104.62]:49958 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbgAVRX3 (ORCPT ); Wed, 22 Jan 2020 12:23:29 -0500 Received: from sslproxy03.your-server.de ([88.198.220.132]) by www62.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1iuJiu-0004Uq-PA; Wed, 22 Jan 2020 18:23:24 +0100 Received: from [2001:1620:665:0:5795:5b0a:e5d5:5944] (helo=linux-3.fritz.box) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iuJiu-000NiI-DM; Wed, 22 Jan 2020 18:23:24 +0100 Subject: Re: [PATCH 3/3] selftests/bpf: Build urandom_read with LDFLAGS and LDLIBS To: =?UTF-8?Q?Daniel_D=c3=adaz?= , shuah@kernel.org Cc: Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , "open list:KERNEL SELFTEST FRAMEWORK" , "open list:BPF (Safe dynamic programs and tools)" , "open list:BPF (Safe dynamic programs and tools)" , open list References: <20200117165330.17015-1-daniel.diaz@linaro.org> <20200117165330.17015-3-daniel.diaz@linaro.org> From: Daniel Borkmann Message-ID: Date: Wed, 22 Jan 2020 18:23:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200117165330.17015-3-daniel.diaz@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net X-Virus-Scanned: Clear (ClamAV 0.101.4/25703/Wed Jan 22 12:37:53 2020) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/17/20 5:53 PM, Daniel Díaz wrote: > 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 Applied, thanks!