All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerome Brown <guruswami@orcon.net.nz>
To: Xen-devel@lists.sourceforge.net
Subject: Re: Unable to compile Xen-2.0
Date: Wed, 27 Oct 2004 14:41:05 +1300	[thread overview]
Message-ID: <417EFCB1.406@orcon.net.nz> (raw)
In-Reply-To: <E1CMcZK-00064d-00@mta1.cl.cam.ac.uk>

>>I am running Gentoo Linux with GCC 3.4.2 and glibc 2.3.4.20040808 
>>compiled with NPTL only (no LinuxThreads) and both a 2.6.9 and a 2.6.8.1 
>>kernel. 
>>
>>Any thoughts or suggestions are greatly appreciated. I will try with GCC 
>>3.3.3 to see if that helps.
> 
> It's probably a gcc version issue. We try to get stuff working
> with most gcc versions, but no-one round here uses 3.4 by default
> -- it's way too bleeding edge.

Compiled the xenU fine with gcc 3.3.3 - must be a gcc issue. I'm testing 
on a box at the moment, so have installed all the new toys to play with 
:) Might try with SSP and PIE again ...

>>The GCC has ssp-3.4.1 and pie-8.7.6.5 compiled in, but they are 
>>disabled for the compilation as Xen will not compile with them enabled 
>>(Are there plans to allow this?). 
> 
> What are ssp and pie?

SSP is Stack Smashing Protection - formerly ProPolice (see 
http://www.trl.ibm.com/projects/security/ssp/ for more info) and PIE is 
Position Independent Executable i.e. PIC for binaries. SSP modifies the 
C compiler to insert initialization code into functions that create a 
buffer in memory. At run time, when a buffer is created, SSP adds a 
secret random value, the canary, to the end of the buffer. When the 
function returns, SSP makes sure that the canary is still intact. If an 
attacker were to perform a buffer overflow, he would overwrite this 
value and trigger that stack smashing handler. Currently this kills the 
target process. (Descriptions borrowed from Gentoo Hardened Project 
http://www.gentoo.org/proj/en/hardened/) They provide an extra layer of 
security from attack on a server open to the world.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

  reply	other threads:[~2004-10-27  1:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27  0:47 Unable to compile Xen-2.0 Jerome Brown
2004-10-27  1:25 ` Ian Pratt
2004-10-27  1:41   ` Jerome Brown [this message]
2004-10-27  1:52     ` Ian Pratt
2004-10-27  3:23       ` Jerome Brown
2004-10-27  8:12         ` Ian Pratt

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=417EFCB1.406@orcon.net.nz \
    --to=guruswami@orcon.net.nz \
    --cc=Xen-devel@lists.sourceforge.net \
    /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.