Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB build fails on DEC OSF V5.1a but not OSF V4.0f
@ 2002-12-19  9:18 Hillel (Sabba) Markowitz
  2002-12-20  2:13 ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Hillel (Sabba) Markowitz @ 2002-12-19  9:18 UTC (permalink / raw)
  To: GDB help mailing list

When built on DEC OSF V5.1A, gdb gets a seg fault.  When built on DEC OSF 4.0f 
it runs correctly.  When copied from the DEC OSF V4.0f to the DEC OSF V5.1A 
platform, gdb runs successfully.

-- 
Said the fox to the fish, "Join me ashore".
 The fish are the Jews, Torah is our water

Hillel (Sabba) Markowitz - sabbahem@bcpl.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB build fails on DEC OSF V5.1a but not OSF V4.0f
  2002-12-19  9:18 GDB build fails on DEC OSF V5.1a but not OSF V4.0f Hillel (Sabba) Markowitz
@ 2002-12-20  2:13 ` Joel Brobecker
  2002-12-20  3:07   ` Hillel (Sabba) Markowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2002-12-20  2:13 UTC (permalink / raw)
  To: Hillel (Sabba) Markowitz; +Cc: GDB help mailing list

> When built on DEC OSF V5.1A, gdb gets a seg fault.  When built on DEC
> OSF 4.0f it runs correctly.  When copied from the DEC OSF V4.0f to the
> DEC OSF V5.1A platform, gdb runs successfully.

It would be more helpful if you could send more details about your
problem. For instance, which version of GDB did you build? Using which
compiler? A simple program that we could use to reproduce your problem
is also helpful. I just rebuilt 5.3 on Tru64 5.1A using GCC, and got the
usual results from the testsuite.

-- 
Joel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB build fails on DEC OSF V5.1a but not OSF V4.0f
  2002-12-20  2:13 ` Joel Brobecker
@ 2002-12-20  3:07   ` Hillel (Sabba) Markowitz
  2002-12-20  3:18     ` Joel Brobecker
  0 siblings, 1 reply; 5+ messages in thread
From: Hillel (Sabba) Markowitz @ 2002-12-20  3:07 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: GDB help mailing list



Joel Brobecker wrote:
> 
> > When built on DEC OSF V5.1A, gdb gets a seg fault.  When built on DEC
> > OSF 4.0f it runs correctly.  When copied from the DEC OSF V4.0f to the
> > DEC OSF V5.1A platform, gdb runs successfully.
> 
> It would be more helpful if you could send more details about your
> problem. For instance, which version of GDB did you build? Using which
> compiler? A simple program that we could use to reproduce your problem
> is also helpful. I just rebuilt 5.3 on Tru64 5.1A using GCC, and got the
> usual results from the testsuite.
> 
> --
> Joel

gcc-3.2.1 with a basic hellow world (though any test program works the
same

int main(int argc, char **argv)
{
  printf("hellow world\n");
 /* A a number of prints here  */
#ifdef __dec
  printf("__dec is defined\n");
#else
  printf("__dec is NOT defined\n");
#endif
/* Put in a bunch of variable defined tests as above */

.
.
.

}

That is all

compile with 

gcc -g testit.c -o testit

gdb testit


I did not run the test suite (gmake check) on the gdb installation.


-- 
Said the fox to the fish, "Join me ashore".
The fish are the Jews, Torah is our water.

Hillel (Sabba) Markowitz
sabbahem@bcpl.net, Sabba.Hillel@verizon.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB build fails on DEC OSF V5.1a but not OSF V4.0f
  2002-12-20  3:07   ` Hillel (Sabba) Markowitz
@ 2002-12-20  3:18     ` Joel Brobecker
  2002-12-20  3:37       ` Hillel (Sabba) Markowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2002-12-20  3:18 UTC (permalink / raw)
  To: Hillel (Sabba) Markowitz; +Cc: GDB help mailing list

> gcc-3.2.1 with a basic hellow world (though any test program works the
> same
[...]
> gdb testit

Unfortunately, I don't have a gcc-3.2 on our Tru64 machine, so I won't
be able to help you. I remember that we had a problem with the debugger
when we built the same sources using our work-in-progress gcc-3.2-based
version of GNAT, but the symptoms where different.

(you forgot to tell which version of GDB you were using, BTW. And also
the commands you used to build it. I assume "configure; make;", but it
would be nice to confirm it).

-- 
Joel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GDB build fails on DEC OSF V5.1a but not OSF V4.0f
  2002-12-20  3:18     ` Joel Brobecker
@ 2002-12-20  3:37       ` Hillel (Sabba) Markowitz
  0 siblings, 0 replies; 5+ messages in thread
From: Hillel (Sabba) Markowitz @ 2002-12-20  3:37 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: GDB help mailing list

Joel Brobecker wrote:
> 
> > gcc-3.2.1 with a basic hellow world (though any test program works the
> > same
> [...]
> > gdb testit
> 
> Unfortunately, I don't have a gcc-3.2 on our Tru64 machine, so I won't
> be able to help you. I remember that we had a problem with the debugger
> when we built the same sources using our work-in-progress gcc-3.2-based
> version of GNAT, but the symptoms where different.
> 
> (you forgot to tell which version of GDB you were using, BTW. And also
> the commands you used to build it. I assume "configure; make;", but it
> would be nice to confirm it).
> 
> --
> Joel

gdb-5.3 but gdb-5.2.1 and gdb-5.2 had the same symptoms

configure --prefix=/usr/local/GNU --enable-shared --enable-static
--enable-bfd-64-bit as well as a specific set of settings for
tcl-libraries, tcl-includes, tk-libraries and tk-includes

However, I also tested with a basic 

configure --prefix=/usr/local/GNU

as well to make sure that it was not the settings

I used gmake (GNU make) explicitly.

-- 
Said the fox to the fish, "Join me ashore".
The fish are the Jews, Torah is our water.

Hillel (Sabba) Markowitz
sabbahem@bcpl.net, Sabba.Hillel@verizon.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-20 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19  9:18 GDB build fails on DEC OSF V5.1a but not OSF V4.0f Hillel (Sabba) Markowitz
2002-12-20  2:13 ` Joel Brobecker
2002-12-20  3:07   ` Hillel (Sabba) Markowitz
2002-12-20  3:18     ` Joel Brobecker
2002-12-20  3:37       ` Hillel (Sabba) Markowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox