From: "pradeep singh rautela" Subject: compilation fails with __stack_check_fail in xen-3.0.4 Date: Thu, 26 Apr 2007 20:17:22 +0530 Message-ID: <6bc632150704260747p4716d99bqa10e61dd55084f03@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0218022854==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel , xenkernelnewbies@googlegroups.com List-Id: xen-devel@lists.xenproject.org --===============0218022854== Content-Type: multipart/alternative; boundary="----=_Part_453011_31666660.1177598842895" ------=_Part_453011_31666660.1177598842895 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 1 make[4]: Leaving directory `/opt/xen-3.0.4_1-src/linux-2.6.16.33-xen' make[3]: *** [build] Error 2 make[3]: Leaving directory `/opt/xen-3.0.4_1-src' make[2]: *** [linux-2.6-xen-install] Error 2 make[2]: Leaving directory `/opt/xen-3.0.4_1-src' make[1]: *** [install-kernels] Error 1 I 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 :) ------=_Part_453011_31666660.1177598842895 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 1
make[4]: Leaving directory `/opt/xen-3.0.4_1-src/linux-2.6.16.33-xen'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/opt/xen-3.0.4_1-src'
make[2]: *** [ linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/opt/xen-3.0.4_1-src'
make[1]: *** [install-kernels] Error 1

I 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 :) ------=_Part_453011_31666660.1177598842895-- --===============0218022854== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0218022854==--