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] Re: compilation fails with __stack_check_fail in xen-3.0

To: Kendrick <gmane@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: compilation fails with __stack_check_fail in xen-3.0.4
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Wed, 9 May 2007 09:26:52 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 May 2007 20:55:14 -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:cc:in-reply-to:mime-version:content-type:references; b=c6aUPl5TK2LdpeWl89YikQKVYOEvIcmRufkVEry8YIX9i0/nCpj+5+MnwyHzlcbPg8JETaGFqIxMdp6CZ0VzPmKnIuA0Zrmg37glBykJhybjyLYWddo0efFyaeQLmYWDjFo+LXaa/WCJF6opl0LFdiMAbyF9TgOpxMQqeBqPwWU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=feNOcE9mVF/ayhqhEJ4d+3IlGd76PLFWcl7kCOdkoX94ZLR7ZBhj3/fLuVP/jhf4T3abUqVDHBbENNTqJZrsNw7cyttRfNJH4oL5siHlpZW8avrrTfue5u6dJpgKiVHVcM/QXbGbsJs5CzsVakoHHbB+ZGpm9MXRHEjGaWtAY4k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <loom.20070506T181636-290@xxxxxxxxxxxxxx>
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: <6bc632150704260747p4716d99bqa10e61dd55084f03@xxxxxxxxxxxxxx> <loom.20070506T181636-290@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On 5/6/07, Kendrick <gmane@xxxxxxxxxxxxxxxxxxxx> wrote:
pradeep singh rautela <rautelap <at> gmail.com> writes:

>
> Hi All,I downloaded the xen-3.0.4 source from xensource site and compiled it
from source.On giving a make world , the make fails after almost finishing the
compilation. The error i got is - init/built-
> in.o: In function `try_name':do_mounts.c:(.text+0x5f3): undefined reference to
`__stack_chk_fail'init/built-in.o: In function `name_to_dev_t':(.text+0x8db):
undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `change_floppy':(.init.text+0xa61): undefined
reference to `__stack_chk_fail'init/built-in.o: In function
`mount_block_root':(.init.text+0xca8): undefined reference to `__stack_chk_fail'
> init/built-in.o: In function `md_run_setup':(.init.text+0x4176): undefined
reference to `__stack_chk_fail'init/built-in.o:initramfs.c:(.init.text+0x4d73):
more undefined references to `__stack_chk_fail' follow
> make[4]: *** [.tmp_vmlinux1] Error 1make[4]: Leaving directory
`/opt/xen-3.0.4_1-src/linux-2.6.16.33-xen'make[3]: *** [build] Error 2make[3]:
Leaving directory `/opt/xen-3.0.4_1-src'make[2]: *** [
> linux-2.6-xen-install] Error 2make[2]: Leaving directory
`/opt/xen-3.0.4_1-src'make[1]: *** [install-kernels] Error 1I am not able to
understand the error messages and their intended purpose in built-in.o
>  . Also i am not able to find the __stack_chk_fail being referred from any of
these functions. Are these some linker specific symbols or similar? Please note
i am running Ubuntu6.10 Edgy Eft.GCC 4.1
> Kernel 2.6.20.1 (This is not required i guess)Somehow i suspect gcc4.1 is
playing the spoilsport here.  Any help?Thanks~psr-- ---pradeep singh rautela
> "Genius is 1% inspiration, and 99% perspiration" - not me :)
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel <at> lists.xensource.com
> http://lists.xensource.com/xen-devel
>

http://ubuntuforums.org/showthread.php?t=303541

-fno-stack-protector  ran in to it with my x86_64 system.  since 4.1 has ssp it
has to be turned off for the kernel as i under stand it.


Thank you, i just changed the toplevel .mk  and it worked.

~psr

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



--
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>