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]

spoke too soon. :)


Ok, on linux the cvs code configures, makes, and installs now. So of
course I wanted to update my Solaris 2.7 box
with this rev. of the library as well. As before I put it in the gcc
tree, made a build dir that's not the src dir and
ran configure. Configure did not fail, but when I tried to "make" it
compiled a bunch of files happily until:


/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/libstdc++/math
-I.. -c  -fPIC -DPIC ../../gcc-2.95.2/libstdc++/math/copysignf.c -o
.libs/copysignf.lo
/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/libstdc++/math
-I.. -c ../../gcc-2.95.2/libstdc++/math/copysignf.c -o copysignf.o
>/dev/null 2>&1
mv -f .libs/copysignf.lo copysignf.lo
/bin/sh ../libtool --mode=link /usr/local/bin/gcc    -o libmath.la  
signbit.lo signbitf.lo cabs.lo cabsf.lo ccos.lo ccosf.lo ccosh.lo
ccoshf.lo cexp.lo cexpf.lo c_log.lo c_logf.lo clog10.lo clog10f.lo
cpow.lo cpowf.lo csin.lo csinf.lo csinh.lo csinhf.lo csqrt.lo csqrtf.lo
ctan.lo ctanf.lo ctanh.lo ctanhf.lo carg.lo cargf.lo nan.lo hypotf.lo
atan2f.lo expf.lo copysignf.lo   
rm -fr .libs/libmath.la .libs/libmath.* .libs/libmath.*
ar cru .libs/libmath.al signbit.lo signbitf.lo cabs.lo cabsf.lo ccos.lo
ccosf.lo ccosh.lo ccoshf.lo cexp.lo cexpf.lo c_log.lo c_logf.lo
clog10.lo clog10f.lo cpow.lo cpowf.lo csin.lo csinf.lo csinh.lo
csinhf.lo csqrt.lo csqrtf.lo ctan.lo ctanf.lo ctanh.lo ctanhf.lo carg.lo
cargf.lo nan.lo hypotf.lo atan2f.lo expf.lo copysignf.lo
ranlib .libs/libmath.al
creating libmath.la
(cd .libs && rm -f libmath.la && ln -s ../libmath.la libmath.la)
make[2]: Leaving directory `/home/aweiss/builddir/math'
Making all in libio
make[2]: Entering directory `/home/aweiss/builddir/libio'
rootme=`pwd`/ ; export rootme; \
CC="/usr/local/bin/gcc "; export CC; \
CXX="c++   "; export CXX; \
CONFIG_NM=""; export CONFIG_NM; \
/bin/sh ../../gcc-2.95.2/libstdc++/libio/gen-params LIB_VERSION=2.90.8 
>tmp-params.h
../../gcc-2.95.2/libstdc++/libio/gen-params: dummy.o: execute permission
denied
../../gcc-2.95.2/libstdc++/libio/gen-params: dummy.o: execute permission
denied
 failed to find FUNC in dummy.o!
../../gcc-2.95.2/libstdc++/libio/gen-params: -1: bad number
make[2]: *** [_G_config.h] Error 1
make[2]: Leaving directory `/home/aweiss/builddir/libio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aweiss/builddir'
make: *** [all-recursive-am] Error 2

I don't think this is my fault but I've been wrong before. 
Also just for fun I went and chmod'ed dummy.o to +x and that time make
told me:

/bin/sh ../../gcc-2.95.2/libstdc++/libio/gen-params LIB_VERSION=2.90.8 
>tmp-params.h
dummy.o: syntax error at line 1: `^?ELF^A^B^A^A^B^A^D^T4' unexpected
dummy.o: syntax error at line 1: `^?ELF^A^B^A^A^B^A^D^T4' unexpected
 failed to find FUNC in dummy.o!
../../gcc-2.95.2/libstdc++/libio/gen-params: -1: bad number

As before, the latest snapshot is installed and running fine on the
machine. To make that one work I just had to add the Solaris 2.7 int *
cast that was 
needed for a time.... 

sorry to bother you,
aaron

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