Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1909010imm; Fri, 7 Sep 2018 07:59:19 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbeMaQNzauHIkg860knjt9TwdZP1kJEWdp8kKuMTQF7JWLTSsIu5rPOHJhff4CTysNOcdtc X-Received: by 2002:a63:5a65:: with SMTP id k37-v6mr8630592pgm.143.1536332359239; Fri, 07 Sep 2018 07:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536332359; cv=none; d=google.com; s=arc-20160816; b=dRbh949iuvT9c6pg0IakgN7P8SKJVwQNRgCxhqphNPJJCC6i0ImRw/nvXQPrANc7g1 Vo3XU5DWXwVsNU0Fto74upiplJwEYnwAAJ5IveHLTwrGLeNbLb6b3qYBbDjCBVtyN94Y AboZ0fXVGv1zHLUL9R9jZPFxUp88A/0ZvRBM4HHfwvDDVyNrO83+pk+kS2c/X2mhNMTI P5+15LN6dE9m1+BFj/xTHqBiKMZLqdNbG9nMLKPkIWV+qQ0NoFdwP3iL9jTgrtivbv1X AVd+pBMm1QmbiGzpqyS9olMTITZDV7mpukyVbJA0i/AXnj5L73hofV1juxzV0m5r0eJI UQVw== 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:mime-version:user-agent:date:message-id:subject :from:cc:to; bh=UzqBl84kRSAK6rNzw6T6p5E9Lvm4KrEOhI9Z7z9GBLI=; b=drYeCsSO/8Tdk/GRloF930SHe93UQavyYfwwo/G3mrnN5nrbEr1DRczECesDqeCNcl gr7UZcCgeQsL+Hz+w6QacodZX07z4GMlO5WpgXd0v9Y4YD2SD/dnKk+XaspiH6NaE0W8 L+mN6vhk0zAurRl0sQci94fLkBsv4lGtFaV41GiHlckYLFIQz+sDljpmHlKDRWdDPrzY VmXJ24EZo2+Ov1b9II2kKo5vzYr4mjBKU7+R+BcMfgMPxuLD70FBNgvu6/MOIDt3NZvg D8ECnwkwBLQ/otOXJ2TyYRzDzsv69qae2GC5MGblFYUO8Z41cbMo37DiGzRtWSq4GfHS ZdWQ== 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 d8-v6si8957536pgn.382.2018.09.07.07.59.04; Fri, 07 Sep 2018 07:59:19 -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 S1729110AbeIGRCy (ORCPT + 99 others); Fri, 7 Sep 2018 13:02:54 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:37201 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727679AbeIGRCy (ORCPT ); Fri, 7 Sep 2018 13:02:54 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 426Glh0P9nz9ttFR; Fri, 7 Sep 2018 14:22:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id NWsoc3DBoLW7; Fri, 7 Sep 2018 14:22:07 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 426Glg6tXCz9ttFD; Fri, 7 Sep 2018 14:22:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 98A368B945; Fri, 7 Sep 2018 14:22:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 6BZ6PNHFtoCF; Fri, 7 Sep 2018 14:22:11 +0200 (CEST) Received: from pc16082vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.231.3]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 4C4D68B93D; Fri, 7 Sep 2018 14:22:11 +0200 (CEST) To: Joe Perches , Kees Cook , Nick Desaulniers Cc: linux-kernel@vger.kernel.org From: Christophe Leroy Subject: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6") Message-ID: <81a5fd11-366c-0897-4143-d8d041420a41@c-s.fr> Date: Fri, 7 Sep 2018 12:22:07 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6"), sparse check fails as follows: [root@pc16082vm linux-powerpc]# make C=2 arch/powerpc/kernel/process.o CALL scripts/checksyscalls.sh CHECK scripts/mod/empty.c ./include/linux/compiler-gcc.h:14:3: error: Sorry, your compiler is too old - please upgrade it. CHECK arch/powerpc/kernel/process.c ./include/linux/compiler-gcc.h:14:3: error: Sorry, your compiler is too old - please upgrade it. I have sparse version 0.5.2 What can be done to fix that ? Christophe