Date: Mon, 21 May 2001 18:20:29 -0400 From: Vladimir Silyaev <vsilyaev@mindspring.com> To: "Hartmann, O." <ohartman@klima.physik.uni-mainz.de> Cc: freebsd-emulation@freebsd.org Subject: Re: Fortran problems/Linux emu problems Message-ID: <20010521182029.A427@delta.rc.ny.us> In-Reply-To: <Pine.BSF.4.33.0105191606570.56257-100000@klima.physik.uni-mainz.de>; from ohartman@klima.physik.uni-mainz.de on Sat, May 19, 2001 at 04:12:32PM %2B0200 References: <20010518213535.A306@delta.rc.ny.us> <Pine.BSF.4.33.0105191606570.56257-100000@klima.physik.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
As far as I understood you, you have a problem with binaries builded under FreeBSD by Linux fortran compiler. The same source code builded in the native linux environment looks ok, right? If so I see only one possible problem (besides wrong installation of fortran) - that during compilation fortran used some part of FreeBSD system (i.e. libraries, or even linker, C-compiler). If you think that it was working before you may use ktrace/linux_kdump or strace to see what differences before and after upgrade. Regards, Vladimir P.S. You may want see how binaries builded on FreeBSD works under native Linux and what's ldd saying there. P.S.S. Did you aware about brandelf utility? > Well, I did the 'doublecheck' so far, without success. > I tried to 'chroot' myself into /compat/linux and encapsulate > all actions by starting a Linux shell by exec-ing a > /compat/linux/bin/sh, without success. > > But why should I do that when I know that all systems run all > right before? > > Using ldd within this encapsulated environment gives me an error > like this: > > root: /bin: ldd dd > /usr/bin/ldd: /lib/ld-linux.so.2: cannot execute binary file > ldd: /lib/ld-linux.so.2 exited with unknown exit code (126) > > This is the Linux dd. > > All programs are compiled against Linux ones, I presume. > It is curois to me that some systems are not working properly since > we did the last update. > :>You should doublecheck that your linux executabled are linked against > :>Linux libraries, not FreeBSD ones. You may check that by using ldd from the > :>linux devtools. > :> > :>Another thing what you may try to do, it's to compile from environment > :>'chrooted' into the /compat/linux. > :> > :>-- > :>Regards, > :>Vladimir > :> > :> -- Vladimir To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010521182029.A427>