From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 18:05:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B20416A476 for ; Mon, 18 Feb 2008 18:05:21 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 08D9D13C4CC for ; Mon, 18 Feb 2008 18:05:20 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 5907740547A; Mon, 18 Feb 2008 19:05:18 +0100 (CET) Message-ID: <47B9C8D8.5060807@bsdforen.de> Date: Mon, 18 Feb 2008 19:05:12 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080205) MIME-Version: 1.0 To: navneet Upadhyay References: <1563a4fd0802180712w476125a4x229cc38509016b94@mail.gmail.com> <47B9A31B.7060602@bsdforen.de> <1563a4fd0802180813l7d80cb4en9adfd838f4591712@mail.gmail.com> In-Reply-To: <1563a4fd0802180813l7d80cb4en9adfd838f4591712@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 32 bit and 64 bit freebsd binary compatiblty X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 18:05:21 -0000 navneet Upadhyay wrote: > On 2/18/08, Dominic Fandrey wrote: >> navneet Upadhyay wrote: >>> Hi , >>> For our product we generally compile the binaries on 32 bit >> systems >>> and use them for both 32 and 64 bit systems. like we have same binaries >> for >>> 32 bit and 64 bit RHEL. >>> >>> We are porting the product to FreeBSD and when we tried the same, >>> i.erunning binaries compiled on 32 bit FreeBSD >>> 6.2 on 64 bit FreeBSD system they produce *core dump.* >>> >>> >>> Any known reasons, do we have to compile binaries on 64 bit machine. >> This should not happen. I would blindly guess at a linking problem. Are >> you >> using any shared libraries that do not belong to the base system? >> > > Yes i am using few libs not built on FreeBSD but they work fine on 32 bit > freeBSD , so in principle they shud have the same behavior on 64 one. I suppose you are aware that they have to be 32-Bit libraries as well, for your 32-Bit application to work?