Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiling bin-i386-efi/snponly.efi
2014-02-01, 23:33
Post: #1
compiling bin-i386-efi/snponly.efi
I am trying to compile bin-i386-efi/snponly.efi for booting a early mac mini and I am getting a huge number of errors regarding relocation truncation. I assume this means there are too many components selected. Is this the case? if so what should I disable?
Code:
[LD] bin-i386-efi/snponly.efi.tmp
bin-i386-efi/blib.a(librm.o): In function `p2r_jump_vector':
(.data16+0x3e): relocation truncated to fit: R_386_16 against `.text16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x8): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0xe): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x16): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x21): relocation truncated to fit: R_386_16 against symbol `rm_cs' defined in .data16 section in bin-i386-efi/blib.a(librm.o)
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x28): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x35): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x3e): relocation truncated to fit: R_386_16 against symbol `rm_ds' defined in .text16.data section in bin-i386-efi/blib.a(librm.o)
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x45): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x52): relocation truncated to fit: R_386_16 against `.data16'
bin-i386-efi/blib.a(librm.o): In function `init_librm':
(.text16+0x56): additional relocation overflows omitted from the output
make: *** [bin-i386-efi/snponly.efi.tmp] Error 1
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-02-11, 09:29
Post: #2
RE: compiling bin-i386-efi/snponly.efi
You should report this on the mailing-list where the developers might be able to help you. If you're trying to compile using Xcode then you might have a slightly broken/old GCC toolchain.
Visit this user's website Find all posts by this user
Quote this message in a reply
2014-04-25, 17:03
Post: #3
RE: compiling bin-i386-efi/snponly.efi
As to the current state of affairs:

When compiling snponly.efi it will fail if you try to create a version that will load any binary that is not efi, including linux bzimages. recent linux kernels can also be efi, or you need a loader.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 4 Guest(s)