Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2007 21:07:24 -0400 (EDT)
From:      Wes Morgan <morganw@chemikals.org>
To:        Alexander Kabaev <kabaev@gmail.com>
Cc:        Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@des.no>, freebsd-current@freebsd.org, Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
Subject:   Re: strange "Exec format error" (gcc4.2 suspicious)
Message-ID:  <20070520210704.H33354@volatile.chemikals.org>
In-Reply-To: <20070520184710.75db1335@kan.dnsalias.net>
References:  <200705201954.00476.h.schmalzbauer@omnisec.de> <868xbjib8t.fsf@dwp.des.no> <200705202130.55833.h.schmalzbauer@omnisec.de> <20070520184710.75db1335@kan.dnsalias.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1151134316-1179709644=:33354
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

On Sun, 20 May 2007, Alexander Kabaev wrote:

> 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ørgrav:
>>> 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
>>
>> 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?
>>
> 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.

This same problem exists for kdelibs3, maybe other kde ports 
(investigating now).


-- 
This .signature sanitized for your protection
--0-1151134316-1179709644=:33354--



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