2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Sat, 19 Jun 2004 17:41:03 +0000 (17:41 +0000)
committerMichael Chastain <mec@google.com>
Sat, 19 Jun 2004 17:41:03 +0000 (17:41 +0000)
* PROBLEMS: Add more specific information, and a work-around,
for PR gdb/1458.

gdb/ChangeLog
gdb/PROBLEMS

index 5ab245002e0116e06e584d9da4f3d527be44e9ec..a23071c735f75be2ea5d94e716bcfbb353413188 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-18  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * PROBLEMS: Add more specific information, and a work-around,
+       for PR gdb/1458.
+
 2004-06-18  Andrew Cagney  <cagney@gnu.org>
 
        * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated.
index b39e94a30f9268ddac037feed484ed91756c1e86..c143bb3126e90dfa583a23e4e079ead9a27204a5 100644 (file)
@@ -6,11 +6,29 @@
 
 *** Build problems
 
-build/1458: comple failed on hpux11
+build/1458: compile 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).
+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
 
This page took 0.028654 seconds and 4 git commands to generate.