grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling grub 1.98 on MacOSX


From: Yves Blusseau
Subject: Problem compiling grub 1.98 on MacOSX
Date: Mon, 12 Apr 2010 15:36:18 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.2pre) Gecko/20100302 Lightning/1.0b2pre Lanikai/3.1b1

 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: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]