From owner-freebsd-current@FreeBSD.ORG Mon May 21 14:49:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34BF616A421 for ; Mon, 21 May 2007 14:49:49 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id DEA1D13C4B9 for ; Mon, 21 May 2007 14:49:48 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l4LEnZiE087008; Mon, 21 May 2007 08:49:35 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4651B17E.7070909@samsco.org> Date: Mon, 21 May 2007 08:49:34 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net> <20070520210704.H33354@volatile.chemikals.org> <20070521012910.GA46689@xor.obsecurity.org> <20070521013910.GA46734@xor.obsecurity.org> <20070520214222.L44264@volatile.chemikals.org> <86wsz2tqoa.fsf@dwp.des.no> In-Reply-To: <86wsz2tqoa.fsf@dwp.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Mon, 21 May 2007 08:49:36 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Kris Kennaway , freebsd-current@freebsd.org, Harald Schmalzbauer Subject: Re: strange "Exec format error" (gcc4.2 suspicious) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 14:49:49 -0000 Dag-Erling Smørgrav wrote: > Wes Morgan writes: >> I have to ask the stupidly obvious question of why isn't the compiler >> smart enough to realize (or forcefully taught) that our platform >> doesn't support this? > > Looking at it from the opposite perspective, how much work would it be > to teach ld-elf.so to support PIE? > > DES It looks like most of the interesting magic would be in the kernel, actually. KDE and Apache seem to be good candidates for benefiting from it, which makes it interesting for FreeBSD. I haven't been able to find any technical details other than a broad overview in the apache docs. Scott