WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH][GFW] -minline-int-divide-min-latency

To: Tristan Gingold <tgingold@xxxxxxx>
Subject: [Xen-ia64-devel] [PATCH][GFW] -minline-int-divide-min-latency
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Mon, 27 Aug 2007 13:21:14 -0600
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 27 Aug 2007 12:23:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Tristan,

   As you suggested, I needed to add -minline-int-divide-min-latency to
be able to build the firmware image.  Perhaps we should make this the
default.  With these patches and changing s/gcc/gcc-3.4/ a few lines up
from the patch below, I can make a working GFW.  Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 5f6d57d09318 edk2-sparse/Tools/Conf/tools_def.txt
--- a/edk2-sparse/Tools/Conf/tools_def.txt      Mon Aug 27 06:07:30 2007 +0200
+++ b/edk2-sparse/Tools/Conf/tools_def.txt      Mon Aug 27 13:11:57 2007 -0600
@@ -602,7 +602,7 @@ RELEASE_VS2005PRO_X64_DLINK_FLAGS = /NOL
 
 *_UNIXGCC_IA32_CC_FLAGS     = -g -fshort-wchar -fno-strict-aliasing -Wall 
-malign-double -c -include ${DEST_DIR_DEBUG}/AutoGen.h 
-DSTRING_ARRAY_NAME=${BASE_NAME}Strings
 #*_UNIXGCC_X64_CC_FLAGS      = -Os -fshort-wchar -fno-strict-aliasing -Wall 
-Werror -c -include ${DEST_DIR_DEBUG}/AutoGen.h -D_EFI_P64
-*_UNIXGCC_IPF_CC_FLAGS     = -Os -g -minline-float-divide-min-latency 
-fshort-wchar -fno-strict-aliasing -Wall -c -include 
${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings -DEFI64
+*_UNIXGCC_IPF_CC_FLAGS     = -Os -g -minline-int-divide-min-latency 
-minline-float-divide-min-latency -fshort-wchar -fno-strict-aliasing -Wall -c 
-include ${DEST_DIR_DEBUG}/AutoGen.h -DSTRING_ARRAY_NAME=${BASE_NAME}Strings 
-DEFI64
 
 *_UNIXGCC_IA32_DLINK_FLAGS     = -nostdlib -n -q -Ttext 0x220 --gc-sections 
--entry ${ENTRYPOINT} -u ${ENTRYPOINT}
 *_UNIXGCC_IPF_DLINK_FLAGS     = -nostdlib -pie 
-T${WORKSPACE}/Tools/Conf/elfgcc-ipf.lds --gc-sections --entry ${ENTRYPOINT} -u 
${ENTRYPOINT}



_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>