ups cores when compiling with 3.2.3

[email protected] Fri, 12 Mar 2004 15:56:27 +0000
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>

I have recently upgraded compilers from gcc 2.95.3 to gcc 3.2.3.

Systems:  Solaris 2.8, Linux Red Hat 9.0
ups versions:  ups 3.38-beta2, ups 3.37, ups (cvs)

I get the following error when I try to view a variable:

Fatal internal error: symno botch in fs (aborting) ...
Dumping core in ups-core/core ... Abort (core dumped)


I configured with the --enable_dwarf

I also tried compiling with -gstabs+ (using both ups 3.38-beta2 and ups
3.37)

At this point I've tried every combination I can think of on both Linux
and Solaris.

I've run the ups core under a debugger (thankfully I compiled ups with gcc
2.95.3).  It looks like it is having problems in ao_symload.c:
get_fi_ypes().


Here's my test program.  Put a break point anywhere, start up and try to
view "buf".  (On linux it doesn't even get this far, it cores
immediately.)


int
main(int argc, char **argv)
{
    char	buf[64];

    strcpy(buf, "Hello World");

    printf("%s\n", buf);

}

Thanks, for the help.  I've been a user since '94.

Jim