Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp601479ybv; Wed, 19 Feb 2020 05:44:29 -0800 (PST) X-Google-Smtp-Source: APXvYqzs37MKTPAho4vvs8Um0hib4GmxldeAaE/CWk/YyFb7MH2XG1Lmx4YaMLDB46eLuKwf8ige X-Received: by 2002:a9d:62ca:: with SMTP id z10mr3214950otk.263.1582119869534; Wed, 19 Feb 2020 05:44:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582119869; cv=none; d=google.com; s=arc-20160816; b=gbHd5WGP8yxED6JXr0ssOpePTsSZPFDEgxb238IwUy4tLPKApuufXnC6WvMqLV4vEY OVdav1u4LTcME1jvIXLUqYyVwAszYB87dTGa1WYUf3YXGC1cBgFEwi5UM/xQ10mhQhk2 L/EMQqBs0YJ3s+Wb8ajsxEhNDU175Zn2caLIgHzpGFnF2J5iAIOu/uWVeltz0fAYim3X 5XfJ9dEG5mvOAUkRgS20otn6cWz8u1BC8xOGz1QF63s+y2eaYoTVqK6G1cGksrwpoQnR LVuHG5NrSPE3HPZ/bp4VfoErSl3yN8SGfACx7zwNnwf5TB+0ud+QsjTAwKfIyodiOjuf SmIg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ogUgNQHMZGphvFbHLWSXZKUdZldeedaIJcgIFpDuE+4=; b=vX4U8P75TjAE84ICv2SQlfJ5GeSUfHwE9dtxWqQI/pGfamuZqdQyt16rfg8uQUcTtM yOFcPn+muSzKOm6bzgJS+OtdD51eXGEPS+JLejdDApNG8jnbXYJM/ZrO+EM3nv154yTa zQRcBJB+OqdTkPBEk/WfYWos/tnjFzpCb4RQOzeHlkR32mPX/Fl4KpqtEiGK8iYT2MFZ aHFjbJmpBIQA+2j3+lnsx6vccpEztWHwAcXlX8+bmIsX33Nm9nC8a/fc2n3IPL1S4UtQ znvIEPO31x1CbC2Zebgo1gY5eV/MecP7pQ0hHPSNd38XHrYo1bya2XOfUaznfEHYGlb8 OmeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J7s5sJmP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h22si1805745oie.189.2020.02.19.05.44.17; Wed, 19 Feb 2020 05:44:29 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J7s5sJmP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727263AbgBSNnL (ORCPT + 99 others); Wed, 19 Feb 2020 08:43:11 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:60016 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726548AbgBSNnL (ORCPT ); Wed, 19 Feb 2020 08:43:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582119790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ogUgNQHMZGphvFbHLWSXZKUdZldeedaIJcgIFpDuE+4=; b=J7s5sJmPffvZw0EwOC7GX6nBp98FmgPHkvU/dXF5wxj0GX2xmABTyG9RqqXFTCVijI3zyO VrmEzFkG2pCeiQY0qAKqNzUokgBZUTnVqoOFGJd+85CnCzbEXdR20cEe18JSz4pRIIdMJv pSkjJSIV3b2mp2oUKuXRLasSEEaddWU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-365-1C0NK7uANj6M3v3QxALrfQ-1; Wed, 19 Feb 2020 08:43:06 -0500 X-MC-Unique: 1C0NK7uANj6M3v3QxALrfQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C36288DE74D; Wed, 19 Feb 2020 13:43:04 +0000 (UTC) Received: from carbon (ovpn-200-26.brq.redhat.com [10.40.200.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7D08A90F76; Wed, 19 Feb 2020 13:42:55 +0000 (UTC) Date: Wed, 19 Feb 2020 14:42:54 +0100 From: Jesper Dangaard Brouer To: Greg Kroah-Hartman Cc: Andrii Nakryiko , Andrii Nakryiko , "netdev@vger.kernel.org" , BPF-dev-list , Alexei Starovoitov , Daniel Borkmann , David Miller , LKML , Anders Roxell , Toke =?UTF-8?B?SMO4aWxhbmQtSsO4?= =?UTF-8?B?cmdlbnNlbg==?= , brouer@redhat.com Subject: Re: Kernel 5.5.4 build fail for BPF-selftests with latest LLVM Message-ID: <20200219144254.36c3921b@carbon> In-Reply-To: <20200219132856.GA2836367@kroah.com> References: <20200219133012.7cb6ac9e@carbon> <20200219132856.GA2836367@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Feb 2020 14:28:56 +0100 Greg Kroah-Hartman wrote: > On Wed, Feb 19, 2020 at 01:30:12PM +0100, Jesper Dangaard Brouer wrote: > > Hi Andrii, > > > > Downloaded tarball for kernel release 5.5.4, and I cannot compile > > tools/testing/selftests/bpf/ with latest LLVM release version 9. > > Is this something that recently broke? If so, what commit caused it? Digging through, it seems several commits. > And has llvm 9 always worked here? Yes, llvm-9 used to work for tools/testing/selftests/bpf/. > > Looking closer at the build error messages, I can see that this is > > caused by using LLVM features that (I assume) will be avail in release > > 10. I find it very strange that we can release a kernel that have build > > dependencies on a unreleased version of LLVM. > > Is this the first time you have tried using llvm to build a kernel? > This isn't a new thing :) LOL - we are talking past each-other... I'm not building the entire kernel with LLVM. Notice I'm talking about the BPF-selftests located in directory tools/testing/selftests/bpf/. Building the selftests programs are broken We always use LLVM to build BPF programs (both samples/bpf/ and selftests). > > I love the new LLVM BTF features, but we cannot break users/CI-systems > > that wants to run the BPF-selftests. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer