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

[Xen-users] Problem building from source on Ubuntu Edgy

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem building from source on Ubuntu Edgy
From: "Albert Bachand" <albertb@xxxxxxxxx>
Date: Fri, 27 Oct 2006 20:15:55 -0400
Delivery-date: Fri, 27 Oct 2006 17:16:28 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fTKxtdinD7hv44hn7WoyErZX/TfFNyqvIl3HJsS9nr1dCDGCtDOrJ/CE34Po3fhUBc90adYPn8w+K89U9FGF0QQ6myK5g14kkfj+ui8Kfyv8T1HepPNqh0mb+EMnFpqcK7vzMB5DTzvahNwkSWzNMifnXtrzbwHEZ0YWNSt+2VU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hello,

I'm trying to build 3.0.3-testing from source on Ubuntu Edgy (6.10).
I think that gcc builds with -fstack-protector by default. Building with CFLAGS=-fno-stack-protector fixes the problem with xen itself but not with the kernels that a make world builds. This is the error I get, any idea how to fix it?

  CC [M]  lib/zlib_inflate/infutil.o
  CC [M]  lib/zlib_inflate/inflate_syms.o
  LD [M]  lib/zlib_inflate/zlib_inflate.o
  LD      arch/i386/lib/built-in.o
  CC      arch/i386/lib/bitops.o
  AS      arch/i386/lib/checksum.o
  CC      arch/i386/lib/delay.o
  AS      arch/i386/lib/getuser.o
  CC      arch/i386/lib/memcpy.o
  AS      arch/i386/lib/putuser.o
  CC      arch/i386/lib/strstr.o
  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
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: *** [.tmp_vmlinux1] Error 1

Thanks,
Albert


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem building from source on Ubuntu Edgy, Albert Bachand <=