From owner-freebsd-current@FreeBSD.ORG Mon May 21 10:30:21 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 62D0716A400 for ; Mon, 21 May 2007 10:30:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2047413C44B for ; Mon, 21 May 2007 10:30:21 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id BBDF92084; Mon, 21 May 2007 12:30:14 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 4DC4A2083; Mon, 21 May 2007 12:30:14 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 22C5A5745; Mon, 21 May 2007 12:30:13 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Wes Morgan 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> Date: Mon, 21 May 2007 12:30:13 +0200 In-Reply-To: <20070520214222.L44264@volatile.chemikals.org> (Wes Morgan's message of "Sun\, 20 May 2007 21\:43\:31 -0400 \(EDT\)") Message-ID: <86wsz2tqoa.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , freebsd-current@freebsd.org, Kris Kennaway 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 10:30:21 -0000 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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no