Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6502508yba; Wed, 1 May 2019 13:42:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxBd8eshT0K4iu/XJJCA56an2jeyC3qxpQKN6mmQgBr+LRpOkjblyUVrR0TBnJr7E3QPAjN X-Received: by 2002:a17:902:6b02:: with SMTP id o2mr16235000plk.24.1556743343991; Wed, 01 May 2019 13:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556743343; cv=none; d=google.com; s=arc-20160816; b=EYrGysSnH2Mdp08Uk5oPe76B2od22fOsK85y+HmMC78GsectMVYrWmcypNHNQ+Jn0/ vBdpah957bUXFHu8rPxJaWBEK6X3kJQ6T+PwsucH7OLEW9DYDC1RX0aaKn7gYzM+WEWa oH9Dcm7UouEXZLqV3Yl3X1zgHYCovkjNuRwxaOd32Fu/jxg538RyaKcGrWT4VvWA0wpg 7jhXZmFoWci8xm+pmZbZp6HXw1U/8G1wb34+c6rxyJ2z3LBNhp/IE1s2sTgGRYoeuj/9 s2vN+M8aoOn0Rs9TLeu7/IQobqsl0fPLpxRSO0572vOQ2N5Uzsvznmd0mCM2p53Xv5Ob kejg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=pMnJNBghgbvx76yH858QzVrsxw6HsYRaSJHXl4FlOF4=; b=Z+v+Vv54c9cOjZJbBcaPfs/pujRDhUVNe+KX8b1i6BL3ch71DZVPnnF27zBfy13PRJ aldqcp0T8IeOK8/+r6gSau82qlcDzS+ir2UsyQeX2+3YXDhjxKF5Mhrow2XLxVL9FB3h sKo19UidFeA5ckDY9Tg5hkXa5qPo/FrB0vzjChZg7GcCQ9yi+DohlPphqzZ+SFMJpbA2 Sg4LN19GEcwwfU8IIcpmJ7sim2taAEkUclpQFt766xpIG7BvNwxaTsWKdNzdxpDqS2Wg HuD3qVoP42wciXO2r4jbBghyuTHrX6+ytDPywj5ydFvEVe1nFBSqVj3bM7EHO27c1NiN u0GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AI68YZzL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si41933675pfn.164.2019.05.01.13.42.08; Wed, 01 May 2019 13:42:23 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=AI68YZzL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726145AbfEAUlS (ORCPT + 99 others); Wed, 1 May 2019 16:41:18 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:35960 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726120AbfEAUlS (ORCPT ); Wed, 1 May 2019 16:41:18 -0400 Received: by mail-yw1-f66.google.com with SMTP id q185so12968ywe.3; Wed, 01 May 2019 13:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pMnJNBghgbvx76yH858QzVrsxw6HsYRaSJHXl4FlOF4=; b=AI68YZzLhQCxtwydtmox2s1kV3MxxSqKLPVFS6Og6Gd3M5gFoe2OKCwXhiEz1+15uv IiRRn97M0iThIQUH/BaPwDUkQcGbGb5S4Uf5Hn7qD43VNYF8XJyp69yAXPzaT9Q+mneS ei7OpQuFfULYkKf0p/+x45ptb97L0DDa35FckTqUub2nfxm7kqGHKnB+mWXBg3DIOpI8 c9UJVKFAolmwD2cqm+KSE5QVowk3QwciDGDzpD78k9wkn1DDIjVkcMKI8yv5hDDIOaiR 5XMKmTgXuRbNGyaDp2jIVkFIqtXeztgTYLwSYyKbh2iGEmSCHkfrkOV6yWNSP/rAaUOY v0MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pMnJNBghgbvx76yH858QzVrsxw6HsYRaSJHXl4FlOF4=; b=jLqGZrC+objXWLzEKA0pvXtzzwU8vk7hOY6/d9ptuWfyFh0+wMC8BKB4Y/7mQWTlI4 wqxWrTdZCmIq5/R5TOV72L9c5a3e8R3tEPGcQ8FMygtNJhVoBJnuwb8ygLyiyOpkASCj v1J7cKxZR1+cBln5FxSTjVavLClwF5og3qi+aR70RJ/RaX+9W7x/uMBx/q0tzXEs90fl 8ZrUkJO/XgS/kLk42l8kSbl0yqUJuW/3ddkjPwCetqPO6Hm2frZ02xxqC+ahtWRDdA56 TEMXQXUngY3zn4IOJ5yt5owpJpKPawZyIA4JnYQn5OZ6qat9JIasUssfAcQOBpctni6m KUtw== X-Gm-Message-State: APjAAAXq13Q+Bxg3TruOnK51QwB4LabS491K4ZXWVoDWvIlTwKQZG6/5 5ZpsgFpIEns3JDLa4hhuc/Q= X-Received: by 2002:a81:9b4c:: with SMTP id s73mr57372980ywg.213.1556743277470; Wed, 01 May 2019 13:41:17 -0700 (PDT) Received: from quaco.ghostprotocols.net (adsl-173-228-226-134.prtc.net. [173.228.226.134]) by smtp.gmail.com with ESMTPSA id e12sm2643769ywa.103.2019.05.01.13.41.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 13:41:16 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 9B4674111F; Wed, 1 May 2019 16:41:15 -0400 (EDT) Date: Wed, 1 May 2019 16:41:15 -0400 To: Arnd Bergmann Cc: Vineet Gupta , Arnaldo Carvalho de Melo , lkml , "linux-perf-users@vger.kernel.org" , Jiri Olsa , Namhyung Kim , arcml Subject: Re: perf tools build broken after v5.1-rc1 Message-ID: <20190501204115.GF21436@kernel.org> References: <20190422152027.GB11750@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Apr 30, 2019 at 06:12:35PM +0200, Arnd Bergmann escreveu: > On Mon, Apr 29, 2019 at 7:17 PM Vineet Gupta wrote: > > > > On 4/22/19 8:31 AM, Arnaldo Carvalho de Melo wrote: > > >> A quick fix for ARC will be to create our own version but I presume all existing > > >> arches using generic syscall abi are affected. Thoughts ? In lack of ideas I'll > > >> send out a patch for ARC. > > >> > > >> P.S. Why do we need the unistd.h duplication in tools directory, given it could > > >> have used the in-tree unistd headers directly ? > > > I have to write down the explanation and have it in a file, but we can't > > > use anything in the kernel from outside tools/ to avoid adding a burden > > > to kernel developers that would then have to make sure that the changes > > > that they make outside tools/ don't break things living there. > > > > That is a sound guiding principle in general but I don't agree here. unistd is > > backbone of kernel user interface it has to work and can't possibly be broken even > > when kernel devs add a new syscall is added or condition-alize existing one. So > > adding a copy - and deferring the propagation of in-kernel unistd to usersapce > > won't necessarily help with anything and it just adds the burden of keeping them > > in sync. Granted we won't necessarily need all the bleeding edge (new syscall > > updates) into that header, its still more work. > > I think more importantly, it seems completely broken to sync a file from > asm-generic but not the arch specific file that includes it. > > The 1a787fc5ba18ac7 commit copied over the changes for arm64, but > missed all the other architectures changed in c8ce48f06503 and the > related commits. Right, I have a patch copying the missing headers, and that fixed the build with the glibc-based toolchain, but then broke the uCLibc one :-\ I'm travelling, so coulnd't get back to this, will try as possible. - Arnaldo