GRUB is currently broken by the change to PIE by default on i386. (it is currently only built on i386; in theory building on amd64 should also be possible but it's more complicated than, say, memtest86+).
Is there anyone using it from OpenBSD ports/packages who can test this diff on i386 -current? Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/grub/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 9 Nov 2013 23:19:03 -0000 1.10 +++ Makefile 7 Jan 2014 14:35:58 -0000 @@ -12,6 +12,7 @@ HOMEPAGE= https://www.gnu.org/software/g # GPL PERMIT_PACKAGE_CDROM= Yes + WANTLIB= c ncurses util MASTER_SITES= ftp://alpha.gnu.org/gnu/grub/ \ @@ -21,7 +22,7 @@ MASTER_SITES= ftp://alpha.gnu.org/gnu/gr CONFIGURE_STYLE=gnu USE_GROFF = Yes -CFLAGS= -ftrampolines -fno-stack-protector +CFLAGS= -ftrampolines -fno-stack-protector -fno-pie -nopie post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/grub Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/grub/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 13 Apr 2007 08:29:17 -0000 1.1.1.1 +++ distinfo 7 Jan 2014 14:36:01 -0000 @@ -1,5 +1,2 @@ -MD5 (grub-0.97.tar.gz) = zT8+tURGvmADFWFY1R9IhA== -RMD160 (grub-0.97.tar.gz) = f7VnTt8MlQvTjpT4X/HikJqnQfA= -SHA1 (grub-0.97.tar.gz) = JYBibEV5vZkzbTr0SCw0bJXaxPs= SHA256 (grub-0.97.tar.gz) = Th0V0S29PpIIER1rgGrVqYV8qIUMR4d9NldbkEVZJgs= SIZE (grub-0.97.tar.gz) = 971783