This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: For testing: full __float128 patch


On Sat, Aug 28, 2010 at 05:56:57PM -0700, Steve Kargl wrote:
> On Sat, Aug 28, 2010 at 05:47:28PM -0700, Steve Kargl wrote:
> > On Sun, Aug 29, 2010 at 01:24:47AM +0200, FX wrote:
> > > Before I submit it officially for review, I want this patch to get some exposure while I clean up a few remaining dusty corners. To test the patch on x86_64-linux, proceed as follows:
> > > 
> > >   -- Get libquad from http://quatramaran.ens.fr/~coudert/tmp/libquad.tar.bz2 , then ./configure --prefix=/foo && make && make install 
> > >   -- Build GCC with the extra configure argument: --with-quad=/foo (to be given to the toplevel configure command, like --with-gmp, nothing fancy)
> > > 
> > > Things to test in particular:
> > > 
> > >   -- I've tested this on linux and Mac OS; although it's pretty much OS-insensitive, does it work on things like FreeBSD and Windows?
> > >   -- check carefully I/O support; in particular, the "output formatting" (i.e. writing out the values) involves a wrapper of my own around the gdtoa code, which was a bit painful to write, so bugs might have crawled in there
> > > 
> > > 
> > 
> > On i386-*-freebsd,
> > 
> > ./configure --prefix=$HOME/work
> > gmake
> > ...
> > 
> >  -O2 -MT libgfortran_io.lo -MD -MP -MF .deps/libgfortran_io.Tpo -c -o libgfortran_io.lo libgfortran_io.c
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT libgfortran_io.lo -MD -MP -MF .deps/libgfortran_io.Tpo -c libgfortran_io.c  -fPIC -DPIC -o .libs/libgfortran_io.o
> > In file included from libgfortran_io.c:1:
> > quad.h:8: error: unable to emulate 'TC'
> 
> gcc, here, is the FreeBSD system compiler.
> gcc (GCC) 4.2.1 20070719  [FreeBSD]
> 
> If I set my path to include ~/work/bin (where the 4.6.0 gcc lives)
> as the first directory to search, libquad builds fine.  So, what
> is the minimum required gcc version needs to build libquad?
> 
laptop:kargl[246] setenv | grep LD
LD_LIBRARY_PATH=/usr/home/kargl/work/lib
LD_RUN_PATH=/usr/home/kargl/work/lib

laptop:kargl[246] gmake check-gfortran
...
100s of FAILs
^C

>From testsuite/gfortran/gfortran.log

FAIL: gfortran.dg/PR19754_2.f90  -O0  (test for excess errors)
Excess errors:
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `scalbnq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__getf2'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__eqtf2'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__addtf3'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `ldexpq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `acosq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `cabsq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `csqrtq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__floatsitf'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__trunctfxf2'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `clogq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `atan2q'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `lroundq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `expq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `sinq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `libgfortran_dto q'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__divtf3'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `frexpq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `__letf2'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `sqrtq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `cosq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `nanq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `roundq'
/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd9.0/./libgfortran/.libs/libgfortran.so: undefined reference to `libgfortran_str

-- 
Steve


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