From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LY1LI-0006jL-F9 for garchives@archives.gentoo.org; Fri, 13 Feb 2009 16:56:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DE93E0109; Fri, 13 Feb 2009 16:56:43 +0000 (UTC) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by pigeon.gentoo.org (Postfix) with ESMTP id 0B2CEE0109 for ; Fri, 13 Feb 2009 16:56:42 +0000 (UTC) Received: by fk-out-0910.google.com with SMTP id z23so722142fkz.2 for ; Fri, 13 Feb 2009 08:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Kl8oPkxSfFCEDXiQT6WNsOYZv4UwXEZ5kilOzk3MYrM=; b=B8dgtUDewssDpAT2jByX8pWpHfxE7mgNDvSVT+oTQeOB4DL/wyP3yM2/CwutnsDN8u Sb8P0vutSo6TaH27EFGmD+ZDB3Wu0tLqsa1rfalGpQApvPDRKyG9KlrRb932eIWlee3T ySotgFmgELHxV/z3AxhiZwzfU1KjCxBJiGGzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=O/Pt4iUjiUWZpHjdLMmgv0A07aCvG9G/iwxTsSrCI0tGo8d+HnckPSsn8jnn8aLdDF +KDVOy3NChc1W8JabeFBkP/r8VRwfnc1iUBS6tiM8hCpo4FIjJSQY2V+wPiw63apNCGv MJrARU79bk34gM2JP7Js7NSsR/9QjyFj2NN7g= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@lists.gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org MIME-Version: 1.0 Received: by 10.181.135.5 with SMTP id m5mr784075bkn.33.1234544202245; Fri, 13 Feb 2009 08:56:42 -0800 (PST) In-Reply-To: <200902130823.49479.gengor@gentoo.org> References: <49bf44f10902121418m203b6451uad00972193b8004b@mail.gmail.com> <200902130823.49479.gengor@gentoo.org> Date: Fri, 13 Feb 2009 08:56:42 -0800 Message-ID: <49bf44f10902130856v13ac9b47x9223924ecd6c8324@mail.gmail.com> Subject: Re: [gentoo-hardened] mono fails to build with a hardened error From: Grant To: gentoo-hardened@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8648a7fd-6ffc-4b1f-a22a-52b2662db072 X-Archives-Hash: 74e03a3c3378b93763b3f43495d17935 >> Do I really need to disable all hardened features whenever I want to >> emerge mono? >> >> * If you are using any hardening features such as >> * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason >> * why build has failed. In this case turn any active security >> * enhancements off and try emerging the package again >> >> - Grant > > If you've enabled PAX_SOFTMODE in your kernel config you can simply turn on > softmode temporarily: > > echo 1 > /proc/sys/kernel/pax/softmode > compile mono > echo 0 > /proc/sys/kernel/pax/softmode I get: # echo 1 > /proc/sys/kernel/pax/softmode -su: /proc/sys/kernel/pax/softmode: No such file or directory So I need to either enable softmode in my kernel or remove hardened features to compile mono? - Grant > fwiw mono tends to only get new stable-marked packages every 6 months or so. > > Gordon Malm (gengor)