From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SusoW-0004Bv-C1 for mharc-grub-devel@gnu.org; Fri, 27 Jul 2012 18:15:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SusoU-0004BR-25 for grub-devel@gnu.org; Fri, 27 Jul 2012 18:15:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SusoS-0005np-Jo for grub-devel@gnu.org; Fri, 27 Jul 2012 18:15:13 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:43151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SusoS-0005ng-DQ for grub-devel@gnu.org; Fri, 27 Jul 2012 18:15:12 -0400 Received: by wgbez12 with SMTP id ez12so2588162wgb.30 for ; Fri, 27 Jul 2012 15:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=xTRmmgG3xCrwQlG/hs6vP0stheNP5gtOCnJm+DpaEIY=; b=T0iLWxScOdBkLUFLqGHjgJMTcSfI6WqSdppXNq37ZAKiIs+DpaXHD4stELe++eu8Qe ULBuvY2VsPffqLbx8KpLRuhLUWxqJVfLhO4e91G9BzmwkB8cSA2aRlE0a7tqpowu0euq zMe6d/skJUHwX02cUTltkHG2jDeLHW5KP+t7bi4PvdZev2AfbRdbgBP9NiReAfHv1bBW UPhP3xNYSErtOptKqur+wCfh3g9eJvx/awQKnxeXKrCZm+W8dN4KejB6Zh9BVlUSc0hF QkFnUyxHLGgQG/pbsG1J5VE6XmGqc0XLM+fyX/wmcHyKwHkYn9akiardKKfha0sa6p8z Bd+g== Received: by 10.216.132.156 with SMTP id o28mr1884941wei.141.1343427310769; Fri, 27 Jul 2012 15:15:10 -0700 (PDT) Received: from [192.168.1.37] (c2433-1-88-160-112-182.fbx.proxad.net. [88.160.112.182]) by mx.google.com with ESMTPS id cu1sm625499wib.6.2012.07.27.15.15.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 15:15:10 -0700 (PDT) Message-ID: <501312ED.9050004@gmail.com> Date: Sat, 28 Jul 2012 00:15:09 +0200 From: =?ISO-8859-1?Q?Gr=E9goire_Sutre?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: The development of GNU GRUB Subject: [build failure] GCC 4.1.3 support? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2012 22:15:15 -0000 Hi, Configuring GRUB 2.00 on NetBSD 5.1.2 gives the following error: checking if C symbols get an underscore after compilation... configure: error: gcc failed to produce assembly code This comes from warnings -Waddress, -Wempty-body and -Woverflow that are not supported by gcc on this system, which is: gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120) The file INSTALL indicates, as requirement, GCC 4.1.3 or later. Is this requirement obsolete? I guess so, since there isn't much build-testing done with GCC 4.1.3 nowadays. So which GCC version should be understood as the real requirement? Grégoire Excerpt from config.log: configure:20704: checking if C symbols get an underscore after compilation configure:20720: gcc -Os -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattri butes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wemp ty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-functi on-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-fiel d-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointe r-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtr igraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunu sed-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointe r-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -falign-jumps=1 -falign-loops=1 -falign-func tions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -nostdlib -Wl, --defsym,___main=0x8100 -Wno-error -S conftest.c cc1: error: unrecognized command line option "-Waddress" cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Woverflow" configure:20723: $? = 1 configure:20727: error: gcc failed to produce assembly code