From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a302947269de79e8 X-Google-Attributes: gidfee84,public From: lucia@savvy.zko.dec.com (Tim Lucia) Subject: Re: DECladebug croaking off with assertion failure Date: 1995/12/01 Message-ID: <49n55f$mt@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 120605528 distribution: world references: organization: Digital Equipment Corporation reply-to: lucia@zko.dec.com newsgroups: comp.unix.osf.osf1 In article , sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes: |>One of our users reported that when he attempted to use DECladebug, |>it bombed out on startup, emitting the following message (with the |>"Assertion failed" line broken up here for improved readability): |> |> walrus> decladebug scat |> Welcome to the DECladebug Debugger Version 4.0-7 |> ------------------ |> object file name: scat |> Reading symbolic information ...Assertion failed: |> alternateEntryPointStack->isEmpty() |> src/libsrc/ladebug/parsesymscoff.C 5090 |> Abort - core dumped |> |>The a.out was built with a command of the following sort: |> |> f77 -g -o scat scat.f factor.f -lpg -lX11 |> |>The first library referenced (/local/lib/libpg.a) is a library of |>graphics routines, compiled under an earlier version of OSF/1; the |>X11 library is the standard one included with this version (v3.2c) |>of Digital UNIX. If all the libpg.a routines which are referenced |>by this program are commented out (or replaced by a bunch of dummy |>stub routines), the DECladebug problem goes away. |> |>So ... It appears that the problem is related to the use of this |>library. But are there known incompatibilities between older and |>current .o files which confuse DECladebug? The problem is this. Older Fortran compilers used the same symbolic names for block data statements that newer Fortran compilers use for alternate entry points. Digital Ladebug (nee DECladebug) cannot tell them apart. This was an unfortunate oversight on our part and we apologize for any confusion it may cause. You can do one of two things. The first is to rebuild the library with a newer (V3.6 or later should work) f77 compiler. If you cannot do this, try removing the local symbol tables (see strip(1) and ld(1)) from the library. |> |>For the record, the "file" command tells me the following about .o |>files from the library and those compiled under v3.2c: Both types |>are identified as ... |> |> COFF format alpha executable or object module not stripped |> |>... but the ones created by the v3.2c compiler are "version 3.12-6" |>whereas .o files in libpg.a are "version 3.11-0". Is the problem |>related to this, or is it something more subtle? (And, if .o file |>incompatibility is the cause of the problem, do we really have to |>recompile all our old libraries in order to use DECladebug on any |>program which uses them?) |> Ladebug and Fortran are supported together only for DEC Fortran V3.6 or later and ladebug V3.0-16 (released with V3.2C of Digital UNIX) or later. I STRONGLY recommend you recompile everything with the latest Fortran compiler. Regards, Tim -- Timothy J. Lucia Email: mailto:lucia@zko.dec.com Digital Equipment Corporation Phone: 603.881.2615 110 Spitbrook Road ZKO2-3/K06 Fax: 603.881.0120 Nashua, NH USA 03062-2698 I'd rather be cycling.