From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vjl7w-0006Oi-Cm for mharc-grub-devel@gnu.org; Fri, 22 Nov 2013 02:26:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjl7p-0006OY-Ik for grub-devel@gnu.org; Fri, 22 Nov 2013 02:26:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjl7k-000570-KM for grub-devel@gnu.org; Fri, 22 Nov 2013 02:26:01 -0500 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:34039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjl7k-00056w-9S for grub-devel@gnu.org; Fri, 22 Nov 2013 02:25:56 -0500 Received: by mail-ea0-f179.google.com with SMTP id r15so316163ead.24 for ; Thu, 21 Nov 2013 23:25:55 -0800 (PST) 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:references :in-reply-to:content-type; bh=JWFYcgceptIbEhX1a5mnkcNJCuEWTtqVIDS+1elIZos=; b=NEbDfcEMjOJXU0bcFfsSMezNxr5vhUx4bh83rzzKkxsKovUn8LnDCa8xIrwkHc+ntc dWPp2IfcnIm26L0A5uB5yc9PVll0q4UVsnKg8px99S2YrGDyVF9uBgiU0MLoKGesIYsb h3fYB+L+1j77o9DWuf/yT3cNrzEgZmi8ExSD8ljEpaz2st/k8W94VO2kWMNIKFHy4lQi k/KaP3nA5OvNRdfGE/0MbyqReauzUbuVeW1IywaELyrOqQDYKHEtsZ8YpozOQrfhh5Wh DUw4VH/JdHaqiV3khAFExxi0vwnL0J24m93vVQzs8+TIORPxf3BlP3am2HnMa4U1pPq2 YYeA== X-Received: by 10.14.8.136 with SMTP id 8mr6910172eer.25.1385105155037; Thu, 21 Nov 2013 23:25:55 -0800 (PST) Received: from [192.168.1.121] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id g47sm76293345eeo.19.2013.11.21.23.25.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 23:25:54 -0800 (PST) Message-ID: <528F06F9.5030403@gmail.com> Date: Fri, 22 Nov 2013 08:25:45 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: grub2 boot root-on-zfs errors References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2MKDWSVQKVKFENUSEAVCP" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::233 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, 22 Nov 2013 07:26:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MKDWSVQKVKFENUSEAVCP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22.11.2013 08:09, Beeblebrox wrote: > @ Vladimir: >>> Please attach your config.log > Enclosed as requested (for latest run) >=20 No you didn't. No config.log is attached. Please send it. > A new problem: I updated the git repo to latest and tried to re-build. > Build was started with: > ./autogen.sh USE_GCC=3Dany --disable-werror > ./configure USE_GCC=3Dany --disable-werror > gmake USE_GCC=3Dany > However, compile fails as below. I cannot seem to get the compiler to > use gcc46 which is on my system - it insists on using clang. >=20 GRUB can be compiled with clang 3.2 or later like INSTALL mentions. > cc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=3D1 > -DGRUB_FILE=3D\"grub-core/osdep/platform_unix.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/gnulib > -I./grub-core/gnulib -I/usr/local/include -Wall -W -Wshadow > -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Wattributes > -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 -Wcast-align -Wno-undef > -Wno-sign-compare -Wno-unused -Wno-unused-parameter > -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion > -Wno-old-style-definition -MT > grub-core/osdep/grub_mkrescue-platform_unix.o -MD -MP -MF > grub-core/osdep/.deps-util/grub_mkrescue-platform_unix.Tpo -c -o > grub-core/osdep/grub_mkrescue-platform_unix.o `test -f > 'grub-core/osdep/platform_unix.c' || echo > './'`grub-core/osdep/platform_unix.c > In file included from grub-core/osdep/platform_unix.c:2: > grub-core/osdep/unix/platform.c:34:28: error: use of undeclared > identifier 'PATH_MAX' > char *ret =3D xmalloc (2 * PATH_MAX); > ^ > grub-core/osdep/unix/platform.c:35:25: error: use of undeclared > identifier 'PATH_MAX' > char *end =3D ret + 2 * PATH_MAX - 1; > ^ > 2 errors generated. grep PATH_MAX /usr/include/* > gmake[2]: *** [grub-core/osdep/grub_mkrescue-platform_unix.o] Error 1 > gmake[2]: Leaving directory `/asp/git/grub' >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2MKDWSVQKVKFENUSEAVCP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF0EAREKAAYFAlKPBwAACgkQmBXlbbo5nOtvLwD4jY9n29q8Ay0o7jXaOkN4L7je Ydn5nQ0efgBGpptlLgD/REmc4tJX2tZBylDAg7/qEpq5V/WY0Tys4g5lm3cyU78= =bMb8 -----END PGP SIGNATURE----- ------enig2MKDWSVQKVKFENUSEAVCP--