From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem
Date: Fri, 16 Aug 2013 16:51:33 +0200 [thread overview]
Message-ID: <520E3C75.9040802@gmail.com> (raw)
In-Reply-To: <520E3A2F.8060200@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
On 16.08.2013 16:41, Grégoire Sutre wrote:
> On 08/16/2013 04:33 PM, Ilya Bakulin wrote:
>
>> So the types "double" and "float" are not recognized.
>>
>> Could you please help me to debug this?
>
> I get the exact same problem on NetBSD. A simple (temporary)
> work-around is to remove the flags:
>
> -Dfloat=__grub_poision -Ddouble=__grub_poision
>
> Those are set in conf/Makefile.common.
>
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égoire
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
next prev parent reply other threads:[~2013-08-16 14:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201308091537.37473.Ilya_Bakulin@genua.de>
[not found] ` <520A9F30.6080901@gmail.com>
2013-08-14 8:59 ` GRUB2 on OpenBSD 5.3-amd64: linking problem Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:09 ` Ilya Bakulin
2013-08-14 13:27 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 13:49 ` Grégoire Sutre
2013-08-14 15:16 ` Ilya Bakulin
2013-08-14 16:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-16 14:33 ` Ilya Bakulin
2013-08-16 14:41 ` Grégoire Sutre
2013-08-16 14:51 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-08-15 15:00 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-15 23:12 ` Grégoire Sutre
[not found] ` <52150FC5.3040109@gmail.com>
[not found] ` <52165590.4050207@gmail.com>
[not found] ` <201308231126.22583.Ilya_Bakulin@genua.de>
2013-08-23 9:31 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-23 11:53 ` Ilya Bakulin
2013-08-30 17:33 ` Douglas Ray
2013-09-18 11:49 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-09-23 15:59 ` Ilya Bakulin
2013-09-23 16:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-07 9:05 ` Ilya Bakulin
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=520E3C75.9040802@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/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).