From: Jan Peter Stotz <Jan-Peter.Stotz@sit.fraunhofer.de>
To: pradeep singh rautela <rautelap@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: compilation fails with __stack_check_fail in xen-3.0.4
Date: Thu, 26 Apr 2007 17:42:20 +0200 [thread overview]
Message-ID: <4630C85C.1040807@sit.fraunhofer.de> (raw)
In-Reply-To: <6bc632150704260747p4716d99bqa10e61dd55084f03@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]
pradeep singh rautela wrote:
> 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'
> Please note i am running Ubuntu6.10 Edgy Eft.
> GCC 4.1
> Kernel 2.6.20.1 <http://2.6.20.1> (This is not required i guess)
>
> Somehow i suspect gcc4.1 is playing the spoilsport here. :-(
Right, your gcc sets by default the stack-protector flag. You have to
manually disable it by editing some makefiles.
According to my experience you have add "-fno-stack-protector" to the
CFLAGS within all of the following files:
Config.mk
pristine-linux-2.6.16.33/Makefile
ref-linux-2.6.16.33/Makefile
linux-2.6.16.33-xen/Makefile
linux-2.6-xen-sparse/arch/<your architecture>/Makefile
Jan
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3758 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2007-04-26 15:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 14:47 compilation fails with __stack_check_fail in xen-3.0.4 pradeep singh rautela
2007-04-26 15:42 ` Jan Peter Stotz [this message]
2007-04-27 4:07 ` pradeep singh rautela
2007-04-27 7:16 ` pradeep singh rautela
2007-05-06 16:19 ` Kendrick
2007-05-09 3:56 ` pradeep singh rautela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4630C85C.1040807@sit.fraunhofer.de \
--to=jan-peter.stotz@sit.fraunhofer.de \
--cc=rautelap@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.