Re: Patch to compile grub2 with Apple compiler

2014-05-02 Thread Yves Blusseau
Le 20 avr. 2014 à 16:10, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com a écrit : On 12.04.2014 19:54, Yves Blusseau wrote: Le 12 avr. 2014 à 19:06, Andrey Borzenkov arvidj...@gmail.com a écrit : В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: The

Re: Patch to compile grub2 with Apple compiler

2014-04-20 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12.04.2014 19:54, Yves Blusseau wrote: Le 12 avr. 2014 à 19:06, Andrey Borzenkov arvidj...@gmail.com a écrit : В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: The i386-pc version built from OSX doesn't work. It will only display Grub Loading… Not surprising.

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 10 avr. 2014 à 23:20, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com a écrit : On 09.04.2014 13:11, Yves Blusseau wrote: Is this patch ok ? Is yes can i commit it ? Did you test it? Yes i test it. Compile grub (EFI) on OSX 10.8.5 (Mountain Lion) with Xcode 5.1 and it's

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
The i386-pc version built from OSX doesn't work. It will only display Grub Loading… Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Andrey Borzenkov
В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: The i386-pc version built from OSX doesn't work. It will only display Grub Loading… On which platform? ___ Grub-devel mailing list Grub-devel@gnu.org

Re: Patch to compile grub2 with Apple compiler

2014-04-12 Thread Yves Blusseau
Le 12 avr. 2014 à 19:06, Andrey Borzenkov arvidj...@gmail.com a écrit : В Sat, 12 Apr 2014 13:27:57 +0200 Yves Blusseau bluss...@zetam.org пишет: The i386-pc version built from OSX doesn't work. It will only display Grub Loading… On which platform? i386-pc smime.p7s Description:

Re: Patch to compile grub2 with Apple compiler

2014-04-10 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 09.04.2014 13:11, Yves Blusseau wrote: Is this patch ok ? Is yes can i commit it ? Did you test it? And no, patch is not ok. It's my patch with your name stuck on it. Never ever put your name on someone else's patches it's plagiate. signature.asc Description: OpenPGP digital signature

Re: Patch to compile grub2 with Apple compiler

2014-04-09 Thread Yves Blusseau
Is this patch ok ? Is yes can i commit it ? declare-__bzero-apple-compiler.patch Description: Binary data Regards, Yves smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list Grub-devel@gnu.org

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

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Vladimir 'phcoder' Serbinenko
On 8 Apr 2014 10:55, Yves Blusseau bluss...@zetam.org 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:

Re: Patch to compile grub2 with Apple compiler

2014-04-08 Thread Yves Blusseau
Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko phco...@gmail.com a écrit : On 8 Apr 2014 10:55, Yves Blusseau bluss...@zetam.org 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

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 phco...@gmail.com mailto:phco...@gmail.com a écrit : On 8 Apr 2014 10:55, Yves Blusseau bluss...@zetam.org mailto:bluss...@zetam.org wrote: Hi Vladimir, this patch is needed because the

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 phco...@gmail.com wrote: On 08.04.2014 14:27, Yves Blusseau wrote: Le 8 avr. 2014 à 11:00, Vladimir 'phcoder' Serbinenko phco...@gmail.com mailto:phco...@gmail.com 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

Patch to compile grub2 with Apple compiler

2014-04-07 Thread Yves Blusseau
Hi, this is a patch to allow compilation of grub2 with Apple Compiler apple__bzero-declaration.patch Description: Binary data Regards, Yves Blusseau smime.p7s Description: S/MIME cryptographic signature ___ Grub-devel mailing list

Re: Patch to compile grub2 with Apple compiler

2014-04-07 Thread SevenBits
On Monday, April 7, 2014, Yves Blusseau bluss...@zetam.org wrote: Hi, this is a patch to allow compilation of grub2 with Apple Compiler Haven't looked at it yet, but if it works, I'd be major. Currently I have to build GRUB on Linux when my current development machine is a Mac. This will be

Re: Patch to compile grub2 with Apple compiler

2014-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.04.2014 13:21, Yves Blusseau wrote: Hi, this is a patch to allow compilation of grub2 with Apple Compiler Why do you need this patch? __bzero shouldn't need any special tratement in GRUB_UTIL case. Regards, Yves Blusseau ___

Re: Patch to compile grub2 with Apple compiler

2014-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.04.2014 17:04, SevenBits wrote: On Monday, April 7, 2014, Yves Blusseau bluss...@zetam.org mailto:bluss...@zetam.org wrote: Hi, this is a patch to allow compilation of grub2 with Apple Compiler Haven't looked at it yet, but if it works, I'd be major. GRUB was compileable

Re: Patch to compile grub2 with Apple compiler

2014-04-07 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/07/2014 03:52 PM, Vladimir '?-coder/phcoder' Serbinenko wrote: On 07.04.2014 17:04, SevenBits wrote: On Monday, April 7, 2014, Yves Blusseau bluss...@zetam.org mailto:bluss...@zetam.org wrote: Hi, this is a patch to allow compilation

Re: Patch to compile grub2 with Apple compiler

2014-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 07.04.2014 22:34, SevenBits wrote: On 04/07/2014 03:52 PM, Vladimir '?-coder/phcoder' Serbinenko wrote: On 07.04.2014 17:04, SevenBits wrote: On Monday, April 7, 2014, Yves Blusseau bluss...@zetam.org mailto:bluss...@zetam.org wrote: Hi, this is a patch to allow compilation of grub2