[gnu-sol-discuss] Issues compiling grub (0.95/0.97) on OpenSolaris

Brian Gann bgann at gibbontech.com
Fri May 18 22:17:10 PDT 2007


Hello, 

I was trying to rev from GRUB 0.95 (that came with OpenSolaris v59) to the cvs version (0.97+), and ran into a compilation issue.

In a nutshell, gcc does not support nested functions/trampolines, as described by the authors of grub.  It relies on an executable stack, and that's nowhere to be found in OpenSolaris (or the gcc that comes with it).

My question is:  How was grub-0.95 compiled for this release?   Is OpenSolaris a complete cross-compile from another OS?

I took the same version of grub to a Fedora Core 5 box and it compiled without any issues, so I know it's not the source.

Cheers

Brian
 
 
This message posted from opensolaris.org



More information about the gnu-sol-discuss mailing list