From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vbv3D-0002fv-EX for mharc-grub-devel@gnu.org; Thu, 31 Oct 2013 12:24:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbv36-0002TK-6F for grub-devel@gnu.org; Thu, 31 Oct 2013 12:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vbv30-0000ik-69 for grub-devel@gnu.org; Thu, 31 Oct 2013 12:24:44 -0400 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:47883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vbv2z-0000iA-UG for grub-devel@gnu.org; Thu, 31 Oct 2013 12:24:38 -0400 Received: by mail-la0-f46.google.com with SMTP id hp15so2463954lab.5 for ; Thu, 31 Oct 2013 09:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=v5FLwwqdTlSZSKYMh7AEpNEXgIuMS4z0lmO6mmn29Gs=; b=SEZno6tXIDtlQoVKPVXDmNJJMnXBzzVw5yneVi3suof9qhqDiZpd3GzLnjBhizl2yy l+8w2Py+8r9qyMurNPeS6WuG7OB1kX+lmgQi1cwK2d0IDbvyWKV4sl8Y4xFK2wRh4Hg/ zxTX0wvzVKvTd95RU8ccf9vYTJ4qBL2G20gywf85m5XS751+pAKvqjMIWimyEKIsFuTw G6g/7IDELZar1MXJfnylHI7bQlhNdftBfwtbt2rhoOd7/RdYd6Dk2AoTqcxdUB4JDQfT wk5JNs53N3H5IxSnRDrE30CPQeSOK4h2URJSy2Yj5M+R7rinMXo/7dCiOtP/I0ePf0+X pivw== X-Received: by 10.152.26.9 with SMTP id h9mr75117lag.70.1383236676271; Thu, 31 Oct 2013 09:24:36 -0700 (PDT) Received: from opensuse.site (ppp91-76-174-89.pppoe.mtu-net.ru. [91.76.174.89]) by mx.google.com with ESMTPSA id vo1sm3201634lbb.1.2013.10.31.09.24.35 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 31 Oct 2013 09:24:35 -0700 (PDT) Date: Thu, 31 Oct 2013 20:24:34 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: grub2 boot root-on-zfs errors Message-ID: <20131031202434.5632881f@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e Cc: zaphod@berentweb.com 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: Thu, 31 Oct 2013 16:24:49 -0000 В Thu, 31 Oct 2013 12:37:41 +0200 Beeblebrox пишет: > I did not have time to play around with trunk/grub for a while so was > not able to follow-up on the discussion. Continuing from last month's > topic: > > > Flex version 2.5.4 is less than 2.3.35. > 2.5 is > 2.3 > The problem was answered by the port maintainer for me: > "FreeBSD includes an older version of Flex in the base system. You > will need that the compilation should use the version installed in > /usr/local/bin instead. Either by putting this directory in your $PATH > earlier than /usr/bin or by specifying the location on the command > line." > Was solved by editing $PATH to look in /usr/local/bin first. > > The new problem is that after autogen and configure complete without > errors, gmake fails (gcc version is 4.6): > gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 > -DGRUB_LIBDIR=\"/usr/local/lib/grub\" > -DLOCALEDIR=\"/usr/local/share/locale\" > -DGRUB_FILE=\"grub_script.yy.c\" -I. -I. -I. -I. -I./include > -I./include -I./grub-core/lib/libgcrypt-grub/include > -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/lib/minilzo > -I./grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H > -I/usr/local/include -Wall -W -Wshadow -Wold-style-definition > -Wpointer-arith -Wundef -Wextra -Wattributes -Wcast-align > -Wchar-subscripts -Wcomment -Wdeprecated-declarations > -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wfloat-equal > -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit > -Wimplicit-function-declaration -Wimplicit-int -Winit-self > -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces > -Wmissing-field-initializers -Wmissing-format-attribute -Wmultichar > -Wnonnull -Woverflow -Wparentheses -Wpointer-arith > -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow > -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef > -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label > -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros > -Wvolatile-register-var -Wwrite-strings -Wnested-externs > -Wstrict-prototypes -Wpointer-sign -Werror -fno-builtin -Wno-undef > -MT libgrubmods_a-grub_script.yy.o -MD -MP -MF > .deps-util/libgrubmods_a-grub_script.yy.Tpo -c -o > libgrubmods_a-grub_script.yy.o `test -f 'grub_script.yy.c' || echo > './'`grub_script.yy.c > cc1: warnings being treated as errors > grub_script.yy.c: In function 'yy_scan_bytes': > grub_script.yy.c:2298: warning: comparison between signed and unsigned What are sizes of size_t and int on your platform? > gmake[2]: *** [libgrubmods_a-grub_script.yy.o] Error 1 > gmake[2]: Leaving directory `/asp/git/grub' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/asp/git/grub' > gmake: *** [all] Error 2 > > Any ideas how to move forward? I assume I'm on the right branch: > bzr info -v . > Standalone tree (format: 2a) > Related branches: parent branch: > http://bzr.savannah.gnu.org/r/grub/trunk/grub/ > Branch history: 5210 revisions 1946 days old > first revision: Wed 2008-07-02 19:22:35 +0000 > latest revision: Sat 2013-09-28 03:06:04 +0200 > Repository: 7726 revisions > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel