From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vezu8-0001UN-Rr for mharc-grub-devel@gnu.org; Fri, 08 Nov 2013 23:12:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vezu2-0001U7-UT for grub-devel@gnu.org; Fri, 08 Nov 2013 23:12:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vezty-0003CD-Ig for grub-devel@gnu.org; Fri, 08 Nov 2013 23:12:06 -0500 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:39560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vezty-0003C5-9S for grub-devel@gnu.org; Fri, 08 Nov 2013 23:12:02 -0500 Received: by mail-lb0-f172.google.com with SMTP id c11so1987264lbj.17 for ; Fri, 08 Nov 2013 20:12:00 -0800 (PST) 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; bh=uT+d3e4Q+XkJp+4IwfOhdSYro7u3O0EESXZKQbMhxLE=; b=eZMJzB/rV4VPeuxDI60hhcfSt6kJN8hYjGoRdJpTdFT3XLMfKnyFBm3NsHXhtJwjih QY5lXIUmL0VnnhHcP6Sk5S/HhdvMHp6qdghrC3aYkc2mwYB2ak2OJkwjMtTi/LQ0N91S C9lHHZoxI28A2aYE7/HuENXQFiUrYWgjqXRbxR7KPnYERc2XzkcIsEpI3iDDmgDG88Hn F7ueDFlTThWS0qM0qLHBo8GkeRp9a87wMqS9uiYkusd4FhvhaS2dWl7jpO4suO+9fSPI 7YjlDF3WE5YN/EplJKKWYyVnW9uc/+aozzxlaCEbc3RJbJFJboeF9UiUvmrnc79jCXcV YQ7g== X-Received: by 10.112.167.3 with SMTP id zk3mr13001896lbb.23.1383970320466; Fri, 08 Nov 2013 20:12:00 -0800 (PST) Received: from opensuse.site (ppp91-76-174-89.pppoe.mtu-net.ru. [91.76.174.89]) by mx.google.com with ESMTPSA id vz9sm8523242lbb.17.2013.11.08.20.11.59 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 08 Nov 2013 20:11:59 -0800 (PST) Date: Sat, 9 Nov 2013 08:11:58 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: __stack_chk_fail in regexp is not defined Message-ID: <20131109081158.2d933f37@opensuse.site> In-Reply-To: <20131108144243.79c1af39@crass-Ideapad-Z570> References: <20131108124231.3fa344de@crass-Ideapad-Z570> <527D3373.9020804@gmail.com> <20131108144243.79c1af39@crass-Ideapad-Z570> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/=aqDkhfyWAhE2hI9z//SSEq"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22c Cc: development@efficientek.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: Sat, 09 Nov 2013 04:12:11 -0000 --Sig_/=aqDkhfyWAhE2hI9z//SSEq Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 8 Nov 2013 14:42:43 -0600 Glenn Washburn =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Fri, 08 Nov 2013 19:54:43 +0100 > Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: >=20 > > On 08.11.2013 19:42, Glenn Washburn wrote: > > > Now, I'm getting this error while building. Bug in the awk script? > > >=20 > > > 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 > > >=20 > > 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. >=20 > I'm using gcc 4.7 on Ubuntu from the ubuntu-toolchain-r/test ppa. I do > 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? It comes from using -fstack-protector GCC option. But configure should have added -fno-stack-protector in this case. Could you check defaults using /path/to/your/gcc -Q --help=3Dcommon whether it is active by default? Also whether -fno-stack-protector was used during compilation? --Sig_/=aqDkhfyWAhE2hI9z//SSEq Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJ9tg4ACgkQR6LMutpd94xoXACgvRWrIECqkmpclFbTNv49ShYo 98IAnRbTMEgJwApYhgvko6wfpF/pYcw+ =LaOW -----END PGP SIGNATURE----- --Sig_/=aqDkhfyWAhE2hI9z//SSEq--