Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 18:47:10 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
Cc:        Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@des.no>, freebsd-current@freebsd.org
Subject:   Re: strange "Exec format error" (gcc4.2 suspicious)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <h.schmalzbauer@omnisec.de> wrote:

> Am Sonntag, 20. Mai 2007 schrieb Dag-Erling Sm=C3=B8rgrav:
> > Harald Schmalzbauer <h.schmalzbauer@omnisec.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070520184710.75db1335>