Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479764 - sys-boot/grub-2.00_p5086 build failure with multiboot
Summary: sys-boot/grub-2.00_p5086 build failure with multiboot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-04 23:32 UTC by Patrick McLean
Modified: 2013-08-16 00:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McLean gentoo-dev 2013-08-04 23:32:47 UTC
New grub snapshot fails to build with GRUB_PLATFORMS="multiboot". Here is the relevant part of the build log (I can provide a full log if needed).

DGRUB_MACHINE=I386_MULTIBOOT -DGRUB_TARGET_CPU_I386=1 -m32 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/include -DGRUB_FILE=\"symlist.c\" -I. -I/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core -I.. -I/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00 -I/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/include -I../include -I/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/lib/libgcrypt-grub/include -I/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/lib/libgcrypt-grub/src/     -Os -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value  -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m32 -fno-stack-protector -mno-stack-arg-probe -Wtrampolines -DUSE_ASCII_FALLBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1          -Dfloat=__grub_poision -Ddouble=__grub_poision -ffreestanding   -c -o kernel_exec-symlist.o `test -f 'symlist.c' || echo '/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/'`symlist.c
x86_64-pc-linux-gnu-gcc -Os -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value  -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -m32 -fno-stack-protector -mno-stack-arg-probe -Wtrampolines -DUSE_ASCII_FALLBACK=1 -DHAVE_UNIFONT_WIDTHSPEC=1          -Dfloat=__grub_poision -Ddouble=__grub_poision -ffreestanding   -m32 -Wl,--build-id=none   -nostdlib -Wl,-N -static-libgcc -Wl,-Ttext=0x8200   -o kernel.exec kern/i386/coreboot/kernel_exec-startup.o kern/i386/coreboot/kernel_exec-init.o kern/i386/kernel_exec-multiboot_mmap.o term/i386/pc/kernel_exec-vga_text.o kern/i386/kernel_exec-dl.o kern/i386/kernel_exec-tsc.o kern/kernel_exec-mm.o kern/kernel_exec-time.o kern/generic/kernel_exec-millisleep.o kern/kernel_exec-command.o kern/kernel_exec-corecmd.o kern/kernel_exec-device.o kern/kernel_exec-disk.o kern/kernel_exec-dl.o kern/kernel_exec-env.o kern/kernel_exec-err.o kern/kernel_exec-file.o kern/kernel_exec-fs.o kern/kernel_exec-list.o kern/kernel_exec-main.o kern/kernel_exec-misc.o kern/kernel_exec-parser.o kern/kernel_exec-partition.o kern/kernel_exec-rescue_parser.o kern/kernel_exec-rescue_reader.o kern/kernel_exec-term.o kernel_exec-symlist.o   
kern/i386/coreboot/kernel_exec-init.o: In function `grub_machine_init':
/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/kern/i386/coreboot/init.c:93: undefined reference to `grub_video_coreboot_fb_early_init'
/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/kern/i386/coreboot/init.c:102: undefined reference to `grub_video_coreboot_fb_late_init'
/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/kern/i386/coreboot/init.c:104: undefined reference to `grub_font_init'
/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00/grub-core/kern/i386/coreboot/init.c:105: undefined reference to `grub_gfxterm_init'
collect2: error: ld returned 1 exit status
make[3]: *** [kernel.exec] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00-multiboot/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00-multiboot/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-2.00_p5086/work/grub-2.00-multiboot'
make: *** [all] Error 2
Comment 1 Mike Gilbert gentoo-dev 2013-08-05 01:11:57 UTC
Upstream bug in URL.
Comment 2 Willard Dawson 2013-08-05 05:49:57 UTC
(In reply to Mike Gilbert from comment #1)
> Upstream bug in URL.

I also experienced this build failure, exactly as reported.
Comment 3 Vadim 2013-08-15 15:18:05 UTC
I confirm exactly the same error on ~amd64
Comment 4 Mike Gilbert gentoo-dev 2013-08-15 19:35:11 UTC
Fixed upstream:

http://bzr.savannah.gnu.org/lh/grub/trunk/grub/revision/5094
Comment 5 Mike Gilbert gentoo-dev 2013-08-16 00:54:48 UTC
+*grub-2.00_p5107 (16 Aug 2013)
+
+  16 Aug 2013; Mike Gilbert <floppym@gentoo.org> +grub-2.00_p5107.ebuild:
+  New snapshot, resolves multiboot build failure, bug 479764.