* Problem compiling grub 1.98 on MacOSX
@ 2010-04-12 13:36 Yves Blusseau
0 siblings, 0 replies; only message in thread
From: Yves Blusseau @ 2010-04-12 13:36 UTC (permalink / raw)
To: The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 1184 bytes --]
Hi,
i have an error when trying to compile grub 1.98 on MacOSX 10.6.2:
gcc-4.2 -Iboot/i386/pc -I./boot/i386/pc -I./include -I. -I./include
-Wall -W -DASM_FILE=1 -nostdinc -fno-builtin -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 -DAPPLE_CC=1 -fnested-functions -m32 -m32
-DGRUB_FILE=\"boot/i386/pc/diskboot.S\" -MD -c -o
diskboot_img-boot_i386_pc_diskboot.o boot/i386/pc/diskboot.S
gcc-4.2 -o diskboot.exec diskboot_img-boot_i386_pc_diskboot.o -nostdlib
-m32 -nostdlib -nostdlib -static -Wl,-preload -Wl,-segalign,20
-Wl,-image_base,0x8000
ld_classic: diskboot_img-boot_i386_pc_diskboot.o illegal reference to
debug section, from non-debug section (__TEXT,__text) via relocation
entry (5) to section (__DWARF,__debug_line)
collect2: ld returned 1 exit status
make: *** [diskboot.exec] Error 1
If i had .byte 0 at the end of boot/i386/pc/diskboot.S the error is
removed but the size of diskboot.img is 544 bytes instead of 512.
Best regards,
Yves Blusseau
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3326 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-04-12 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-12 13:36 Problem compiling grub 1.98 on MacOSX Yves Blusseau
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.