This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: libstdc++-2.90.6 fails to build
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: libstdc++-2.90.6 fails to build
- From: Mike Howard <mike@clove.com>
- Date: Tue, 17 Aug 1999 17:48:40 -0400
- Cc: Mike Howard <mike@clove.com>, libstdc++@sourceware.cygnus.com,mike@clove.com
> > Environment: RH 5.2 with Cygnus GNU Pro tools for Linux - redhat-980810
>
> Can you try with gcc-2_95 please? See egcs.cygnus.com for info about
> d/ling it.
Attempting download - bombed out last night. Unfortunately, it will be a pain
to use gcc-295 'cause of work commitments - I'm kind of stuck with the GNU Pro
tools.
>
> > I poked around in the CVS tree looking at the Makefiles in (buildroot) and
> > buildroot/src, but am stumped. I can't figure out how limitsMEMBERS.cc is
> > constructed - looks like it went in in buildroot/Makefile.in 1.7 & 1.8 and
> > disappeared in 1.9. Is this possible or am I (a) stupid or (b) overwhelmed
> by
> > the complexity of libtool and friends?
>
> mknumeric_limits is your friend. . . . this actually generates the limits
> info, including this file.
>
added set -x to mknumeric_limits. [this also touched the file causing it to
try to build limitsMEMBERS.cc - why is $(generated_headers) dependent on it?]
and got:
/bin/sh ../mknumeric_limits `pwd`/.. ..
+ echo running mknumeric_limits
running mknumeric_limits
+ CXX=g++
++ uname
+ LDFLAGS=-nodefaultlibs -lgcc -lc
+ BUILD_DIR=/usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/..
+ [ ! -d /usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/.. ]
+ SRC_DIR=..
+ [ ! -d .. ]
+ [ ! -d /usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../bits ]
+ [ ! -d /usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../src ]
+ OUT_H=/usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../bits/std_li
m
its.h
+ OUT_C=/usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../src/limitsM
E
MBERS.cc
+ cat
+ g++ -o /usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../src/gen-nu
m
-limits ../src/gen-num-limits.cc -nodefaultlibs -lgcc -lc
../src/gen-num-limits.cc: In function `void traps<short unsigned int>()':
../src/gen-num-limits.cc:129: redefinition of `void traps<short unsigned int>
()'
../src/gen-num-limits.cc:128: `void traps<unsigned char>()' previously defined
h
ere
../src/gen-num-limits.cc: In function `void traps<unsigned int>()':
../src/gen-num-limits.cc:130: redefinition of `void traps<unsigned int>()'
../src/gen-num-limits.cc:129: `void traps<short unsigned int>()' previously
defi
ned here
../src/gen-num-limits.cc: In function `void traps<long unsigned int>()':
../src/gen-num-limits.cc:131: redefinition of `void traps<long unsigned int>()'
../src/gen-num-limits.cc:130: `void traps<unsigned int>()' previously defined
he
re
../src/gen-num-limits.cc: In method `type_trait<short unsigned int>
::type_trait(
)':
../src/gen-num-limits.cc:619: confused by earlier errors, bailing out
+ [ ! -f /usr/local/vendors/cygnus/libstdc++/libstdc++-2.90.6/src/../src/gen-nu
m
-limits ]
+ echo gen-num-limits failed to build, exiting.
gen-num-limits failed to build, exiting.
+ exit 1
make: *** [../bits/std_limits.h] Error 1
So there is a compatibility probem with the compiler/libs I'm using. Any
thoughts?
> -Benjamin
>
thanks,
--
Mike Howard <mike@clove.com>