Thread View: gnu.g++.lib.bug
3 messages
3 total messages
Started by David Edelsohn
Mon, 21 Dec 1992 18:45
libg++-2.3 build problems under AIX-3.2
Author: David Edelsohn
Date: Mon, 21 Dec 1992 18:45
Date: Mon, 21 Dec 1992 18:45
65 lines
3212 bytes
3212 bytes
First, the configuration files do not seem to have been updated since libg++-2.2: the NOSTDINC and the HAVE_CPLUS_EXTERN Makefile flags are not defined in the libg++/config/rs6000.mh file at all. AIX-3.2 fixes many of the problems requiring work-arounds in previous versions: copysign() used by modf() is fixed in libc and /usr/include/unistd.h has the correct prototype for write(). libiberty/config/mh-aix should have the EXTRA_OFILES line for copysign.o removed or commented out. libg++/config/rs6000.mh should look more like: -----rs6000.mh----- # configuration for IBM rs6000 running aix INSTALL=cp INSTALL_DATA = cp G_CONFIG_ARGS = # Use -nostdinc++ flag if your version of gcc understands it. NOSTDINC = -nostdinc++ # Flags to pass to gen-params when building _G_config.h. # For example: G_CONFIG_ARGS = size_t="unsigned long" G_CONFIG_ARGS = # If the C include files are C++-ready (with extern "C"), # define: HAVE_CPLUS_EXTERN = 1 and: WRAP_C_INCLUDES = # If not, define HAVE_CPLUS_EXTERN = 0, and do not define WRAP_C_INCLUDES here. HAVE_CPLUS_EXTERN = 0 ----- After building libg++-2.3 using gcc-2.3.2, it fails to pass its self-tests because of problems with formatted I/O. libg++/iostream/test/tFile fails with an abort in t11() at the assert. The last lines of tFile.out look like: -----tFile.out----- Assertion failed: count1 == 33, file tFile.C, line 434 5.500000+6.250000 = 1.175000e+01 Previous line has12345 32 characters Previous line has12345+36 characters ----- libg++-2.3 is built using "./configure rs6000-ibm-aix3.2" with the above changes to the various config files (without the changes other errors occur). gcc-2.3.2 is not fully installed so the environment variables GCC_EXEC_PREFIX, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH are set appropriately (though that last should be ignored because of -nostdinc++). libg++-2.3 builds easily under SunOS-4.1.2 and passes its self-tests without incident, but it does not seem to build correctly under AIX-3.2 although the compilation succeeds without problem. Are idea what's going on? Thanks, David c$dje@watson.ibm.com edelsohn@sccs.syr.edu Disclaimer: I do not speak for IBM and it does not speak for me. =============================================================================== David Edelsohn T.J. Watson Research Center c$dje@watson.ibm.com P.O. Box 218 +1 914 945 3011 (Tieline 862) Yorktown Heights, NY 10598 "The Church doesn't have problems with sex; the world does" -- Vatican official "A good theory should fit on a T-shirt" -- Astronomer at Jan 1992 AAS meeting
Re: libg++-2.3 build problems under AIX-3.2
Author: bothner
Date: Tue, 22 Dec 1992 04:26
Date: Tue, 22 Dec 1992 04:26
19 lines
1130 bytes
1130 bytes
> First, the configuration files do not seem to have been updated > since libg++-2.2 I don't update things unless I have a reason to think I should. > the HAVE_CPLUS_EXTERN Makefile flags are > not defined in the libg++/config/rs6000.mh file at all. Nor should they be, at least not for AIX 3.1. > AIX-3.2 fixes many of the problems ... There is a tradoff between: How many AIX 3.1 systems are there out there; does the current version *work* under AIX 3.2; do your proposed changes *work* under AIX 3.1? It is of course possible to support two separate configurations, but we're currently not set up to do that. --Per Bothner Cygnus Support bothner@cygnus.com
Re: libg++-2.3 build problems under AIX-3.2
Author: Rick Cochran
Date: Thu, 24 Dec 1992 19:50
Date: Thu, 24 Dec 1992 19:50
26 lines
1647 bytes
1647 bytes
In article <9212222026.AA05769@cygnus.com>, bothner@cygnus.com writes: |> > AIX-3.2 fixes many of the problems ... |> |> There is a tradoff between: How many AIX 3.1 systems are there out there; |> does the current version *work* under AIX 3.2; do your proposed |> changes *work* under AIX 3.1? It is of course possible to support |> two separate configurations, but we're currently not set up to do that. |> |> --Per Bothner |> Cygnus Support bothner@cygnus.com Why don't we all just throw away our machines and give up? Seriously now, AIX 3.1 is stuck with X11-R3! I believe that most RS6000 sites have swallowed hard and upgraded to 3.2. I think it's about time libg++ did the same. Otherwise, please change the README file in libg++-2.3 to state that it doesn't work under AIX 3.2. This will save lots of people lots of time. Better yet, mention it in gcc-2.3.2/INSTALL - this is where folks will look first. -- |Rick Cochran 607-255-7223 rick@msc.cornell.edu| |Cornell Materials Science Center rick@crnlmsc2.bitnet| |E20 Clark Hall, Ithaca, N.Y. 14853 cornell!msc.cornell.edu!rick|
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads