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

[Xen-devel] mini-os linker error on i386

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] mini-os linker error on i386
From: Satya <satyakiran@xxxxxxxxx>
Date: Sun, 3 Jun 2007 13:15:53 -0500
Delivery-date: Sun, 03 Jun 2007 11:14:04 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=IZAmcuOpZXUEnhvUzaXPRyplA1BzsQq7/WBeT8g+k/SkC4TxEd55LxgyrxeyLyfIsuRFy4gTNBP9BP+uRag8ZmBjsNJ2Qf4sqaFSQYP2B346S0VYLODJgvAuyN7fGN65tM8w2Z59bp4bKaVQWRmalGFvzqb2CFKiVVWWvl/nCaU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=c6L4dGuygaTDDDoDcs8o0RpjaHFoylY9Q1hTx2tt3ZfWjM/FrxvNItly403j6tWDbcoQvvkF2cy2ci5U3UeaMLu6D9jFZkj9TzPZsak5neBgvUCKnwj23H6jaNSV9RiTVGppATuewKzdrNC3gi1xd3N7LN/VIA7HXhI0gslLi7g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hello,
I get this linker error while compiling mini-os on my system:

ld  -m elf_i386 -N -T arch/x86/minios-x86_32.lds mini-os.o  -o mini-os
mini-os.o: In function `xenbus_printf':
(...)/xen-3.1.0-src /extras/mini-os/netfront.c:41: undefined reference to `__stack_chk_fail'
mini-os.o: In function `init_netfront':
(...)/xen-3.1.0-src/extras/mini-os/netfront.c:363: undefined reference to `__stack_chk_fail'
mini-os.o: In function `shutdown_netfront':
(...)/xen-3.1.0-src/extras/mini-os/netfront.c:386: undefined reference to `__stack_chk_fail'
mini-os.o: In function `number':
(...)/xen-3.1.0-src/extras/mini-os/lib/printf.c:267: undefined reference to `__stack_chk_fail'
mini-os.o: In function `errmsg':
(...)/xen-3.1.0-src/extras/mini-os/xenbus/xenbus.c:362: undefined reference to `__stack_chk_fail'
mini-os.o:(...)/xen-3.1.0-src/extras/mini-os/xenbus/xenbus.c:512: more undefined references to `__stack_chk_fail' follow
make: *** [mini-os] Error 1


(I've replaced some path information with ellipses)

some more info:

$ gcc --version
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

$ ld --version
GNU ld version 2.17.50 20070103 Ubuntu
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

$ uname -srmo
Linux 2.6.20-16-generic i686 GNU/Linux

I'm looking into this, but if anyone knows what's going on, please reply. Thanks!

satya.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] mini-os linker error on i386, Satya <=