This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[rfa/doco] PROBLEMS: document hpux cma thread build failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]