Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by Tom McConnell~
Sat, 19 Dec 1992 14:06
Re: libg++-2.3 compilation problem - ncr 3000
Author: Tom McConnell~
Date: Sat, 19 Dec 1992 14:06
Date: Sat, 19 Dec 1992 14:06
59 lines
2952 bytes
2952 bytes
In article <9212122148.AA04633@ilws35.intel.com>, iancu@iil.intel.com (Igal Iancu) writes:
> Hi,
>
> I am having compilation problem of the libg++-2.3 release:
> System: NCR 3340, SYSVR4.02
> GCC 2.3.2
>
> tail of log file:
>
> /usr/ccs/ATT/cc -c -I. -I../../libiberty/../include ../../libiberty/random.c
> /usr/ccs/ATT/cc -c -I. -I../../libiberty/../include ../../libiberty/rindex.c
> rm -rf libiberty.a
> ar cq libiberty.a argv.o basename.o concat.o cplus-dem.o fdmatch.o getopt.o getopt1.o obstack.o spaces.o strerror.o strsignal.o index.o sigsetmask.o alloca.o getpagesize.o bcmp.o bzero.o bcopy.o random.o index.o rindex.o
> true libiberty.a
> rootme=`pwd`/ ; export rootme; CC="/usr/ccs/ATT/cc "; export CC; CXX="gcc -nostdinc++"; export CXX; CONFIG_NM="nm"; export CONFIG_NM; ../../libg++/utils/gen-params LIB_VERSION=2.3 >tmp-params.h
> mv tmp-params.h _G_config.h
> gcc -g -O -nostdinc++ -I.. -I../../../libg++/src -I../../../libg++/src/../iostream -I../../../libg++/src/../g++-include -c ../../../libg++/src/AllocRing.cc
> gcc -g -O -nostdinc++ -I.. -I../../../libg++/src -I../../../libg++/src/../iostream -I../../../libg++/src/../g++-include -c ../../../libg++/src/Obstack.cc
> Assembler: Obstack.cc
> aline 1879 : multiply defined label
> aline 2557 : multiply defined label
> aline 2860 : multiply defined label
> aline 3228 : multiply defined label
> aline 3615 : multiply defined label
> aline 3952 : multiply defined label
> aline 4230 : multiply defined label
> gmake[2]: *** [Obstack.o] Error 1
> gmake[1]: *** [in-src] Error 1
> gmake: *** [all-libg++] Error 1
>
>
> any suggestions?
>
> Thanks in advance,
>
> --
>
>
> -- Igal Iancu
>
This is the "-g" problem that the NCR boxes have. The problem appears to be
that gcc does not generate the correct assembler code when debugging is turned
on.
The simple fix is to turn off debugging by adding "CXXFLAGS = -O" to
./libg++-2.3/config/mh-ncr3000. This overrides CXXFLAGS in the Makefile.
The problem with this is that debugging will not be available when using
libg++. It does compile and run "make check", however.
Cheers,
Tom McConnell
Tom McConnell | Internet: tmcconne@sedona.intel.com
Intel, Corp. C3-91 | Phone: (602)-554-8229
5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
Chandler, AZ 85226 | their right mind would claim them.
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