From: Andrei Borzenkov <arvidjaar@gmail.com>
To: Paul Menzel <paulepanter@users.sourceforge.net>
Cc: grub-devel@gnu.org
Subject: Re: Building GRUB fails with `In function `do_setkey' undefined reference to `fips_mode'`
Date: Fri, 26 Dec 2014 20:59:05 +0300 [thread overview]
Message-ID: <20141226205905.31a6c9d0@opensuse.site> (raw)
In-Reply-To: <1419589404.4038.1.camel@users.sourceforge.net>
[-- Attachment #1: Type: text/plain, Size: 3011 bytes --]
В Fri, 26 Dec 2014 11:23:24 +0100
Paul Menzel <paulepanter@users.sourceforge.net> пишет:
> Dear GRUB folks,
>
>
> 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=coreboot
> $ make
> […]
> 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 -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-br
> aces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunkn
> own-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs
> -Wstrict-prototypes -Wcast-align -Wextra -Wattributes -Wendif-labels -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 -Wformat=2 -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?
> 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_set3keys':
> 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
>
>
> Thanks,
>
> Paul
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2014-12-26 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-26 10:23 Building GRUB fails with `In function `do_setkey' undefined reference to `fips_mode'` Paul Menzel
2014-12-26 17:59 ` Andrei Borzenkov [this message]
2014-12-29 10:36 ` Paul Menzel
2014-12-29 13:36 ` Andrei Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141226205905.31a6c9d0@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=paulepanter@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).