Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2001 19:34:24 +0200 (CEST)
From:      "Hartmann, O." <ohartman@klima.physik.uni-mainz.de>
To:        <dochawk@psu.edu>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Strange Linux emulation behaviour ... 
Message-ID:  <Pine.BSF.4.33.0105181924550.45582-100000@klima.physik.uni-mainz.de>
In-Reply-To: <200105181713.f4IHDrM32424@fac13.ds.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 May 2001 dochawk@psu.edu wrote:


Debugging is the great book of secrets withing Linux emualtion on
FreeBSD. Lahey/Fujitsu comes with it's own graphical X11 debugger,
but we never got it to work properly. Since last year on November
we're going to test several compilers and most compilers except NAGware's
compiler (F95) are for Linux so we need to emulate. NAG offers no trial
for free for FreeBSD (but for mostly all other OS and Linux).

This obscure error occured since the last update and I realized it after
updating the Linux base code last week. The last machine I did this task
on was the main NFS server and before updating linux_base yesterday evening
most scientist reported that the reported mistake only has been occured on
the other systems. Today the last machine produces this error, too and I
think it has to do with the emulation and/or several patches within the
last weeks.

I regret not being able to report a more sophisticated manner about the
debugging tools sets. I know this is a very sensitive aspect and the lack of
Fotran compilers for FreeBSD seems to give Linux the first choice - although
most of our departments ran into problems using Linux as a server architecture
(beware of NFS on Linux!).

One word to Lahey's compiler: it seems to be the fastest compiler we tested
under FreeBSD and on most Linux boxes it offers the fastest code. We hope to get
it back run again under FreeBSD.

:>O Hartman O pined,
:>
:>> We use on several UNIX boxes running FreeBSD 4.3 STABLE as cvsupdated 5 days
:>> ago. Additionaly, we use Lahey's LF95 Fortran compiler for Linux. Since the
:>> last cvsupdate on all machines the Fortran compiler worked well. We did our
:>> last cvsupdate bevor the last one about 20 days ago.
:>
:>> Compiling a simple hello world works well. Then, when starting the program
:>> once, it produces output as expected. But calling it a second time gives me this:
:>
:>> An I/O error was detected (c library=getcwd, unit=10)
:>...
:>> It is strange: I changed current directory and rechanged back to the
:>> little program's working directory and called it again - and it worked, for
:>> onne call only! Then doing cd again and re-cd into the working dir.
:>
:>> What's going on?
:>
:>I can't answer that, but I've seen some oddness, too.  Right now I'm
:>testing the Absoft and Portland Group Compilers.  There seems to be
:>some schizophrenia about paths, and a certain "now you see it, now you
:>don't" when working with linux emulation.
:>
:>Have you tried it from within a linux shell? (/compat/linux/bin/tcsh
:>(or whatever))
:>
:>And how are you debugging?  The X versions of pgroup and absoft
:>debuggers require vmware at the moment, as near as I can tell.  WHat do
:>you use for a graphical debugger with Lahey?  It would generally seem
:>to be my best choice, but I can't get by on my applications without
:>being to watch a whole slew of variables step by step . . .
:>
:>hawk
:>
:>--
:>Prof. Richard E. Hawkins, Esq.                     /"\   ASCII ribbon campaign
:>dochawk@psu.edu  Smeal 178  (814) 375-4700         \ /   against HTML mail
:>These opinions will not be those of                 X    and postings
:>Penn State until it pays my retainer.              / \
:>
:>
:>

--
MfG
O. Hartmann

ohartman@klima.physik.uni-mainz.de
----------------------------------------------------------------
IT-Administration des Institut fuer Physik der Atmosphaere (IPA)
----------------------------------------------------------------
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinensaal)
Tel: +496131/3924144
FAX: +496131/3923532


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105181924550.45582-100000>