From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14460 invoked by alias); 12 Aug 2004 19:21:05 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14428 invoked from network); 12 Aug 2004 19:21:04 -0000 Received: from unknown (HELO mclean.mail.mindspring.net) (207.69.200.57) by sourceware.org with SMTP; 12 Aug 2004 19:21:04 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BvL8G-0002hW-00; Thu, 12 Aug 2004 15:21:01 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 1F0004B359; Thu, 12 Aug 2004 15:21:06 -0400 (EDT) To: eliz@gnu.org, gdb-patches@sources.redhat.com Subject: [rfa/doco] PROBLEMS: document hpux cma thread build failure Message-Id: <20040812192106.1F0004B359@berman.michael-chastain.com> Date: Thu, 12 Aug 2004 19:21:00 -0000 From: mec.gnu@mindspring.com (Michael Chastain) X-SW-Source: 2004-08/txt/msg00472.txt.bz2 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 * 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