Beeblebrox a écrit :
>>> current version of grub2 in the ports could be sufficient for your need
> That's what I had hoped for and expected, but the port build fails (that's
> why I had contacted the port maintainer Sergey Matveychuk). Build for grub
> 1.98_1 breaks at:
>
> gcc -Iefiemu -I./efiemu -nostdinc -isystem
> /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.3/include
> -I./include -I. -I./include -Wall -W  -Os -DGRUB_MACHINE_PCBIOS=1 -Wall -W
> -Wshadow -Wpointer-arith -Wmissing-prototypes                -Wundef
> -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1
> -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32
> -fno-stack-protector -mno-stack-arg-probe -Werror -fno-builtin -mrtd
> -mregparm=3 -m32 -MD -c -o efiemu_mod-efiemu_main.o efiemu/main.c
> efiemu/main.c: In function 'grub_efiemu_prepare':
> efiemu/main.c:280:14: error: variable 'err' set but not used
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> gmake: *** [efiemu_mod-efiemu_main.o] Error 1
> *** [do-build] Error code 1
>
> Is there a way to get around the error?
>
> Thanks and Regards
>
>
>
> --
> View this message in context: 
> http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799464.html
> Sent from the freebsd-ports mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lits.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

There's something wrong here. You're compiling with gcc and use gcc46
include files?
Anyway I get the same error with grub 1.98 when trying to build with gcc46.

I know that this version can be built with base gcc but the configure
script will expect cc=gcc.
This is not true anymore in 10-current where cc=clang.

So I guess it's broken in 10-current.

I'm sending this to your email so you can grab the tarball.




-- 
christian.man...@gmail.com - PGP: C850892A

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to