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-devel

Re: [Xen-devel] compilation trouble with latest xen

To: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] compilation trouble with latest xen
From: Mats Petersson <mats@xxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 23:02:23 +0100
Delivery-date: Tue, 24 Jul 2007 08:58:07 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:sender:message-id; b=LHII7eksfenB9GjtdtSrRTKfB9VcKkIW64SV9L4l7JOgwS3BObwi9qqn7eJrVGtR++m1VLJpq0QdRzKuePH0Q8Xp8wVigZy5ATMT5HPG0FoFtzutN52+QgcENKqRnHf63BU+xRcdPkf1bwMbohK+kjC7h3gGqDforwFK/LG2Z2k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:x-mailer:date:to:from:subject:in-reply-to:references:mime-version:content-type:sender:message-id; b=p/2nz8tVJ2pgiUIBWVm4COpMDuzmzhNUXiozpZ9VmuiWwpzJah2LnTBm8m7z5NjtOo+2XYKTYht+r57BWur3znAlDJ1m86FvvR0IHTFzZvOAYhrb1WVxvPDF56NoqFuHBbWgQatCRqLBeOfRJcyWBXPeNRnLHcZaOcYA30yMKwQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <469FDABC.6080106@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <469FDABC.6080106@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
At 22:42 19/07/2007, Guillaume Rousse wrote:
While building xen itself:

ld -melf_i386 -T xen.lds -N \
            boot/x86_32.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/built_in.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/drivers/built_in.o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o
\

/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/symbols-dummy.o
-o
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/.xen-syms.0
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/built_in.o:
In function `strstr':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/common/string.c:431:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `emulate_forced_invalid_op':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:563:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:573:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `do_invalid_op':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/traps.c:629:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:
In function `dmi_iterate':
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/dmi_scan.c:120:
undefined reference to `memcmp'
/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/built_in.o:/home/guillomovitch/cooker/xen-uptodate/BUILD/xen-3.1.0-src/xen/arch/x86/mpparse.c:383:
more undefined references to `memcmp' follow

This is happening on mandriva cooker 32 bits, with gcc-4.2.1 and glibc
2.6 and 2.6.21 kernel headers.


I suspect this is more to do with the compiler than Xen.

Have you successfully compiled any other version of Xen?

I know that gcc-4.1.1 works OK for 3.1.0.

--
Mats

--
Guillaume Rousse
Moyens Informatiques - INRIA Futurs
Tel: 01 69 35 69 62

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


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

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