Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3852244imm; Mon, 15 Oct 2018 05:22:20 -0700 (PDT) X-Google-Smtp-Source: ACcGV60UrXCPr329ID2WCTnxjcwoYZgNBKAj52z8OyASUUYG7Wb/9DLRHK4hEyLNViVwXw2L8km1 X-Received: by 2002:a63:1411:: with SMTP id u17-v6mr15586499pgl.247.1539606140788; Mon, 15 Oct 2018 05:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539606140; cv=none; d=google.com; s=arc-20160816; b=0MxgjPPlmoh6WLWJOrlIwcUL9K6xK5BWiHnC6cE+8LnzoLEaIzFqk740JtMQtCDsIr m9lC/YgkBTIMicruo0uH6oqUwdcbZAWnAxYAOPXnMEdogpGaN064rO+sdRrJifIm/i/n wpzStdL/R/7sy0rMX9i4rYd10gG61iPpT0XjNIw6zXuvCqtjq4Y2Lwtrg/FbL0kvjEZp eBPzRJTo1dhMnIvoMTNXeM78+FnggSV7IznsgXXAXEs8sMPrYslEZ1EiRWZtB+4m2FPH Fkfcj1r3sOdQ8UUlBozm17JDUYw1sIedJk26t07RI8haXKt9fezXld7rONxt7hSA1Zwq LM4w== 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:to:subject; bh=QbA164nG0B7InllOTw3rCtIawQJTmcSTQvpUES/vEqA=; b=sfPMkLv8NU8iFH93oVs8fctoXKWQASFYN8cWxjiJAyHCuUBb18HHZni5DN3tjYLcF/ 8BN6QtFWxoTBBY9hkP7JWP1lbAfwCjyhuWZfk6emmJTED/LoL7xnQqGAb16LHiPhBpT5 zDOPtblCmLv/F/3vGopA4G5DEBUiy0li3ZUHd1DntHe74FU8mwi5zWZBh9Z1d5O6sUV+ WkMQPAdsP+wgTMPgcJKDvzBYVUjSTwMADw837oE+VY7erTj7L+Ua6uWeWqbgxrAYADJN KZ2f0S7rHLdRePc8IlZHGDTle6I9uGoG6CNMSrPjR8DwZYBcWXNOR8FFjISOgEr5SGqt z+KQ== 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 bj3-v6si10010683plb.12.2018.10.15.05.22.04; Mon, 15 Oct 2018 05:22:20 -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; 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 S1726560AbeJOUGr (ORCPT + 99 others); Mon, 15 Oct 2018 16:06:47 -0400 Received: from mx2.cyber.ee ([193.40.6.72]:60737 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726400AbeJOUGq (ORCPT ); Mon, 15 Oct 2018 16:06:46 -0400 Subject: Re: 32-bit poweroc compile failure in v4.19-rc7-166-g7ec21823634d To: Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <17d36e6c-f99a-abfb-12cd-fa4b14bc7e09@linux.ee> <87tvlnzegi.fsf@concordia.ellerman.id.au> From: Meelis Roos Message-ID: <7c9c56d8-df58-eac7-e41e-8d2746f1c0d5@linux.ee> Date: Mon, 15 Oct 2018 15:20:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <87tvlnzegi.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: et-EE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> I tried to test the fix to 32-bit poweroc boot hang but found that current git does not compile on 32bit poweroc at all for me: > > That's GCC 8 I think? Yes, gcc version 8.2.0 (Debian 8.2.0-7). > I have seen that but couldn't work out what the hell GCC is thinking. > > I don't think there's an actual bug, the size of the copy is bounded by > the count parameter, which *doesn't* come from user space, it's hard > coded. > > I suspect the logic is just to convoluted for GCC. > > We should fix it somehow, but I haven't worked out what's the best option. > > cheers -- Meelis Roos