В Fri, 8 Nov 2013 14:42:43 -0600 Glenn Washburn <developm...@efficientek.com> пишет:
> On Fri, 08 Nov 2013 19:54:43 +0100 > Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> 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 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=common whether it is active by default? Also whether -fno-stack-protector was used during compilation?
signature.asc
Description: PGP signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel