From owner-freebsd-current@FreeBSD.ORG Sun May 20 22:47:18 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 515EA16A400 for ; Sun, 20 May 2007 22:47:18 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id EB03313C43E for ; Sun, 20 May 2007 22:47:17 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1361347wxc for ; Sun, 20 May 2007 15:47:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=Qm/hzJhd4tkkv9X2rmLcc1HJ+8JPrlPI1h9x31IoIO4SYaKxmiy5klQcCnf0xlSi2fARATlWnNtvcL1DOtL8CsLqLs0s0Vrw2yw0L8ege7VUOyy3G5YxdFurlu4d1ghCSu6fj6kmxGvpjsPJqBl16LAZPJgYk4ys3NogjOmARuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=pvXgpHsd1l1ktZOKNPcpAEeugTmgxhsBkPVnyV5ytYtOCjBafc1x0XsAhg1caVgQkOLn57HFnnp5GZBLSIlzpMs56CqB3GXyywj1Yao64wSPjjFJZAK2LxcmGc3IZCOorD0x4vWiuGN/PM9Nrv8hJ6RxZtaJ9MhA+9DJLipJmU4= Received: by 10.70.65.5 with SMTP id n5mr6061001wxa.1179701236514; Sun, 20 May 2007 15:47:16 -0700 (PDT) Received: from kan.dnsalias.net ( [24.34.98.164]) by mx.google.com with ESMTP id i40sm8250936wxd.2007.05.20.15.47.14; Sun, 20 May 2007 15:47:15 -0700 (PDT) Date: Sun, 20 May 2007 18:47:10 -0400 From: Alexander Kabaev To: Harald Schmalzbauer Message-ID: <20070520184710.75db1335@kan.dnsalias.net> In-Reply-To: <200705202130.55833.h.schmalzbauer@omnisec.de> References: <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> X-Mailer: Claws Mail 2.8.1 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_MJOdu7yt+aZhHPcMLfwL+Ml; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= , freebsd-current@freebsd.org 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: Sun, 20 May 2007 22:47:18 -0000 --Sig_MJOdu7yt+aZhHPcMLfwL+Ml Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, 20 May 2007 21:30:55 +0200 Harald Schmalzbauer wrote: > Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm=C3=B8rgrav: > > Harald Schmalzbauer writes: > > > I compiled samba on a fresh -current and I'm seeing strange > > > errors. When I try to execute 'net' I get this error: > > > /usr/local/bin/net: Exec format error. Binary file not executable. > > > > If you're running amd64, there was briefly a bug that caused the > > 32-bit >=20 > It was my very first thought too, but it's i386. It's a xeon 3050 > (core2, thus EM64-T) processor but world alwys was i386 and also is > for that jail. Could it be possible that there's any runtime > detection which made me 64-bit binaries on a 32-bit base system? >=20 Samba auto-detected -fpie support in GCC 4.3 and tried to use it. FreeBSD kernel does not know how to deal with binaries created by this option yet, so it freaks out. Add --disable-pie to CONFIGURE_ARGS in sambe3 port for now. --=20 Alexander Kabaev --Sig_MJOdu7yt+aZhHPcMLfwL+Ml Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGUM/uQ6z1jMm+XZYRAt3pAKCUIA9kanJm4L3xRb2JigPuDTxDxgCfWVZp ud0CV3rgXJNjx2bQ2wI4ohw= =Z8Ay -----END PGP SIGNATURE----- --Sig_MJOdu7yt+aZhHPcMLfwL+Ml--