From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VALNc-0008Ce-MS for mharc-grub-devel@gnu.org; Fri, 16 Aug 2013 10:51:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VALNV-00089Q-He for grub-devel@gnu.org; Fri, 16 Aug 2013 10:51:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VALNN-0002xx-J8 for grub-devel@gnu.org; Fri, 16 Aug 2013 10:51:49 -0400 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:53363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VALNN-0002xm-CW for grub-devel@gnu.org; Fri, 16 Aug 2013 10:51:41 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so997237eek.1 for ; Fri, 16 Aug 2013 07:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=b4tUng9rw5Q+ILOxbW0tTbzNorMdigH6uiEmeNyjyW0=; b=vhzWXDZ7qd16zI6RA1G//+an+jKswXAgYlfm7d2h83TPO+nplTxmjIXD41uAUigRUp bpU/hHvFlM5Epr3PrdoerOKzdqsC7StCklHTYwDqhts68HTlXHmfAEeurz0aVea/mxQA 2ieucAoeSKiPlHbg7T3kA8H8jK8UAUkuavQfvj/rzfgoZFQSQDrDC0o/l4Jve4pP3V+m h3QDmG+O2CX4a/ON5J00H9NWyGn0cQV1JCEJtelUtQbkbPoU1JvW9FfbODD9U0jQKNqp 8fayTDWcv5jWN9xRYMyGee7OCuDGOgr+gb4zP/FCa3PwEV6WxWTdhETYIdEzOVOuKg+b eL4w== X-Received: by 10.14.183.130 with SMTP id q2mr147144eem.5.1376664700553; Fri, 16 Aug 2013 07:51:40 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id n48sm3119654eeg.17.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 Aug 2013 07:51:39 -0700 (PDT) Message-ID: <520E3C75.9040802@gmail.com> Date: Fri, 16 Aug 2013 16:51:33 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem References: <201308091537.37473.Ilya_Bakulin@genua.de> <201308141716.45205.Ilya_Bakulin@genua.de> <520BB03D.4050907@gmail.com> <201308161633.39403.Ilya_Bakulin@genua.de> <520E3A2F.8060200@gmail.com> In-Reply-To: <520E3A2F.8060200@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2HWOPHNTISCWRHGBNAWSU" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013: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: Fri, 16 Aug 2013 14:51:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2HWOPHNTISCWRHGBNAWSU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 16.08.2013 16:41, Gr=C3=A9goire Sutre wrote: > On 08/16/2013 04:33 PM, Ilya Bakulin wrote: >=20 >> So the types "double" and "float" are not recognized. >> >> Could you please help me to debug this? >=20 > I get the exact same problem on NetBSD. A simple (temporary) > work-around is to remove the flags: >=20 > -Dfloat=3D__grub_poision -Ddouble=3D__grub_poision >=20 > Those are set in conf/Makefile.common. >=20 The problem is that OpenBSD and NetBSD insist on using floating-point types which if used in GRUB (or any other code designed to run in integer-only environment) would cause crash. This insistance is bad and dangerous. > Gr=C3=A9goire >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel ------enig2HWOPHNTISCWRHGBNAWSU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlIOPHUACgkQNak7dOguQgnuKQEAsavJoAV0fHWT6KNwHBWTkpUJ OMQLQaoT77nTZwvIVm0BAK1MZjpIaxStKKpDLm1EP4LiQnIKuvc3sy8pSaihaKhw =c0Lm -----END PGP SIGNATURE----- ------enig2HWOPHNTISCWRHGBNAWSU--