From: Keir Fraser Subject: Re: [PATCH] [HVMLOADER] built-in memcmp function uses not-yet implemented opcode Date: Wed, 29 Nov 2006 07:51:50 +0000 Message-ID: References: <1164773727.27538.12.camel@lt2.watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1164773727.27538.12.camel@lt2.watson.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger , Xen-devel Cc: keir@xensource.com List-Id: xen-devel@lists.xenproject.org On 29/11/06 4:15 am, "Stefan Berger" wrote: > it seems like the acpi/build.c function now uses the gcc built-in > memcmp function. Unfortunately that one seems to generate some code that > hits a not-yet implemented/emulated opcode. Instead of implementing > emultaion for that opcode I just copied the previously used memcmp > function from util.c into the build.c and renamed it to _memcmp to avoid > linking problems. There's an easier fix. hvmloader/acpi/Makefile is missing -fno-builtin. I'll apply a patch. Thanks, Keir