Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6659172ybp; Tue, 15 Oct 2019 19:20:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3oaTvsEn/1E38YiDL3tjWy0OPXDDSlzoyYBg3Con3ocGopmH0QPjgEDMLBmoh7us2Yfpr X-Received: by 2002:a17:906:85c5:: with SMTP id i5mr37099632ejy.222.1571192428146; Tue, 15 Oct 2019 19:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571192428; cv=none; d=google.com; s=arc-20160816; b=zIW8j02lvachbpm9SRHT7IKykS9kiz+yAq4yaUBwrdCRuI3elUEP5RBTx7sdn5eroP fCSfHvQ6EaHCXeHxTY4E2DUXGws30SvawY5/eQsfOvhwTH5bnZwfZnKgDKQSTe8PX5TL 52pnIBC4npCWXp0GYAGc6BYhsecgZ8XPOQCO2pmuRWnfXOO/f8M+Td1rGsLlkakyAwlR ofW4UNRVsgsUaGmOGL38tKlpVc+DZQ1+nzgs7f3pThKuKinsrlT3FV3puOQSqzGf3w/u 0PmaqmJJXXbGLFDP1dohY5XFLyjvNfDO0c6cC6HKTf7Fxq0s5EM+BVXj2sjzJCMiIB4S 2YAA== 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 :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=H5O58dypbwyUjH9vX22alUxeypMcbjDir/t0qAWT00g=; b=EFSsiAZ+OvGMcsXC/0gv+nXDFi9jNqTxjfjVtkuuRAqVGC7RS78wUg9CVi5Of8VJSe 51CkSgP/p2XXmg3lbQi+T7BeqB3cEu7xE8pgiMkIer+JXtqJyMRhDJF5xh67utrFGYrF pyAm7TaFDkO4Kq9lYW6MwwDfXvF/Dwievy2GOSZmqjggnVFxod9EtQAzc290AMgUybc7 ZBkx+fOt3IDBl5Ega/AI2XUO1iSMzr9G/Oq3CUh9zOIZK2FbjeJrTJHyyS3eMWTiYvSU dg5JSpmuTl8+zZ01tchzU/3ZDYn1dI6SRTnXhaEu4X6DQ0ZFWL5kOm6BnbKTSjoae9b3 TP0w== 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 27si14402202edz.186.2019.10.15.19.20.04; Tue, 15 Oct 2019 19:20:28 -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 S1731952AbfJOTcK (ORCPT + 99 others); Tue, 15 Oct 2019 15:32:10 -0400 Received: from smtprelay0149.hostedemail.com ([216.40.44.149]:52271 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726837AbfJOTcK (ORCPT ); Tue, 15 Oct 2019 15:32:10 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 3408B181D341E; Tue, 15 Oct 2019 19:32:09 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::,RULES_HIT:41:355:379:599:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1381:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:1801:2393:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3653:3865:3866:3867:3868:3870:3874:4321:4605:5007:6119:7903:8829:8957:9040:10004:10400:11026:11232:11657:11658:11914:12043:12219:12296:12297:12438:12740:12760:12895:13439:14096:14097:14180:14181:14659:14721:14877:21063:21080:21324:21451:21627:30054:30070:30074:30091,0,RBL:47.151.152.152:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: town65_8721e632c0408 X-Filterd-Recvd-Size: 2804 Received: from XPS-9350.home (unknown [47.151.152.152]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Tue, 15 Oct 2019 19:32:08 +0000 (UTC) Message-ID: <44f9a9bde7cf7885a8e55a52260b59240cb9a157.camel@perches.com> Subject: Re: Build failures since 5.4-rc3 From: Joe Perches To: Larry Finger , LKML Date: Tue, 15 Oct 2019 12:32:07 -0700 In-Reply-To: <2da85bba-ab2a-b993-be1a-c98222819b37@lwfinger.net> References: <2da85bba-ab2a-b993-be1a-c98222819b37@lwfinger.net> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-10-15 at 14:09 -0500, Larry Finger wrote: > Joe, Hey Larry. > Since commit 294f69e662d1("compiler_attributes.h: Add 'fallthrough' pseudo > keyword for switch/case use"), builds of VirtualBox are failing with the > following errors: > > 1954s] In file included from > /usr/src/linux-5.4.0-rc3-1.g2309d7d/include/linux/compiler_types.h:59, > [ 1954s] from : > [ 1954s] > /home/abuild/rpmbuild/BUILD/VirtualBox-6.0.12/modules_build_dir/default/vboxdrv/SUPDrvGip.c: > In function 'supdrvTscDeltaThread': > [ 1954s] > /usr/src/linux-5.4.0-rc3-1.g2309d7d/include/linux/compiler_attributes.h:200:41: > error: expected ')' before '__attribute__' > [ 1954s] 200 | # define fallthrough > __attribute__((__fallthrough__)) > [ 1954s] | ^~~~~~~~~~~~~ > [ 1954s] > /home/abuild/rpmbuild/BUILD/VirtualBox-6.0.12/modules_build_dir/default/vboxdrv/include/iprt/cdefs.h:1169:44: > note: in expansion of macro 'fallthrough' > [ 1954s] 1169 | # define FALL_THROUGH __attribute__ ((fallthrough)) Looks like this should be: #define FALL_THROUGH __attribute__((__fallthrough__)) and there appear to be many of these #defines that use __attribute__((foo)) where foo does not use the double underscored prefix and suffix form I also downloaded and trivially attempted to build vbox without success, but I don't find this #define anywhere in the sources. Clues? $ git clone git://github.com/mirror/vbox.git $ cd vbox $ git grep FALL_THROUGH $ $ ./configure Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK. Checking for kBuild: ** kmk (variable KBUILDDIR) not found! Check /home/joe/vbox/configure.log for details $ cat configure.log # Log file generated by # # './configure ' # ***** Checking environment ***** Determined build machine: linux.amd64, target machine: linux.amd64 ***** Checking kBuild ***** ** kmk (variable KBUILDDIR) not found! $