grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB2 on OpenBSD 5.3-amd64: linking problem


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: GRUB2 on OpenBSD 5.3-amd64: linking problem
Date: Fri, 16 Aug 2013 16:51:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]