From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 19:45:26 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BCAD3120 for ; Wed, 27 Mar 2013 19:45:26 +0000 (UTC) (envelope-from christian.mangin@gmail.com) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7CC6DAC9 for ; Wed, 27 Mar 2013 19:45:26 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id gd11so6909834vcb.32 for ; Wed, 27 Mar 2013 12:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=Dy+8TYxrERome9Ocdyc9M6ILuQpvkEInFVaA1eb1Aso=; b=O5TC3Xg1diUL4q1fyIQqlBAaQmWwCrFLrJVuec6db3y2yxVuca1FYi3WtIJ/7e1wr9 7PjIR17A00hZ/IUpmjAxsT6P0sMSofCLe7O+6vSjLqSIi24suqOk57cr07c5Q9gomA0f TLOhE4Dl0M6xMUDgHWiKZtqGV7d6z12KQrebx2RIvCMs43xvF6+gwBBo599U5MHNAtnf Q0t3G5QTIgvNDZZoWgZfSjY4pr5+52kgpEjra5CUeg8rBP9XfogsTFwgYbDFf7Z4rAvO 07bgwfl/ptUzCPfeQVhblLwDOvU50p75qAyyhCrocrcYCt4Gr0x2ZDIhuMlBJ3o9uytq gmDg== X-Received: by 10.220.151.141 with SMTP id c13mr24938940vcw.64.1364413525535; Wed, 27 Mar 2013 12:45:25 -0700 (PDT) Received: from [192.168.80.173] (cable-10-157-60.b2b2c.ca. [72.10.157.60]) by mx.google.com with ESMTPS id qq6sm31239253vec.2.2013.03.27.12.45.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 12:45:24 -0700 (PDT) Message-ID: <51534C52.9050709@gmail.com> Date: Wed, 27 Mar 2013 15:45:22 -0400 From: Christian Mangin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:19.0) Gecko/20100101 Firefox/19.0 SeaMonkey/2.16.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, Beeblebrox Subject: Re: grub2 with libzfs References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <515341D8.1040908@gmail.com> <1364411527201-5799464.post@n5.nabble.com> In-Reply-To: <1364411527201-5799464.post@n5.nabble.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------000200030107010009090302" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 19:45:26 -0000 This is a multi-part message in MIME format. --------------000200030107010009090302 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Beeblebrox a =E9crit : >>> current version of grub2 in the ports could be sufficient for your ne= ed > That's what I had hoped for and expected, but the port build fails (tha= t's > why I had contacted the port maintainer Sergey Matveychuk). Build for g= rub > 1.98_1 breaks at: > > gcc -Iefiemu -I./efiemu -nostdinc -isystem > /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.3/include > -I./include -I. -I./include -Wall -W -Os -DGRUB_MACHINE_PCBIOS=3D1 -Wa= ll -W > -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef > -Wstrict-prototypes -g -falign-jumps=3D1 -falign-loops=3D1 -falign-func= tions=3D1 > -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 > -fno-stack-protector -mno-stack-arg-probe -Werror -fno-builtin -mrtd > -mregparm=3D3 -m32 -MD -c -o efiemu_mod-efiemu_main.o efiemu/main.c > efiemu/main.c: In function 'grub_efiemu_prepare': > efiemu/main.c:280:14: error: variable 'err' set but not used > [-Werror=3Dunused-but-set-variable] > cc1: all warnings being treated as errors > gmake: *** [efiemu_mod-efiemu_main.o] Error 1 > *** [do-build] Error code 1 > > Is there a way to get around the error? > > Thanks and Regards > > > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/grub= 2-with-libzfs-tp5799405p5799464.html > Sent from the freebsd-ports mailing list archive at Nabble.com. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lits.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org= " There's something wrong here. You're compiling with gcc and use gcc46 include files? Anyway I get the same error with grub 1.98 when trying to build with gcc4= 6. I know that this version can be built with base gcc but the configure script will expect cc=3Dgcc. This is not true anymore in 10-current where cc=3Dclang. So I guess it's broken in 10-current. I'm sending this to your email so you can grab the tarball. --=20 christian.mangin@gmail.com - PGP: C850892A --------------000200030107010009090302--