This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problems using libstdc++ on LinuxPPC 2000



yeah it's toast right now. I'm working on a fix.



On Wed, 14 Jun 2000, Paul Marquis wrote:

> When I try bootstrapping CVS gcc on LinuxPPC 2000 (as of 6/13/2000,
> 8:00 PM, EDT), I get the following error:
> 
> /home/pmarquis/build/gcc-cvs-build/gcc/g++
> -B/home/pmarquis/build/gcc-cvs-build/gcc/
> -B/usr/local/cvs/powerpc-unknown-linux-gnu/bin/ -DHAVE_CONFIG_H -I.
> -I../../../../../gcc-cvs/libstdc++-v3/src -I.. -nostdinc++
> -I../../../../../gcc-cvs/libstdc++-v3
> -I../../../../../gcc-cvs/libstdc++-v3/libio
> -I../../../../../gcc-cvs/libstdc++-v3/config/cpu/powerpc
> -I../../../../../gcc-cvs/libstdc++-v3/config/gnu-linux
> -I/usr/local/cvs/include -g -O2 -fvtable-thunks -D_GNU_SOURCE
> -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
> -Werror -fdiagnostics-show-location=once -mcpu=powerpc -g -c  -fPIC
> -DPIC ../../../../../gcc-cvs/libstdc++-v3/src/cmath.cc -o
> .libs/cmath.lo
> In file included from
> ../../../../../gcc-cvs/libstdc++-v3/src/cmath.cc:35:
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::acos (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:516: implicit
> declaration of function `int
> std::acosl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::asin (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:524: implicit
> declaration of function `int
> std::asinl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::atan (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:532: implicit
> declaration of function `int
> std::atanl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::atan2 (long double,
> long double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:540: implicit
> declaration of function `int
> std::atan2l (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::ceil (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:548: implicit
> declaration of function `int
> std::ceill (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::cosh (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:564: implicit
> declaration of function `int
> std::coshl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::exp (long double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:572: implicit
> declaration of function `int
> std::expl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::floor (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:588: implicit
> declaration of function `int
> std::floorl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::frexp (long double,
> int *)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:604: implicit
> declaration of function `int
> std::frexpl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::ldexp (long double,
> int)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:612: implicit
> declaration of function `int
> std::ldexpl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::log (long double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:620: implicit
> declaration of function `int
> std::logl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::log10 (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:628: implicit
> declaration of function `int
> std::log10l (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::modf (long double,
> long double *)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:636: implicit
> declaration of function `int
> std::modfl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::pow (long double,
> long double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:644: implicit
> declaration of function `int
> std::powl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::sinh (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:662: implicit
> declaration of function `int
> std::sinhl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::tan (long double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:678: implicit
> declaration of function `int
> std::tanl (...)'
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h: In function
> `long double std::tanh (long
> double)':
> ../../../../../gcc-cvs/libstdc++-v3/bits/std_cmath.h:686: implicit
> declaration of function `int
> std::tanhl (...)'
> 
> Any clues?
> 
> BTW, I could never get gcc-2.95.2 bootstrapped with libstdc++-2.90.8,
> but I did manage to get it to work by jumping through the following
> hoops:
> 
> - build and install stock gcc-2.95.2
> - rename libio and libstdc++ and install libstdc++-2.90.8 into the gcc
> source tree
> - configure and install libstdc++ only into a separate area
> (/usr/local/lib3)
> - add include and lib flags when compiling files that need libstdc++
> 
> This is similar to the instructions to pre 2.90.8.
> 
> Benjamin Kosnik wrote:
> > I've just bootstrapped CVS gcc on linuxPPC 2000. It seems fine. You
> > might want to see if your setup fails with shared linking, static
> > linking (-static) or both. You might also want to use CVS gcc.
> > 
> > -benjamin
> 
> -- 
> Paul Marquis
> marquis@clearway.com
> 
> "The brain is a wonderful organ. It starts working the moment you
> get up in the morning and does not stop until you get into the
> office." -- Robert Frost
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]