home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 2003 < prev    next >
Encoding:
Text File  |  1992-11-08  |  11.5 KB  |  354 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!gnu.ai.mit.edu!rms
  3. From: rms@gnu.ai.mit.edu (Richard Stallman)
  4. Subject: [mathieu@geod.emr.ca: INFO: GNU products on HP9000s700. Also GCC 2.3.1 on same.]
  5. Message-ID: <9211062117.AA11155@mole.gnu.ai.mit.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 6 Nov 1992 11:17:22 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 341
  12.  
  13. This contains bug reports for various GNU programs on the HP.
  14. Maintainers, please look thru it to see whether it says anything
  15. about programs you work on.
  16.  
  17. To: help-gcc@prep.ai.mit.edu
  18. Date: Fri, 6 Nov 1992 19:53:59 GMT
  19. Organization: Dept. of Energy, Mines, and Resources, Ottawa
  20. From: mathieu@geod.emr.ca (Pierre Mathieu)
  21. Sender: help-gcc-request@prep.ai.mit.edu
  22. Subject: INFO: GNU products on HP9000s700. Also GCC 2.3.1 on same.
  23.  
  24.  
  25. For those who may be interested in getting the GNU products for the
  26. HP9000 Series 700 systems HP-UX 8.07, here is a list of the results
  27. I have obtained with the packages available at prep.ai.mit.edu.
  28.  
  29. All of the results are based on compilation with GCC 2.3.1 and
  30. not on the use of the HP C compiler. A section is included
  31. in the list for applications that did not compile with
  32. GCC but did with HP C.
  33.  
  34. The last part of the listing contains the applications I can't get to
  35. compile. If you got them to compile with GCC 2.3.1 and can send
  36. me fixes, I'll include them in this list.
  37.  
  38. Note: To compile GCC 2.3.1 with debugging support, you must have the
  39.       UTAH GAS 1.36 version from jaguar.cs.utah.edu: pa-gas.u3.tar.Z.
  40.  
  41.  
  42. GNU products that compile fine:
  43. ------------------------------
  44.  
  45. bison-1.19
  46. cpio-2.1
  47. diff-2.0
  48. emacs-18.58
  49. emacs-18.59       (had troubles with installation although it compiles OK)
  50. fileutils-3.4
  51. find-3.7
  52. flex-2.3.7
  53. gas-1.36.utah     (from jaguar.cs.utah.edu pa-gas.u3.tar.Z)
  54. gcc-2.3.1
  55. gdb-4.6           (with pa-gdb-4.6.tar.Z patches from jaguar.cs.utah.edu)
  56. ghostscript-2.5.2 (and fonts)
  57. gmp-1.2
  58. gptx-0.2
  59. grep-1.6
  60. hello-1.1
  61. indent-1.6
  62. patch-2.0.12u8
  63. perl-4.035
  64. rcs-5.6
  65. sed-1.11
  66. shellutils-1.8
  67. tar-1.11
  68. termcap-1.1
  69. texi2roff-2.0
  70. texinfo-2.16
  71. textutils-1.3
  72.  
  73.  
  74.  
  75. GNU products that don't support (yet?) HP9000/700:
  76. -------------------------------------------------
  77.  
  78. dld-3.2.3
  79. gas-1.38.1
  80. gdb-4.7
  81. glibc-1.05
  82.  
  83.  
  84.  
  85. GNU products that don't compile because another product doesn't:
  86. ---------------------------------------------------------------
  87.  
  88. autoconf-1.2    (m4-1.0)
  89. groff-1.06      (libg++-2.2)
  90. iostream-0.50   (libg++-2.2)
  91. nihcl-2.2       (libg++-2.2)
  92.  
  93.  
  94.  
  95. GNU products not yet examined (don't have time right now):
  96. ---------------------------------------------------------
  97.  
  98. ae
  99. finger-1.37
  100. gnuchess-4.0
  101. gnugo-1.1
  102. gnuplot-3.2
  103. ispell-2.0.02
  104. ms-0.06
  105. mtools-2.0.7
  106. smalltalk-1.1.1
  107. tile-forth-2.1
  108. xboard-2.0
  109.  
  110.  
  111.  
  112. GNU products not examined (and I don't plan to):
  113. -----------------------------------------------
  114.  
  115. button.3.00
  116. c-torture-test
  117. dirent
  118. elvis-1.6       (fine on PC; don't care on HP)
  119. f2c-3.2.90      (compilation is more trouble than it's worth)
  120. fax-3.2.1       (don't have a FAX modem)
  121. fgrep-1.1       (too old to be interesting)
  122. malloc-0.1
  123. oleo-0.03.2     (too old to be interesting)
  124. readline-1.1    (GDB 4.6 readline lib compiles just fine)
  125. uucp-1.03       (UUCP on HP is Honey-Danber)
  126. vh-1.3
  127.  
  128.  
  129.  
  130. Other non-GNU products that compile:
  131. -----------------------------------
  132.  
  133. X11R4 Mit Distribution
  134.  
  135.  
  136.  
  137. GNU products that don't compile with GCC 2.3.1 but do with HP C:
  138. ---------------------------------------------------------------
  139.  
  140. bash-1.12
  141. bc-1.02
  142. binutils-2.0
  143. m4-1.0
  144. make-3.62
  145. screen-3.2b
  146. time-1.4
  147. tput-1.0
  148.  
  149.  
  150. And now for the fun stuff.
  151.  
  152.  
  153. GNU products that don't compile but have easy fixes:
  154. ---------------------------------------------------
  155.  
  156. 1) cperf-2.1
  157.  
  158. gcc -DLO_CAL -DGATHER_STATISTICS  -O -fstrength-reduce -fomit-frame-pointer -fdelayed-branch -finline-functions  -o gperf options.o iterator.o main.o perfect.okeylist.o listnode.o xmalloc.o hashtable.o boolarray.o readline.o stderr.o version.o getopt.o
  159. ld: Unsatisfied symbols:
  160.    srandom (code)
  161.    random (code)
  162. collect: /bin/ld returned 1 exit status
  163.  
  164. FIX:
  165.  
  166. Add 
  167.  
  168. #define random rand
  169. #define srandom srand
  170.  
  171. to options.h
  172.  
  173.  
  174. 2) cvs-1.3
  175.  
  176. gcc -O -g -DDIRENT -DSTDC_HEADERS -DPOSIX -I. -I../lib    -c subr.c -o subr.o
  177. In file included from subr.c:11:
  178. cvs.h:282: conflicting types for `gethostname'
  179. /usr/include/sys/unistd.h:265: previous declaration of `gethostname'
  180.  
  181. Fix:
  182.  
  183. Comment out the line
  184.  
  185. int gethostname (char *name, int namelen);
  186.  
  187. in cvs.h
  188.  
  189.  
  190.  
  191. GNU products that don't compile and associated errors:
  192. -----------------------------------------------------
  193.  
  194.  
  195. A - getopt problems:
  196.  
  197. 1) bash-1.12
  198.  
  199. gcc -O -c -g  -DHAVE_VFPRINTF -DHAVE_UNISTD_H -DHAVE_GETGROUPS -DHAVE_RESOURCE -DVOID_SIGHANDLER -DHPUX_70 -DHAVE_WAIT_H  -DHAVE_DUP2 -DHAVE_STRERROR -D"hpux" -DHPUX -DSHELL -DHAVE_ALLOCA  -I/usr/local/gnu/src/bash-1.12 -I/usr/local/gnu/src/bash-1.12/./lib/ -I. -I./lib/ getopts.c
  200. In file included from getopts.c:63:
  201. ./getopt.h:95: conflicting types for `getopt'
  202. /usr/include/sys/unistd.h:225: previous declaration of `getopt'
  203.  
  204. 2) bc-1.02
  205.  
  206. gcc -O -g -D_POSIX_SOURCE   -c bc.c -o bc.o
  207. In file included from bc.c:33:
  208. proto.h:164: conflicting types for `getopt'
  209. /usr/include/stdlib.h:173: previous declaration of `getopt'
  210.  
  211. 3) m4-1.0
  212.  
  213. gcc -O -g -Ilib -DUSG -DHPUX -c m4.c -o m4.o
  214. In file included from m4.c:22:
  215. lib/getopt.h:99: conflicting types for `getopt'
  216. /usr/include/stdlib.h:173: previous declaration of `getopt'
  217.  
  218. 4) tput-1.0
  219.  
  220. gcc -O -I. -g -DSTDC_HEADERS   -c getopt.c -o getopt.o
  221. getopt.c: In function `getopt':
  222. getopt.c:254: argument `argv' doesn't match prototype
  223.  
  224.  
  225. B - Linker problems:
  226.  
  227. 1) fontutils-0.6 
  228.  
  229. gcc -O -o limn -L/usr/lib/X11R4 -L/usr/local/lib/X11 -g  curve.o display.o fit.o main.o output-bzr.o pxl-outline.o xserver.o version.o .././lib/lib.a .././gf/gf.a .././pk/pk.a .././bzr/bzr.a .././tfm/tfm.a .././widgets/widgets.a .././lib/lib.a -static -L/usr/lib/X11R4 -L/usr/local/lib/X11 -lXaw -lXmu -lXext -lXt -lX11.././lib/dlsym.o  -lm
  230. ld: R_DATA_ONE_SYMBOL fixup in file .././widgets/widgets.a(Label.o) for code unsat symbol "_XtInherit" - use P' fixup
  231. collect: /bin/ld returned 1 exit status
  232.  
  233. gcc -O -o xbfe -L/usr/lib/X11R4 -L/usr/local/lib/X11 -g  char.o commands.o kern.o main.o version.o .././lib/lib.a .././gf/gf.a .././pk/pk.a .././tfm/tfm.a .././widgets/widgets.a .././lib/lib.a -static -L/usr/lib/X11R4 -L/usr/local/lib/X11 -lXaw -lXmu -lXext -lXt -lX11 .././lib/dlsym.o  -lm
  234. ld: R_DATA_ONE_SYMBOL fixup in file .././widgets/widgets.a(Bitmap.o) for code unsat symbol "_XtInherit" - use P' fixup
  235. collect: /bin/ld returned 1 exit status
  236.  
  237. 2) ghostview-1.4
  238.  
  239. gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional -o ghostview main.o misc.o callbacks.o actions.o dialogs.o Ghostview.o ps.o getenv.o setenv.o strcasecmp.o SelFile.o Dir.o Path.o Draw.o -O  -L/usr/lib/X11R4 -lXaw -L/usr/lib/X11R4 -lXmu -L/usr/lib/X11R4 -lXt -L/usr/lib/X11R4 -lXext -L/usr/lib/X11R4 -lX11 -lm
  240. ld: R_DATA_ONE_SYMBOL fixup in file Ghostview.o for code unsat symbol "_XtInherit" - use P' fixup
  241. collect: /bin/ld returned 1 exit status
  242.  
  243. 3) xinfo-1.01.01
  244.  
  245. gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional -o xinfo xinfo.o Info.o -O  -L/usr/lib/X11R4 -lXaw -L/usr/lib/X11R4 -lXmu-L/usr/lib/X11R4 -lXt -L/usr/lib/X11R4 -lXext -L/usr/lib/X11R4 -lX11 -lm
  246. ld: R_DATA_ONE_SYMBOL fixup in file Info.o for code unsat symbol "_XtInherit" -use P' fixup
  247. collect: /bin/ld returned 1 exit status
  248.  
  249.  
  250. Others:
  251.  
  252. 1) binutils-2.0
  253.  
  254. gcc -O -c -g -DHOST_SYS=HPPAHPUX_SYS -DSELECT_ARCHITECTURES=bfd_hppa_arch -DUSG -I. -I. -I./../include  hppa.c
  255. hppa.c:636: parse error before `_core_file_failing_command'
  256.  
  257. 2) gawk-2.13
  258.  
  259. gcc     -g -O -fstrength-reduce    -c main.c -o main.o
  260. In file included from awk.h:142, from main.c:26:
  261. regex.h:21: warning: `#pragma once' is obsolete
  262. In file included from awk.h:85, from main.c:26:
  263. protos.h:55: conflicting types for `strftime'
  264. /usr/include/sys/time.h:96: previous declaration of `strftime'
  265. protos.h:67: conflicting types for `fwrite'
  266. /usr/include/stdio.h:192: previous declaration of `fwrite'
  267.  
  268. 3) gdbm-1.5
  269.  
  270. gcc -g -O -DSYSV   -c gdbmreorg.c -o gdbmreorg.o
  271. In file included from gdbmdefs.h:36, from gdbmreorg.c:31:
  272. systems.h:39: warning: `L_SET' redefined
  273. /usr/include/sys/file.h:121: warning: this is the location of the previous definition
  274. gdbmreorg.c:45: warning: static declaration for `rename' follows non-static
  275. gdbmreorg.c: In function `rename':
  276. gdbmreorg.c:47: argument `old_name' doesn't match prototype
  277. gdbmreorg.c:47: argument `new_name' doesn't match prototype
  278.  
  279. 4) graphics-0.17
  280.  
  281. lots of errors. Samples:
  282.  
  283. gcc -g -O -I/usr/include/X11R4 -I/usr/local/include/X11R4 graph.o read_file.o max.o write_plot.o ../getopt/getopt.o ../getopt/getopt1.o ../tek2plot/libplot.a -lm -o graph
  284. ld: R_DATA_ONE_SYMBOL fixup in file write_plot.o for code unsat symbol "ceil" -use P' fixup
  285. collect: /bin/ld returned 1 exit status
  286.  
  287. gcc -g -O -I/usr/include/X11R4 -I/usr/local/include/X11R4 -o plot2tek plot.o ../getopt/getopt.o ../getopt/getopt1.o libtek.a -lm
  288. ld: Unsatisfied symbols:
  289.    drem (code)
  290. collect: /bin/ld returned 1 exit status
  291.  
  292. gcc -g -O -I/usr/include/X11R4 -I/usr/local/include/X11R4 -o plot2ps plot.o  ../getopt/getopt.o ../getopt/getopt1.o libps.a -lm
  293. ld: Unsatisfied symbols:
  294.    drem (code)
  295. collect: /bin/ld returned 1 exit status
  296.  
  297. gcc -g -O -I/usr/include/X11R4 -I/usr/local/include/X11R4 -o plot2fig plot.o ../getopt/getopt.o ../getopt/getopt1.o libfig.a -lm
  298. ld: Unsatisfied symbols:
  299.    re_exec (code)
  300.    re_comp (code)
  301. collect: /bin/ld returned 1 exit status
  302.  
  303. 5) libg++-2.2
  304.  
  305. gcc -g -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
  306. /usr/include/math.h: In function `int  abs (int)':
  307. In file included from ./builtin.h:33, from Obstack.cc:22:
  308. /usr/include/math.h:185: redefinition of `int  abs (int)'
  309. /usr/include/stdlib.h:62: `int  abs (int)' previously defined here
  310. ./Obstack.h: In method `void  Obstack::grow (const void *, int)':
  311. In file included from Obstack.cc:23:
  312. ./Obstack.h:124: warning: implicit declaration of function `bcopy'
  313.  
  314. 6) make-3.62
  315.  
  316. gcc -O -DUSG -DUSGr3 -DHPUX -DHAVE_DUP2  -g  -c load.c
  317. In file included from /usr/include/fcntl.h:9, from load.c:181:
  318. /usr/include/sys/fcntl.h:149: conflicting types for `open'
  319. /usr/include/sys/fcntl.h:149: A parameter list with an ellipsis can't match
  320. /usr/include/sys/fcntl.h:149: an empty parameter name list declaration.
  321. make.h:230: previous declaration of `open'
  322.  
  323. 7) screen-3.2b
  324.  
  325. gcc -O -c -g  -I. -DETCSCREENRC=\"/usr/local/gnu/lib/screenrc\" ./screen.c
  326. In file included from ./screen.c:333:
  327. ./extern.h:57: conflicting types for `wait3'
  328. /usr/include/sys/wait.h:81: previous declaration of `wait3'
  329. ./extern.h:73: conflicting types for `crypt'
  330. /usr/include/sys/unistd.h:237: previous declaration of `crypt'
  331. ./extern.h:86: conflicting types for `putenv'
  332. /usr/include/stdlib.h:155: previous declaration of `putenv'
  333. ./screen.c:343: conflicting types for `select'
  334. /usr/include/sys/time.h:146: previous declaration of `select'
  335. ./screen.c: In function `main':
  336. ./screen.c:1054: warning: passing arg 2 of `signal' from incompatible pointer type
  337. etc...
  338.  
  339. 8) time-1.4
  340.  
  341. gcc -O -c -g  -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_STRERROR=1 -DHAVE_DOPRNT=1 -I. time.c
  342. time.c:93: conflicting types for `wait3'
  343. /usr/include/sys/wait.h:81: previous declaration of `wait3'
  344. time.c: In function `run_command':
  345. time.c:636: warning: passing arg 2 of `execvp' from incompatible pointer type
  346. m
  347. --
  348. Pierre Mathieu                          "We have seen the enemy,
  349. Geodetic Survey of Canada                  and the enemy is us."
  350. Ottawa, Canada                                                Pogo
  351. Internet: mathieu@geod.emr.ca
  352.  
  353.  
  354.