Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp379367pxj; Fri, 28 May 2021 06:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgWA0bcYla5JRdwY+eO6XTKuWwkG7z8s+hf1Kwo7avfF9z0QNpKZ4krjz/qUbGVXGPcESI X-Received: by 2002:a92:d8c3:: with SMTP id l3mr1236749ilo.31.1622207541756; Fri, 28 May 2021 06:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622207541; cv=none; d=google.com; s=arc-20160816; b=b1c9Z6gfwLUK2DfRPGdeA3qTyP0JYWeaL4w3XXASvPmBx73UEGZ1GyATz5sNd5Sf8y +i/qimszlyy7d+/z0SQV4KkHvFedMy9V8wcKho+8khd9zOdw+KBVnXMpxtffNOuHDU+f Jcp2IR473lLc179KaXIzbJYJ8kudH5pcECkeoPY0SmylG1LsTzbpO3ihQSmj6/2DhAQ7 zAFcgaGIE58F/EYEyJ+LLpuQzUK1L05bF6SBtbnlxp4g4FSUWXAZ98Z1NDqgXt4WPw5w CTtVEZLCn35WCBzuvWi6v90l3ARPpswetAIPQjdk03dC8tTXk3sTlMHQvzgg0TjRHJ64 kosQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=tNgvHAVyJFsVGwEn0bI6XKiqLp0rz2PM0rP45FpAmJI=; b=vFNiL4PjsPCTLup4/U4UGWO7OfmvfExdLEXp91kIdUNQtV4Xdb9yibm7r0kIa7LFWC J+juemrba3XDiV2wKYmurK/gZRYhV3X6Yr9+zRNOVlHTAMt/dd7cZxPwCWilg2m1XuqB sdbi/7yDLi80VuFP8L8/7qYUBfpRTvnUieqTMjQ29OTG1y1Rw+ao4omjoPl+bwv9xaj4 kDJvYxWM+OSx+usipkz4qmP4BWS2SBNRt9KAjf8s03aCDo1F0katGIgIgNvHsfW7tchu QefTxHjFs7hr+P1cOjXEJ7dtD/anaAvpFBLgRmJdDOJRoKPe8gwvlSsBnT9pfi/ctTlh Ii+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si6970731ilm.103.2021.05.28.06.12.06; Fri, 28 May 2021 06:12:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235854AbhE1NL1 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 28 May 2021 09:11:27 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:52627 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234961AbhE1NLX (ORCPT ); Fri, 28 May 2021 09:11:23 -0400 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-94-3k4EBtglPISPPGh0Tot5Ig-1; Fri, 28 May 2021 14:09:45 +0100 X-MC-Unique: 3k4EBtglPISPPGh0Tot5Ig-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 28 May 2021 14:09:43 +0100 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.015; Fri, 28 May 2021 14:09:43 +0100 From: David Laight To: =?iso-8859-1?Q?=27Michal_Such=E1nek=27?= CC: 'Mel Gorman' , 'Andrii Nakryiko' , Christoph Hellwig , "Andrew Morton" , Arnaldo Carvalho de Melo , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , open list , Jiri Olsa , Hritik Vijay , bpf , Linux-Net , Linux-MM Subject: RE: [PATCH] mm/page_alloc: Work around a pahole limitation with zero-sized struct pagesets Thread-Topic: [PATCH] mm/page_alloc: Work around a pahole limitation with zero-sized struct pagesets Thread-Index: AQHXUwZwxICJrzVIrECdOMP8p5MLKKr4istw////SYCAABppAP//9DIAgABEOWA= Date: Fri, 28 May 2021 13:09:43 +0000 Message-ID: <5517a591606042d7aeae3c15b8c91d30@AcuMS.aculab.com> References: <20210526080741.GW30378@techsingularity.net> <20210527090422.GA30378@techsingularity.net> <8fe547e9e87f40aebce82021d76a2d08@AcuMS.aculab.com> <20210528090421.GK30378@techsingularity.net> <2755b39d723146168e875f3b4a851a0d@AcuMS.aculab.com> <20210528095637.GO8544@kitsune.suse.cz> In-Reply-To: <20210528095637.GO8544@kitsune.suse.cz> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michal Suchánek > Sent: 28 May 2021 10:57 > > On Fri, May 28, 2021 at 09:49:28AM +0000, David Laight wrote: ... > > I can see there might be similar issues with the version of libelf-devel > > (needed by objtool). > > If I compile anything with gcc 10 (I'm doing build-root builds) > > I get object files that the hosts 2.30 binutils complain about. > > I can easily see that updating gcc and binutils might leave a > > broken objtool unless the required updated libelf-devel package > > can be found. > > Statically linking the required parts of libelf into objtool > > would save any such problems. > > Static libraries are not always available. Especially for core toolchain > libraries the developers often have some ideas about which of the static > and dynamic libraris is the 'correct' one that they like to enforce. The issue is that you want a version of libelf that works with objtool and the versions of binutils/gcc/clang that the kernel build supports. If libelf was part of the binutils package this might be ok. But it isn't and it may end up with people scrambling around to find a working version to build a kernel (or out of tree module). David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)