Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfa/doco] PROBLEMS: document hpux cma thread build failure
@ 2004-08-12 19:21 Michael Chastain
  2004-08-13 15:28 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Chastain @ 2004-08-12 19:21 UTC (permalink / raw)
  To: eliz, gdb-patches

This patch adds a section to PROBLEMS for build/1411, which is a build
failure on HP/UX if the CMA thread package is installed.

I wrote this because a user came to bug-gdb@ today and reported the
same problem again.  So I figure it's worth a mention in PROBLEMS.

(By the way, bug-gdb@gnu.org is the mailing list documented in
gdb.texinfo, but only two gdb maintainers are subscribed to it.  It's
moderated now so you can subscribe and not get spam).

Testing: I don't have access to a system with CMA threads.  If I did, I
would just fix the compile problem and run the gdb test suite and see if
CMA thread support even works!  I did try the workaround on an hpux
11.11 system and gdb still built, before and after.

How about it?

2004-08-12  Michael Chastain  <mec.gnu@mindspring.com>

	* PROBLEMS: Mention build/1411.

Index: PROBLEMS
===================================================================
RCS file: /cvs/src/src/gdb/PROBLEMS,v
retrieving revision 1.37
diff -c -3 -p -r1.37 PROBLEMS
*** PROBLEMS	29 Jul 2004 22:30:31 -0000	1.37
--- PROBLEMS	12 Aug 2004 19:07:09 -0000
***************
*** 6,11 ****
--- 6,29 ----
  
  *** Build problems
  
+ build/1411: build fails on hpux 10.20 and hpux 11.00 with CMA threads
+ 
+ GDB does not build on HP/UX 10.20 or HP/UX 11.00 if the CMA
+ thread package is installed.  The compile error is:
+ 
+   ../../gdb/hpux-thread.c:222: variable-size type declared outside of any function
+ 
+ This happens only if the CMA thread package is installed.
+ 
+ As a workaround, you can disable support for CMA threads
+ by editing the file gdb/configure.  Find the line:
+ 
+   if test -f /usr/include/dce/cma_config.h ; then
+ 
+ And replace it with:
+ 
+   if false ; then
+ 
  build/1458: compile failed on hpux11
  
  GDB has build problems on HP/UX 11 with some versions of the HP


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

end of thread, other threads:[~2004-08-13 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-12 19:21 [rfa/doco] PROBLEMS: document hpux cma thread build failure Michael Chastain
2004-08-13 15:28 ` Eli Zaretskii
2004-08-13 16:32   ` Michael Chastain

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