From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31414 invoked by alias); 18 Jun 2004 21:48:15 -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 31407 invoked from network); 18 Jun 2004 21:48:15 -0000 Received: from unknown (HELO smtp6.mindspring.com) (207.69.200.110) by sourceware.org with SMTP; 18 Jun 2004 21:48:15 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 1BbRDZ-0006Db-00; Fri, 18 Jun 2004 17:48:14 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 96CA84B104; Fri, 18 Jun 2004 17:48:21 -0400 (EDT) To: eliz@gnu.org, gdb-patches@sources.redhat.com Subject: [rfa/doco] PROBLEMS: more details + workaround for pr gdb/1458 Message-Id: <20040618214821.96CA84B104@berman.michael-chastain.com> Date: Fri, 18 Jun 2004 21:48:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-06/txt/msg00449.txt.bz2 This patch adds some more specific information, and a work-around, to the PROBLEMS file for PR gdb/1458. As usual with documentation, this patch should speak for itself. If a user gets the error that is shown, they should try the work-around as shown. There's lots more info in the PR, with an analysis and a suggested fix (the fix is to update src/intl with the more recent gcc/intl). Testing: Travis Heppe reported the original problem and tested the work-around on his system, native hppa2.0w-hp-hpux11.00 with hp ansi c B.11.11.04. I tested the other two compilers mentioned and verified that they don't have the problem. Okay to commit? Michael C 2004-06-18 Michael Chastain * PROBLEMS: Add more specific information, and a work-around, for PR gdb/1458. Index: PROBLEMS =================================================================== RCS file: /cvs/src/src/gdb/PROBLEMS,v retrieving revision 1.30 diff -c -3 -p -r1.30 PROBLEMS *** PROBLEMS 17 Jun 2004 17:30:30 -0000 1.30 --- PROBLEMS 18 Jun 2004 21:40:22 -0000 *************** *** 6,16 **** *** Build problems ! build/1458: comple failed on hpux11 ! GDB 6.1 is known to have build problems on HP/UX 11.00 using the ! vendor supplied compilers (GDB does build on HP/UX 11.11, and using ! GCC). *** Misc --- 6,34 ---- *** Build problems ! build/1458: compile failed on hpux11 ! GDB has build problems on HP/UX 11 with some versions of the HP ! Ansi C compiler. (GCC works fine). ! ! The problem happens when compiling intl/bindtextdom.c. ! The error is: ! ! cc: "gettextP.h", line 50: error 1000: Unexpected symbol: "SWAP". ! cc: panic 2017: Cannot recover from earlier errors, terminating. ! *** Error exit code 1 ! ! This is a problem with the 'inline' keyword in gettextP.h. ! The workaround is to disable 'inline' before building gdb: ! ! export ac_cv_c_inline=no ! ! This problem happens only with some versions of the HP Ansi C compiler. ! Versions A.11.01.25171.GP and B.11.11.28706.GP have both been observed ! to work; version B.11.11.04 gets the build error and needs the ! workaround. ! ! This problem might also happen with other C compilers. *** Misc