Hi,
Take into account that MTOC is also extra tool not shipped with XCODE nor with 
BaseTools.
Sergey

On 30 авг. 2014 г., at 18:54, Andrew Fish <[email protected]> wrote:

> 
> On Aug 29, 2014, at 10:42 PM, Jordan Justen <[email protected]> wrote:
> 
>> On Fri, Aug 29, 2014 at 4:53 PM, Andrew Fish <[email protected]> wrote:
>>> With these 3 patches you can boot the EFI shell X64 Ovmf on Mac OS X using
>>> Xcode 5.
>>> [edk2] [OvmfPkg][Review] Use XCODE5 toolchain for current and future OS X
>>> versions
>>> [edk2] [SourceLevelDebugPkg] Code review: Compile/link with clang/Xcode 5
>>> [UefiCpuPkg][CpuExceptionHandlerLib] Make self modifying code work with
>>> Xcode
>>> 
>>> OvmfPkg/build.sh -a X64
>>> OvmfPkg/build.sh -a X64 qemu -debugcon file:debug.log -global
>>> isa-debugcon.iobase=0x402  -monitor stdio -no-reboot -no-shutdown -s
>>> -singlestep
>>> 
>>> I was forced to install nasm, and you MUST set NASM_PREFIX to the install
>>> location of nasm. Xcode ships with a very old version of nasm in
>>> /usr/bin/nasm.
>> 
>> Any chance to get it upgraded to >= 2.07?
>> 
> 
> I asked, and the answer was use the clang integrated assembler and file bugs. 
> 
>> One possibility for NASM is to include it directly as part of
>> BaseTools. That is currently *not* the plan, and I'm not sure it is a
>> good idea. For example, the same might be said of IASL, but we have
>> not pursued that either. (Although, at least the NASM license
>> matches.)
>> 
> 
> In the real world these extra tools end up in the tree. We can’t install 
> tools on our production build servers. 
> Actually we have to file a lot of paper work just to check in a binary. 
> 
> I really don’t want to install a new tool, just to support a single file. We 
> would like to have the option of using the Thunk16.S with Xcode. 
> Not to mention on a non CSM system the thunk is not even needed. So we need 
> to install a tool to assemble a function we don’t really need. 
> 
> Thanks,
> 
> Andrew Fish
> 
>> -Jordan
>> 
>>> You get errors trying to assemble the SEC with the Xcode nasm (It looks like
>>> it is missing some needed features).
>>> Ia32/Flat32ToFlat64.asm:38: warning: numeric constant 0x100000000 does not
>>> fit in 32 bits
>>> Ia32/Flat32ToFlat64.asm:39: error: `64' is not a valid segment size; must be
>>> 16 or 32
>>> Ia16/Real16ToFlat32.asm:40: warning: numeric constant 0x100000000 does not
>>> fit in 32 bits
>>> Ia16/Real16ToFlat32.asm:62: warning: numeric constant 0x100000000 does not
>>> fit in 32 bits
>>> Main.asm:78: error: `64' is not a valid segment size; must be 16 or 32
>>> 
>>> Thanks,
>>> 
>>> Andrew Fish
>>> 
>>> PS. Sorry I omitted Contributed-under, and Signed-off-by from some of the
>>> patch mails. It has been a long week.
>>> 
>>> Contributed-under: TianoCore Contribution Agreement 1.0
>>> Signed-off-by: Anderw Fish <[email protected]>
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Slashdot TV.
>>> Video for Nerds.  Stuff that matters.
>>> http://tv.slashdot.org/
>>> _______________________________________________
>>> edk2-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>> 
>> 
>> ------------------------------------------------------------------------------
>> Slashdot TV.  
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> _______________________________________________
>> edk2-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 
> 
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to