Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
Hi Vladimir, this patch is needed because the declaration of __bzero must made also for non util AND util compilation: __bzero is used in compilation of grub-core/kern/misc.c (line 546). Without this patch we have this error: http://pastebin.com/aiPGcte0 So the declaration must be made even if

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Vladimir 'phcoder' Serbinenko
On 8 Apr 2014 10:55, "Yves Blusseau" wrote: > > Hi Vladimir, > > this patch is needed because the declaration of __bzero must made also for non util AND util compilation: __bzero is used in compilation of grub-core/kern/misc.c (line 546). > > Without this patch we have this error: http://pastebin.

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko a écrit : > > On 8 Apr 2014 10:55, "Yves Blusseau" wrote: > > > > Hi Vladimir, > > > > this patch is needed because the declaration of __bzero must made also for > > non util AND util compilation: __bzero is used in compilation of > > gr

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 08.04.2014 14:27, Yves Blusseau wrote: > > Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko > a écrit : > >> >> On 8 Apr 2014 10:55, "Yves Blusseau" > > wrote: >> > >> > Hi Vladimir, >> > >> > this patch is needed because the declarati

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread SevenBits
On Apr 8, 2014, at 5:47 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 08.04.2014 14:27, Yves Blusseau wrote: >> >> Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko > > a écrit : >> >>> >>> On 8 Apr 2014 10:55, "Yves Blusseau" >>

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 08.04.2014 23:50, SevenBits wrote: > Yves: what I presume was meant was that your patch only needs to be applied > on Apple machines, and so you should surround certain parts in preprocessor > statements so they don’t negatively effect compilation on other platforms and > compilers. You say d

Re: XP, 8.1 and UEFI with grub2?

2014-04-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 08.04.2014 03:48, SevenBits wrote: > On Monday, April 7, 2014, > wrote: > > Grub Gurus > > Perhaps this is good timing for this > question. I hope I am asking it in the right place. I have been > using Ubuntu and XP multiboot for quite some ti