home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / lib / bug / 716 < prev    next >
Encoding:
Text File  |  1992-12-22  |  3.1 KB  |  80 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!watson.ibm.com!c$dje
  3. From: c$dje@watson.ibm.com (David Edelsohn)
  4. Subject: libg++-2.3 build problems under AIX-3.2
  5. Message-ID: <9212211845.AA08280@tweetie.watson.ibm.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 21 Dec 1992 18:45:50 GMT
  10. Approved: bug-lib-g++@prep.ai.mit.edu
  11. Lines: 67
  12.  
  13.     First, the configuration files do not seem to have been updated
  14. since libg++-2.2: the NOSTDINC and the HAVE_CPLUS_EXTERN Makefile flags are
  15. not defined in the libg++/config/rs6000.mh file at all.
  16.     AIX-3.2 fixes many of the problems requiring work-arounds in
  17. previous versions: copysign() used by modf() is fixed in libc and
  18. /usr/include/unistd.h has the correct prototype for write().
  19.     libiberty/config/mh-aix should have the EXTRA_OFILES line for
  20. copysign.o removed or commented out.  libg++/config/rs6000.mh should look
  21. more like:
  22.  
  23. -----rs6000.mh-----
  24. # configuration for IBM rs6000 running aix
  25. INSTALL=cp
  26. INSTALL_DATA = cp
  27. G_CONFIG_ARGS =
  28. # Use -nostdinc++ flag if your version of gcc understands it.
  29. NOSTDINC = -nostdinc++
  30.  
  31. # Flags to pass to gen-params when building _G_config.h.
  32. # For example: G_CONFIG_ARGS = size_t="unsigned long"
  33. G_CONFIG_ARGS =
  34.  
  35. # If the C include files are C++-ready (with extern "C"),
  36. # define: HAVE_CPLUS_EXTERN = 1 and: WRAP_C_INCLUDES =
  37. # If not, define HAVE_CPLUS_EXTERN = 0, and do not define WRAP_C_INCLUDES here.
  38. HAVE_CPLUS_EXTERN = 0
  39.  
  40. -----
  41.     After building libg++-2.3 using gcc-2.3.2, it fails to pass its
  42. self-tests because of problems with formatted I/O.
  43. libg++/iostream/test/tFile fails with an abort in t11() at the assert.  The
  44. last lines of tFile.out look like:
  45.  
  46. -----tFile.out-----
  47.  
  48. Assertion failed: count1 == 33, file  tFile.C, line 434
  49. 5.500000+6.250000 = 1.175000e+01
  50. Previous line has12345 32 characters
  51. Previous line has12345+36 characters
  52.  
  53. -----
  54.  
  55.     libg++-2.3 is built using "./configure rs6000-ibm-aix3.2" with the
  56. above changes to the various config files (without the changes other errors
  57. occur).  gcc-2.3.2 is not fully installed so the environment variables
  58. GCC_EXEC_PREFIX, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH are set
  59. appropriately (though that last should be ignored because of -nostdinc++).
  60.  
  61.     libg++-2.3 builds easily under SunOS-4.1.2 and passes its
  62. self-tests without incident, but it does not seem to build correctly under
  63. AIX-3.2 although the compilation succeeds without problem.  Are idea what's
  64. going on?
  65.  
  66.                 Thanks, David
  67.                 c$dje@watson.ibm.com
  68.                 edelsohn@sccs.syr.edu
  69.  
  70.  
  71. Disclaimer: I do not speak for IBM and it does not speak for me.
  72. ===============================================================================
  73. David Edelsohn                                      T.J. Watson Research Center
  74. c$dje@watson.ibm.com                                P.O. Box 218
  75. +1 914 945 3011 (Tieline 862)                       Yorktown Heights, NY 10598
  76. "The Church doesn't have problems with sex; the world does" -- Vatican official
  77. "A good theory should fit on a T-shirt" -- Astronomer at Jan 1992 AAS meeting
  78.  
  79.  
  80.