Date: Tue, 19 Feb 2008 10:45:50 +0530 From: "navneet Upadhyay" <navneet.upadhyay@gmail.com> To: "Dominic Fandrey" <kamikaze@bsdforen.de>, freebsd-questions@freebsd.org Subject: Re: 32 bit and 64 bit freebsd binary compatiblty Message-ID: <1563a4fd0802182115xf64b634yd361a78ba0c8ff68@mail.gmail.com> In-Reply-To: <47B9C8D8.5060807@bsdforen.de> References: <1563a4fd0802180712w476125a4x229cc38509016b94@mail.gmail.com> <47B9A31B.7060602@bsdforen.de> <1563a4fd0802180813l7d80cb4en9adfd838f4591712@mail.gmail.com> <47B9C8D8.5060807@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
I didnt get what do you mean. Do you mean : I should install lib32 on freeBSD and then rebuild my applications in order to make it work on 32 and 64 bit systems . rite now I have built my app on 32 bit system (which is not having lib32 installed), it works on 32 bit freebsd but fails on 64 bit system. On 2/18/08, Dominic Fandrey <kamikaze@bsdforen.de> wrote: > > navneet Upadhyay wrote: > > On 2/18/08, Dominic Fandrey <kamikaze@bsdforen.de> 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? >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1563a4fd0802182115xf64b634yd361a78ba0c8ff68>