Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp780748ybv; Wed, 19 Feb 2020 09:06:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxymFClip9SrwO9YOyiP45wny0tzlAxnZoX+FhWBQozz4VqFPCUtGQKEnNrGdSGrfOG5q6c X-Received: by 2002:a05:6808:244:: with SMTP id m4mr5308362oie.125.1582131976712; Wed, 19 Feb 2020 09:06:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582131976; cv=none; d=google.com; s=arc-20160816; b=LgNxt503tkdI8LgJSXudbZ2qCMEloF7s42WwgmwsFMm0vJGoN/GxmCR73eRwIR4lHb UaBqh3h+YhQ/pE++QVPMf35DQefanMXX/zP+Jpbp9zEHOQTMU82n8H+rhGcdQnSmCda6 JGilONRRz/zUhZkSfOvoHZRDXaPSyaZBr33uo4nFGpWMZ/JKQ7IF9YUFJtpRdOYT0Rg2 nT/2sMpqf/JdmJH5EFiAZ/cP8a4wvEVitY9JryrVpGeo7+5CDAg39KZIoXAgJjB8find lLc9AnFiQkhjmMkt++ob+6lVvnbS4nj8jE0716FhJgtC+KsIiAP/oF/a18WT4KweV3kH RBFA== 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=exWL05JayHn5BdhAYdfBEgnxXtLqq4p4qZiCB3GWVIs=; b=vLzRxZDIfL4bwEw6qXgcJUJIwCsk6Ltz+8DWXfOxPG1in9pKsVngD1KIH9895Bibhi 6dt9T47TQ85ApMUTzfIcTbExGfLr+r2ObLM4G/HU4qkqv/vN+s56V0SFSTTUG6f0W4AO ijPDsM483Z1Xs02u0yhXh3T537q8ISv7r/WfEYESSqLl3qn3gl5qFwxbuGACvYRCzyNN Pon/t4ayzdbQakw0UF/U1WO19UDCB8C71MRaoze+OFp1s/tnIHGV9l7pZxeuwhIQcQVz haphRDOfiojGo6RdrucMe4fwjyT8PrH3VUK+PPNgX52RCAnDFhSw7HAFgTzkHYwRwniC RmDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nn6GcX7J; 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 d12si130427otc.307.2020.02.19.09.06.03; Wed, 19 Feb 2020 09:06:16 -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=Nn6GcX7J; 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 S1726719AbgBSREN (ORCPT + 99 others); Wed, 19 Feb 2020 12:04:13 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:26808 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726645AbgBSREL (ORCPT ); Wed, 19 Feb 2020 12:04:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582131850; 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=exWL05JayHn5BdhAYdfBEgnxXtLqq4p4qZiCB3GWVIs=; b=Nn6GcX7JZ2uf7GINj5sKaQRleMw6MOOH1R7c85M66Cy8EJiggpduxAPRLoJ8zhhH1ru/PR DfAIfuaSOtFiWa6vG8MiymLlXtkmxAaq73Jylmvm5cGcGw1gfFsg6NVIOddy3kuBPnbCHD 8UISMOlGlfh137B7sWSZJYmEPaysO+M= 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-290-mWSCxuclNjqLmW2Pn4jUWw-1; Wed, 19 Feb 2020 12:04:03 -0500 X-MC-Unique: mWSCxuclNjqLmW2Pn4jUWw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC55C477; Wed, 19 Feb 2020 17:03:58 +0000 (UTC) Received: from carbon (ovpn-200-26.brq.redhat.com [10.40.200.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7285F60BE1; Wed, 19 Feb 2020 17:03:50 +0000 (UTC) Date: Wed, 19 Feb 2020 18:03:48 +0100 From: Jesper Dangaard Brouer To: Alexei Starovoitov Cc: Andrii Nakryiko , Andrii Nakryiko , "netdev@vger.kernel.org" , BPF-dev-list , Daniel Borkmann , David Miller , LKML , Greg Kroah-Hartman , Anders Roxell , Toke =?UTF-8?B?SMO4aWxhbmQtSsO4cmdlbnNlbg==?= , brouer@redhat.com Subject: Re: Kernel 5.5.4 build fail for BPF-selftests with latest LLVM Message-ID: <20200219180348.40393e28@carbon> In-Reply-To: References: <20200219133012.7cb6ac9e@carbon> 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.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Feb 2020 08:41:27 -0800 Alexei Starovoitov wrote: > On Wed, Feb 19, 2020 at 4:30 AM Jesper Dangaard Brouer > wrote: > > > > I'm willing to help out, such that we can do either version or feature > > detection, to either skip compiling specific test programs or at least > > give users a proper warning of they are using a too "old" LLVM version. > ... > > progs/test_core_reloc_bitfields_probed.c:47:13: error: use of unknown builtin '__builtin_preserve_field_info' [-Wimplicit-function-declaration] > > out->ub1 = BPF_CORE_READ_BITFIELD_PROBED(in, ub1); > > imo this is proper warning message already. This is an error, not a warning. The build breaks as the make process stops. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer