Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* building snapshot on hp-ux with hp tools
@ 2004-01-13 10:39 Michael Elizabeth Chastain
  2004-01-13 15:43 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2004-01-13 10:39 UTC (permalink / raw)
  To: gdb

I'm building gdb+dejagnu-20040113.tar.bz2 on hpux 11.11 using
the hp-ux tools, and I'm running into two problems.

(1) expect doesn't build with hp-ux make.
    When I use gnu make, it builds fine.

(2) dejagnu doesn't build because it doesn't find a C++ compiler

I can think of several ways around this:

(A) Make snapshots with no expect+dejagnu, such as gdb-20040113.tar.bz2.
    Since our releases are like that, I think it's okay for our
    snapshots to be like that.

(B) Tell people who use snapshots to remove the expect and dejagnu
    subdirectories before building from source.

(C) Upgrade dejagnu in sourceware (and upstream if necessary) to make
    the C++ compiler optional.

Comments?

Michael C


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: building snapshot on hp-ux with hp tools
@ 2004-01-13 22:59 Michael Elizabeth Chastain
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Elizabeth Chastain @ 2004-01-13 22:59 UTC (permalink / raw)
  To: cagney; +Cc: gdb

> Historically expect and dejagnu have been bundled in with GDB to ensure 
> that all parties are using a consistent test framework.  It might be 
> time to cut our losses?

Gcc has an "unbundled" strategy, so every gcc tester has to install
tcl+expect+dejagnu outside of gcc.  It works for them; they have a lot
of testing activity.  Look at http://gcc.gnu.org/ml/gcc-testresults .
I wish that gdb-testers looked like that.

> Does a more up-to-date expect build?

Errr, no.  expect 5.39 does not build on hppa2.0w-hp-hpux11.11 with
the hp ansi c compiler.  Configure craps out with:

  checking whether the compiler (gcc -pipe) actually works... configure:
  error: the native compiler is broken and won't compile.

I don't know what the gcc-testresults@ people are doing to work
around that.  Perhaps they always use gcc to build tcl+expect+dejagnu.

If we unbundle tcl+expect+dejagnu, then we can separate those problems
out.  As it is, I can't tell people to try gdb snapshots on hp-ux
(see pr gdb/1458, I can't reply to it with "try a snapshot").

The advantage of bundling is that, in principle, we can make things
easier for people, if add value to our bundled versions.  The
disadvantage of bundling is that we're not spending the effort to add
value so that the "+dejagnu" part of "gdb+dejagnu" just stops it from
building on some systems.

I'm favor of separating gdb from dejagnu.  Have a separate
"tcl+expect+dejagnu" tarball if you want, but no "gdb+dejagnu".

Michael C


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

end of thread, other threads:[~2004-01-13 22:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-13 10:39 building snapshot on hp-ux with hp tools Michael Elizabeth Chastain
2004-01-13 15:43 ` Andrew Cagney
2004-01-13 21:24   ` Daniel Jacobowitz
2004-01-13 22:59 Michael Elizabeth Chastain

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