[Top][All Lists]

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

Re: GRUB2 Build on Mac OS X

From: Andrei Warkentin
Subject: Re: GRUB2 Build on Mac OS X
Date: Thu, 8 Dec 2005 09:09:01 -0600

I think the best solution would be to entirely avoid Apple's bundled OS X-specific GCC. An powerpc-elf -targetted GCC cross-compiler hosted on OS X should be perfect for both OpenSolaris and for GRUB2.

On Dec 8, 2005, at 12:10 AM, Andre Smith wrote:

The GRUB2 build fails on Mac OS X, due to non-support of nested functions in GCC on OS X. The reasoning behind this, the GCC implementation of nested functions uses stack based execution. Hackers use buffer overflows, along with stack based execution, to exploit weaknesses in poorly written code. Apple has decided to disable nested function support until a volunteer has patched GCC with a non-stack based implementation of nested functions.

I would like to see the PowerPC port of Open Solaris build on Mac hardware. I have been working on patches for the code that uses nested functions in the GRUB2 project and I would like get some feedback from the list. I would also like to solicit help in testing the patches against the official tree for regression testing.


Grub-devel mailing list

reply via email to

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