From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1133 invoked by alias); 29 Aug 2010 01:48:17 -0000 Received: (qmail 1117 invoked by uid 22791); 29 Aug 2010 01:48:16 -0000 X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,TW_GD,TW_IB,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.208.78.105) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 29 Aug 2010 01:48:10 +0000 Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id o7T1m8wc034738; Sat, 28 Aug 2010 18:48:08 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id o7T1m8On034737; Sat, 28 Aug 2010 18:48:08 -0700 (PDT) (envelope-from sgk) Date: Sun, 29 Aug 2010 11:43:00 -0000 From: Steve Kargl To: FX Cc: Fortran List , gcc@gcc.gnu.org Subject: Re: For testing: full __float128 patch Message-ID: <20100829014808.GA34729@troutmask.apl.washington.edu> References: <371798FD-2297-422F-9301-39344E88E4AE@gmail.com> <20100829004728.GA34484@troutmask.apl.washington.edu> <20100829005657.GB34484@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100829005657.GB34484@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00434.txt.bz2 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