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 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'
quad.h:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acosq'
quad.h:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'acoshq'
quad.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'asinq'
quad.h:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'asinhq'
quad.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atanq'
quad.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atanhq'
quad.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atan2q'
quad.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cbrtq'
quad.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ceilq'
quad.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'copysignq'
quad.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'coshq'
quad.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cosq'
quad.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'erfq'
quad.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'erfcq'
quad.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'expq'
quad.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'expm1q'
quad.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fabsq'
quad.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'floorq'
quad.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fmodq'
quad.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'frexpq'
quad.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hypotq'
quad.h:34: warning: parameter names (without types) in function declaration
quad.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'j0q'
quad.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'j1q'
quad.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'jnq'
quad.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ldexpq'
quad.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lgammaq'
quad.h:41: warning: parameter names (without types) in function declaration
quad.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'logq'
quad.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'log10q'
quad.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'log1pq'
quad.h:45: warning: parameter names (without types) in function declaration
quad.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'modfq'
quad.h:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nanq'
quad.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nextafterq'
quad.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'powq'
quad.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'remainderq'
quad.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rintq'
quad.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'roundq'
quad.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scalblnq'
quad.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scalbnq'
quad.h:56: error: expected ')' before '*' token
quad.h:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sinhq'
quad.h:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sinq'
quad.h:59: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sqrtq'
quad.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tanq'
quad.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tanhq'
quad.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tgammaq'
quad.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'truncq'
quad.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'y0q'
quad.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'y1q'
quad.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ynq'
quad.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cargq'
quad.h:75: warning: parameter names (without types) in function declaration
quad.h:88: error: expected declaration specifiers or '...' before '__float128'
libgfortran_io.c:10: error: expected ';', ',' or ')' before 'x'
libgfortran_io.c:86: error: expected declaration specifiers or '...' before '__float128'
libgfortran_io.c: In function 'libgfortran_dtoaq':
libgfortran_io.c:90: error: 'x' undeclared (first use in this function)
libgfortran_io.c:90: error: (Each undeclared identifier is reported only once
libgfortran_io.c:90: error: for each function it appears in.)
gmake[2]: *** [libgfortran_io.lo] Error 1
gmake[2]: Leaving directory `/usr/home/kargl/gcc/libquad/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/kargl/gcc/libquad'
gmake: *** [all] Error 2

-- 
Steve


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