From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Y5aUi-0006aA-D6 for mharc-grub-devel@gnu.org; Mon, 29 Dec 2014 08:36:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5aUg-0006a4-0o for grub-devel@gnu.org; Mon, 29 Dec 2014 08:36:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5aUf-0004Dz-1H for grub-devel@gnu.org; Mon, 29 Dec 2014 08:36:21 -0500 Received: from mail-qa0-x22a.google.com ([2607:f8b0:400d:c00::22a]:45064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5aUe-0004Dp-T7 for grub-devel@gnu.org; Mon, 29 Dec 2014 08:36:20 -0500 Received: by mail-qa0-f42.google.com with SMTP id n8so9258074qaq.29 for ; Mon, 29 Dec 2014 05:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=DsBOjBUOyCDwLcI4C1wo961Mpx+gI7BLtHzV0kvWFac=; b=G43eGUMHcDdrgARXQSUTjQt5aDBj9Dq6jr3PK5bp4+m+DHIl8+q9l599N6aIXeUqXH C2EnXQXf1k0tTz2U+VQLxmCZkuUQwuZ8JId5KpKdE0xW9nImpct5IkQpqAfWs4jvg3Qj r6ftw0CUilRT9a4LCBdgWk5CSmvsecWG/91hNGkOE1AaEvapQrR3y+DjVNKgmjHQHGT9 3VfT5Hd6JU+H6nBt4d200mgI38otvjjaeFgLLhK79MHSQnpKiA+p+ku824tb0yo57mEI xPxyc4CSvLzwK3Eg6HJ/GQcGWuFXltiZLhvHtQn4cEbDFp1KgSOb6YUsj1HH8iDJP6Z6 pNeg== MIME-Version: 1.0 X-Received: by 10.224.41.74 with SMTP id n10mr13832049qae.31.1419860180504; Mon, 29 Dec 2014 05:36:20 -0800 (PST) Received: by 10.140.142.206 with HTTP; Mon, 29 Dec 2014 05:36:20 -0800 (PST) In-Reply-To: <1419849384.3406.80.camel@users.sourceforge.net> References: <1419589404.4038.1.camel@users.sourceforge.net> <20141226205905.31a6c9d0@opensuse.site> <1419849384.3406.80.camel@users.sourceforge.net> Date: Mon, 29 Dec 2014 16:36:20 +0300 Message-ID: Subject: Re: Building GRUB fails with `In function `do_setkey' undefined reference to `fips_mode'` From: Andrei Borzenkov To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::22a 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: Mon, 29 Dec 2014 13:36:23 -0000 On Mon, Dec 29, 2014 at 1:36 PM, Paul Menzel wrote: > Am Freitag, den 26.12.2014, 20:59 +0300 schrieb Andrei Borzenkov: >> =D0=92 Fri, 26 Dec 2014 11:23:24 +0100 Paul Menzel =D0=BF=D0=B8=D1=88=D0= =B5=D1=82: > >> > with latest master >> > >> > $ git describe >> > grub-2.02-beta2-137-gbac5d1a >> > >> > building GRUB as a coreboot payload fails on Debian Sid/unstable. >> > >> > $ make clean >> > $ ./configure --with-platform=3Dcoreboot >> > $ make >> > [=E2=80=A6] >> > mv -f .deps-util/grub_fstest-grub_fstest_init.Tpo .deps-util/g= rub_fstest-grub_fstest_init.Po >> > gcc -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscript= s -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero= -W >> > float-equal -Wformat-extra-args -Wformat-security -Wformat-y2k= -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing= -br >> > aces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wre= turn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wu= nkn >> > own-pragmas -Wunused -Wunused-function -Wunused-label -Wunused= -parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-exter= ns >> > -Wstrict-prototypes -Wcast-align -Wextra -Wattributes -Wendif= -labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-ini= tia >> > lizers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstri= ct-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmiss= ing >> > -include-dirs -Wmissing-prototypes -Wmissing-declarations -Wfo= rmat=3D2 -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-param= eter >> > -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion = -o grub-fstest util/grub_fstest-grub-fstest.o grub-core/kern/emu/grub_fs= tes >> > t-hostfs.o grub-core/disk/grub_fstest-host.o grub-core/osdep/g= rub_fstest-init.o grub_fstest-grub_fstest_init.o libgrubmods.a libgrubgcry.= a l >> > ibgrubkern.a grub-core/gnulib/libgnu.a >> > libgrubgcry.a(libgrubgcry_a-rijndael.o): In function `do_setke= y': >> > rijndael.c:(.text+0x51): undefined reference to `fips_mode' >> >> Works here. Looks like fips_mode is (re-)defined in some header on >> your system. Could you find out where? > > Sorry, I was not able to find that out. Cloning the repository on the > same system again and running > > $ ./autogen.sh > $ ./configure --with-platform=3Dcoreboot > $ make > > it worked fine too. So, maybe I=E2=80=99m missing when I need to run > `./autogen.sh` and not only `make clean`. Are there some guidelines? > Normally autogen.sh is needed just once after git checkout (or I think to rebuild message catalogs if you add some). All other times I just use "make distclean" which worked so far.