Re: [edk2] [patch 2/5] AppPkg: fix IA32 build failure when VS2013 tool chain is used

Subject: Re: [edk2] [patch 2/5] AppPkg: fix IA32 build failure when VS2013 tool chain is used

From: "Gao, Liming" <liming.gao@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-09-15 22:29:08

MSDN says the default is /arch:SSE2 if /arch is not specified for VS2013. Do you mean old Microsoft tool chain use /arch:SSE as the default option? 

-----Original Message-----
From: Scott Duplichan [mailto:scott@notabs.org] 
Sent: Monday, September 15, 2014 12:03 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] [patch 2/5] AppPkg: fix IA32 build failure when VS2013 tool chain is used

AppPkg: fix IA32 build failure when VS2013 tool chain is used.

The build fails due to link error 2001, unresolved external symbol __dtoui3.
Avoid this error by using /arch:SSE code generation flag for VS2013 IA32 compiles.
This overrides the VS2013 default code generation option of /arch:SSE2, making it match older Microsoft tool chains. While SSE2 can improve performance of floating point intensive applications, UEFI code uses little floating point, and no performance impact is expected.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan 
--


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel