Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: mec.gnu@mindspring.com (Michael Chastain)
To: eliz@gnu.org, gdb-patches@sources.redhat.com
Subject: [rfa/doco] PROBLEMS: document hpux cma thread build failure
Date: Thu, 12 Aug 2004 19:21:00 -0000	[thread overview]
Message-ID: <20040812192106.1F0004B359@berman.michael-chastain.com> (raw)

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


             reply	other threads:[~2004-08-12 19:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12 19:21 Michael Chastain [this message]
2004-08-13 15:28 ` Eli Zaretskii
2004-08-13 16:32   ` Michael Chastain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040812192106.1F0004B359@berman.michael-chastain.com \
    --to=mec.gnu@mindspring.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox