Re: error: relocation 0x2 is not module-local on OS X 10.7 using native compiler

2016-04-19 Thread Vladimir 'phcoder' Serbinenko
What is the target platform? What is the result of mcmodel=large check? Le 20 avr. 2016 07:11, "Andrei Borzenkov" a écrit : > TARGET_OBJ2ELF= sh genmod.sh moddep.lst disk.module > build-grub-module-verifier disk.mod > > Input file: disk.mod.tmp.bin, output file: disk.mod.tmp > Converting from Mac

error: relocation 0x2 is not module-local on OS X 10.7 using native compiler

2016-04-19 Thread Andrei Borzenkov
TARGET_OBJ2ELF= sh genmod.sh moddep.lst disk.module build-grub-module-verifier disk.mod Input file: disk.mod.tmp.bin, output file: disk.mod.tmp Converting from Mach-O Little Endian64 to ELF64 Removing leading underscores from symbol names Changing leading underscores on section names to dot 0 D

[PATCH v3] build: Use AC_HEADER_MAJOR to find device macros

2016-04-19 Thread Mike Gilbert
Depending on the OS/libc, device macros are defined in different headers. This change ensures we include the right one. sys/types.h - BSD sys/mkdev.h - Sun sys/sysmacros.h - glibc (Linux) glibc currently pulls sys/sysmacros.h into sys/types.h, but this may change in a future release. https://sou

Re: [PATCH] verify: search keyid in hashed signature subpackets

2016-04-19 Thread Ignat Korchagin
Was preparing test data for the above patch. I wanted to reuse files and keys in tests/file_filter. There are two files: keys and keys.pub. I assumed first one is private key, while the other one is public. However, it seems that keys is public as well. Is the test private key for this public key a

Re: Is objconv a requirement for building Grub?

2016-04-19 Thread Eric Andrew Lewis
On Mon, Apr 18, 2016 at 11:34 PM, Andrei Borzenkov wrote: > If you installed all requirements, you should also > have binutils which includes GNU ld and GCC. In this case any reason you > do not use them? I did install binutils and proceeded with the instructions in the INSTALL file. Should I ha