This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/doco] PROBLEMS: more details + workaround for pr gdb/1458
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: eliz at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Fri, 18 Jun 2004 17:48:21 -0400 (EDT)
- Subject: [rfa/doco] PROBLEMS: more details + workaround for pr gdb/1458
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 <mec.gnu@mindspring.com>
* 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