Re: [edk2-buildtools] X64 build

2013-07-08 Thread Andrew Fish
This is not an issue with the edk2 tools. Theses relocations deal with dynamic linking so this is an issue with your compiler flags. In a static link image you don't need a PC relative relocation. The Global Offset Table is about patching globals. These concepts don't exist in PE/COFF relocati

Re: [edk2-buildtools] X64 build

2013-07-08 Thread Oleksii Shevchuk
Thanks for info. I managed to perform successfull build with binutils ld.bfd and gcc 4.6 /w USE="-vanilla -hardened". Looks like misssing relocations are R_X86_64_PC64 and GOT variants. > Native GCC X64 build is supported. > But looks you are using Gentoo2.2 and its built-in gcc is a variant of

Re: [edk2-buildtools] X64 build

2013-07-08 Thread Tian, Feng
Native GCC X64 build is supported. But looks you are using Gentoo2.2 and its built-in gcc is a variant of native GCC. It generates some Relocation sections which couldn't be identified GenFw tool in BaseTools. The related code is in BaseTools\Source\C\GenFw\Elf64Convert.c. If you are interesti