From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vf6qx-0006GD-Tt for mharc-grub-devel@gnu.org; Sat, 09 Nov 2013 06:37:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vf6qs-0006F2-Be for grub-devel@gnu.org; Sat, 09 Nov 2013 06:37:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vf6qo-0000of-8Q for grub-devel@gnu.org; Sat, 09 Nov 2013 06:37:18 -0500 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:33703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vf6qo-0000oL-0q for grub-devel@gnu.org; Sat, 09 Nov 2013 06:37:14 -0500 Received: by mail-ea0-f172.google.com with SMTP id h11so851560eaj.3 for ; Sat, 09 Nov 2013 03:37:12 -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=bLS/xNttDaXRG0jVS5HfWL/utyAXjY1trgIuARqh8AA=; b=eASVh5EZUyCH5JmPLR6B78KM3wzQc7NezVSGme63S3Xn7lZn5o3hwY1RgqH0Zn33Aq 0Xq+Ldk+0StVsAHS1mCJquacojlh1Q6FIeaj0fZxOFEZCz72DukNXL/WESu0ihdWqMSe S0G05JsLBBeb+fDhrfgG9RGKnXBY7XdxTGXTi11bMmRuqVf+WbzLipftu0zcVLRn4Lyr OEjBV4Pphro/+UaRwkeh0UlwAjjDSpj1Q6+QZuny55o0HZOtNEuXEBA7gauE1BuYSIx7 c4jpvv6yStH0lmo1ms6CQOKnLV4Cuzcvr3lpfOYztdVI6LJLe01YukvOZRDiygrOUh5a rCrA== X-Received: by 10.14.209.197 with SMTP id s45mr2522414eeo.92.1383997032526; Sat, 09 Nov 2013 03:37:12 -0800 (PST) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id m54sm26734992eex.2.2013.11.09.03.37.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 09 Nov 2013 03:37:11 -0800 (PST) Message-ID: <527E1E64.4010601@gmail.com> Date: Sat, 09 Nov 2013 12:37:08 +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: __stack_chk_fail in regexp is not defined References: <20131108124231.3fa344de@crass-Ideapad-Z570> <527D3373.9020804@gmail.com> <20131108144243.79c1af39@crass-Ideapad-Z570> <20131109081158.2d933f37@opensuse.site> In-Reply-To: <20131109081158.2d933f37@opensuse.site> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2BLABUIQVFKEXSDDJHCLP" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22c 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: Sat, 09 Nov 2013 11:37:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2BLABUIQVFKEXSDDJHCLP Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09.11.2013 05:11, Andrey Borzenkov wrote: > =D0=92 Fri, 8 Nov 2013 14:42:43 -0600 > Glenn Washburn =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: >=20 >> On Fri, 08 Nov 2013 19:54:43 +0100 >> Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >> >>> On 08.11.2013 19:42, Glenn Washburn wrote: >>>> Now, I'm getting this error while building. Bug in the awk script? >>>> >>>> cat syminfo.lst | sort | gawk -f ./grub.git/grub-core/genmoddep.awk >>>>> moddep.lst || (rm -f moddep.lst; exit 1) __stack_chk_fail in >>>>> regexp is >>>> not defined >>>> >>> What compiler do you use and which additional options did you pass to= >>> it? It inserted this function call. We need either to provide this >>> function or inhibit compiler from emiting such calls. >> >> I'm using gcc 4.7 on Ubuntu from the ubuntu-toolchain-r/test ppa. I d= o >> see a reference to __stack_chk_fail at >> grub-core/efiemu/runtime/efiemu.c:192. It doesn't look like that file= >> is generated. Perhaps that function was accidentally added to that >> file? >=20 > It comes from using -fstack-protector GCC option. But configure should > have added -fno-stack-protector in this case. >=20 > Could you check defaults using >=20 > /path/to/your/gcc -Q --help=3Dcommon >=20 > whether it is active by default? Also whether -fno-stack-protector was > used during compilation? >=20 You're right. @Glenn: can you tell us exact version of GRUB (e.g. git commit) and attach config.log? >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2BLABUIQVFKEXSDDJHCLP 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/ iF4EAREKAAYFAlJ+HmUACgkQmBXlbbo5nOvZnQD/VqlUSkrBs1K22l8pNpWGl1M3 FA+3RYn/Is5+Ke+9wBIA/2czJdaEdJUNGS94pCHeU3uXqY/Q+Y5+g8OkedoWDLFn =aquU -----END PGP SIGNATURE----- ------enig2BLABUIQVFKEXSDDJHCLP--