From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Y4ZAZ-0002PN-Qm for mharc-grub-devel@gnu.org; Fri, 26 Dec 2014 12:59:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4ZAW-0002Nq-Rr for grub-devel@gnu.org; Fri, 26 Dec 2014 12:59:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4ZAR-0006an-Oz for grub-devel@gnu.org; Fri, 26 Dec 2014 12:59:20 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:38342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4ZAR-0006Ys-I1 for grub-devel@gnu.org; Fri, 26 Dec 2014 12:59:15 -0500 Received: by mail-la0-f42.google.com with SMTP id gd6so9147679lab.29 for ; Fri, 26 Dec 2014 09:59:14 -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=6ysqmEJU1n7DzZEIiPv66iWOxOL4J6CMTPURMD6G95Q=; b=XZzdO+VdBqDzZbpTJzc7IALcJNuUrFy6ooLPv7taf/w/nWSvKB28co+ErrebdzMM20 BD7hDHZjtiSE33f2nkwd8qe9njXLS+2Z6x35+H+pUhmPd/r2eo9GhcKI1IOnAj0hBviC j2u6NqBl8h33rMAjUGDi3L7GcCnTtOXCcFJNBBi6zd4rrBjJVB9v3T8k2GptYZR0Zk4d 5MxcT27p/ZUl3qIXjpmN60NvhRVuoIVgwHHiXxI3ImgRwiZscvODQg8J3htn2MNqWlvE Lpn9vhHh6tX+dz3ILrDjHnGlpRH8CG+0p3hY/UgBC5byER/JVfN5x57gy0dKyo9Lm6fY UW4w== X-Received: by 10.152.43.103 with SMTP id v7mr44774669lal.29.1419616754350; Fri, 26 Dec 2014 09:59:14 -0800 (PST) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id vl1sm550113lbb.21.2014.12.26.09.59.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Dec 2014 09:59:13 -0800 (PST) Date: Fri, 26 Dec 2014 20:59:05 +0300 From: Andrei Borzenkov To: Paul Menzel Subject: Re: Building GRUB fails with `In function `do_setkey' undefined reference to `fips_mode'` Message-ID: <20141226205905.31a6c9d0@opensuse.site> In-Reply-To: <1419589404.4038.1.camel@users.sourceforge.net> References: <1419589404.4038.1.camel@users.sourceforge.net> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/Rpm8h/GS7Wj4Y4RuQfWYH9F"; 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:c03::22a Cc: grub-devel@gnu.org 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, 26 Dec 2014 17:59:22 -0000 --Sig_/Rpm8h/GS7Wj4Y4RuQfWYH9F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 26 Dec 2014 11:23:24 +0100 Paul Menzel =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear GRUB folks, >=20 >=20 > with latest master >=20 > $ git describe > grub-2.02-beta2-137-gbac5d1a >=20 > building GRUB as a coreboot payload fails on Debian Sid/unstable. >=20 > $ make clean > $ ./configure --with-platform=3Dcoreboot > $ make > [=E2=80=A6] > mv -f .deps-util/grub_fstest-grub_fstest_init.Tpo .deps-util/grub= _fstest-grub_fstest_init.Po > gcc -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -= Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -W > float-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -W= implicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-br > aces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wretur= n-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunkn > own-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-pa= rameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs > -Wstrict-prototypes -Wcast-align -Wextra -Wattributes -Wendif-la= bels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initia > lizers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-= aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing > -include-dirs -Wmissing-prototypes -Wmissing-declarations -Wforma= t=3D2 -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter > -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion = -o grub-fstest util/grub_fstest-grub-fstest.o grub-core/kern/emu/grub_fstes > t-hostfs.o grub-core/disk/grub_fstest-host.o grub-core/osdep/grub= _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_setkey': > 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?=20 > libgrubgcry.a(libgrubgcry_a-des.o): In function `des_setkey': > des.c:(.text+0x542): undefined reference to `fips_mode' > libgrubgcry.a(libgrubgcry_a-des.o): In function `tripledes_set3ke= ys': > des.c:(.text+0x1410): undefined reference to `fips_mode' > collect2: error: ld returned 1 exit status > Makefile:4962: recipe for target 'grub-fstest' failed > make[2]: *** [grub-fstest] Error 1 > make[2]: Leaving directory '/home/paul/src/grub' > Makefile:11522: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/home/paul/src/grub' > Makefile:3936: recipe for target 'all' failed > make: *** [all] Error 2 >=20 >=20 > Thanks, >=20 > Paul >=20 >=20 --Sig_/Rpm8h/GS7Wj4Y4RuQfWYH9F Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSdoewACgkQR6LMutpd94wV+gCgw6fe5IL1wCAl+aIVes3ehc2k nzcAoNOjgDAOic7emlss/0bzQN7Wfakn =m8Uq -----END PGP SIGNATURE----- --Sig_/Rpm8h/GS7Wj4Y4RuQfWYH9F--