Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VO9GH-0005Rh-Bq for mharc-grub-devel@gnu.org; Mon, 23 Sep 2013 12:45:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VO9GE-0005R4-NM for grub-devel@gnu.org; Mon, 23 Sep 2013 12:45:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VO9G9-0005P1-Mc for grub-devel@gnu.org; Mon, 23 Sep 2013 12:45:22 -0400 Received: from gg6-2.genua.de ([2001:a60:f08e:c000::2]:30676 helo=gg.genua.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VO9G9-0005NU-CW for grub-devel@gnu.org; Mon, 23 Sep 2013 12:45:17 -0400 Received: from gg.genua.de (localhost.genua.de [127.0.0.1]) by gg.genua.de (8.14.5/8.14.5) with ESMTP id r8NFxwUn020725 for ; Mon, 23 Sep 2013 17:59:58 +0200 (CEST) Received: (from localhost) by gg.genua.de (MSCAN) id 3/gg.genua.de/smtp-gw/mscan; Mon Sep 23 17:59:58 2013 From: Ilya Bakulin To: grub-devel@gnu.org Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem Date: Mon, 23 Sep 2013 17:59:49 +0200 User-Agent: KMail/1.9.10 (enterprise35 20120322.0d8ab49a133482885a7a6ae00ec4472b1859206f) References: <201308091537.37473.Ilya_Bakulin@genua.de> <5220D779.9040106@cpan.org> <52399352.2020705@gmail.com> In-Reply-To: <52399352.2020705@gmail.com> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1483982.TiuxFb952i"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-ID: <201309231759.57631.Ilya_Bakulin@genua.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:a60:f08e:c000::2 Cc: Vladimir =?utf-8?q?=27=CF=86-coder/phcoder=27?= Serbinenko 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, 23 Sep 2013 16:45:24 -0000 --nextPart1483982.TiuxFb952i Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Vladimir, So I'm preparing a OpenBSD port of GRUB2. I have chosen a revision 5152 for the initial version of the port. Unfortunately, the build fails when using -Werror. I suspect that the ports framework overrides some values that are usually=20 guessed by ./configure, and this causes build to fail. The build log are available here: Build with -Werror: http://dl.bakulin.de/openbsd/grub-build/make_werror.log Build without -Werror:=20 http://dl.bakulin.de/openbsd/grub-build/make_no_werror.log Build using ./configure --disable-silent-rules LEX=3D/usr/local/bin/gflex, = out=20 of ports framework (in this case ./configure doesn't use any cached values): http://dl.bakulin.de/openbsd/grub-build/make_standalone.log I am not familiar with the GNU configure, but AFAIK the product of ./config= ure is the set of config-*.h files. If it is right, there are two files for GRU= B2, config.h and config-util.h. Here is a diff between config-util.h generated= =20 during standalone and port build: $ diff config-util.h_standalone config-util.h_portbuild = = =20 1040c1040 < /* #undef HAVE_SYS_MOUNT_H */ =2D-- > #define HAVE_SYS_MOUNT_H 1 1518c1518 < #define restrict __restrict =2D-- > #define restrict __restrict__ That is, HAVE_SYS_MOUNT_H is defined when building the port, and "restrict"= is=20 __restrict__. Could you please help me to debug this error? =2D- Ilya On Wednesday 18 September 2013 13:49:38 Vladimir '=CF=86-coder/phcoder' Ser= binenko=20 wrote: > On 30.08.2013 19:33, Douglas Ray wrote: > > calomel.org asserts that, as of OpenBSD 5.1, all their random devices > > use the arc4 library; /dev/urandom now gives as good as /dev/arandom. > > This is good enough. We are not crypto society which goes into security > holes in other software. Also impact of bad random is minor in GRUB > case. If X is considered the right to get random on given OS then it's ok. --nextPart1483982.TiuxFb952i Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABAgAGBQJSQGV3AAoJEHfg8By8ZAOvFwMQAIHGYgssBUeGCRHNRrzxmOQI IzAp6JtKKWd1L4kM5y/ikmNWqN5KyBG5zircPfQqKAuLYRuXLT5Lulmqcn4VUYaU O8Rgkko4SYj0QASUPbVlTgW7QlmXeO8dG658SARo11EH+UGl8d3hg95+UpUaeo/r ErmZI9vQrvwjs3UtAB6cgqR8aAUdEdMMKluVBgFKzIhEgodyiF/ozWPStPooU2jb EuuGhKtwod7DGkpOBliBhOywG59ncgRi7U/0cTT2IDCwLN6YD6LTShtDBa/F3UWh Ngs6QYSJAj1OCuIGLLHtg9qAUGreOml5q7W/v8Gx9bmDd8Nijyb9TxaSlmmmkbpV AWun3Qmxxk+fJXckwLRDeedPEJxRSQzQ6n5dwFoutslcmwJJzF8V00YC+MOGHjtr mn5L8jdMv2IYEBb52GpV06RUhFyWrGtZUk03jJGOevKlxSO2pxCvYjCLA1HSsuxf rHvqCG1nl7Bdh3OOe9UvbbA+v5N9UfnjvA0DJHa7lSBtsgjKS1JD2/jlxUAUt63/ Zox6bCq5z+yo5ev9LYXD70WHe9uVhgy8YZtBBcHSlkVT8SHVtRadKDmWLscXhZr8 7RwvOB1sqK+YsM+lc/WyiuLs94NvPmIIySdrc7y8BhM8kd2GT+VsWbhH1LF37oZQ G2c4EhbEEc9E9som9AwM =9rlt -----END PGP SIGNATURE----- --nextPart1483982.TiuxFb952i--