[racket-dev] [plt] Push #26475: master branch updated

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Mar 18 14:30:00 EDT 2013

Thanks - I've pushed a repair.

At Mon, 18 Mar 2013 14:12:04 -0400, Vincent St-Amour wrote:
> This breaks on Linux 32-bit.
> 
> Here's the error I get:
> 
> 
> make[7]: Entering directory `/home/stamourv/tmp/tmp-plt/plt/src/build/foreign'
> gcc -g -O2  -Wall      -pthread    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I./../racket -I../../foreign/../racket/include -I../../foreign/../racket/src  
> -c ../../foreign/foreign.c -o foreign.o
> ../../foreign/foreign.c:803: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
> ‘__attribute__’ before ‘unsupported_long_double_val’
> ../../foreign/foreign.c:971: error: expected specifier-qualifier-list before 
> ‘mz_long_double’
> ../../foreign/foreign.c: In function ‘ctype_sizeof’:
> ../../foreign/foreign.c:1119: error: ‘mz_long_double’ undeclared (first use in 
> this function)
> ../../foreign/foreign.c:1119: error: (Each undeclared identifier is reported 
> only once
> ../../foreign/foreign.c:1119: error: for each function it appears in.)
> ../../foreign/foreign.c: In function ‘SCHEME2C’:
> ../../foreign/foreign.c:1962: error: ‘mz_long_double’ undeclared (first use in 
> this function)
> ../../foreign/foreign.c:1962: error: expected ‘;’ before ‘tmp’
> ../../foreign/foreign.c:1963: error: ‘tmp’ undeclared (first use in this 
> function)
> ../../foreign/foreign.c:1963: warning: implicit declaration of function 
> ‘unsupported_long_double_val’
> ../../foreign/foreign.c:1964: error: expected expression before ‘)’ token
> ../../foreign/foreign.c: In function ‘foreign_compiler_sizeof’:
> ../../foreign/foreign.c:2340: error: ‘mz_long_double’ undeclared (first use in 
> this function)
> ../../foreign/foreign.c:2340: error: expected expression before ‘)’ token
> ../../foreign/foreign.c: In function ‘finish_ffi_call’:
> ../../foreign/foreign.c:3109: error: ‘ForeignAny’ has no member named 
> ‘x_pointer’
> ../../foreign/foreign.c:3118: error: ‘ForeignAny’ has no member named 
> ‘x_pointer’
> ../../foreign/foreign.c:3118: error: ‘ForeignAny’ has no member named 
> ‘x_pointer’
> make[7]: *** [foreign.o] Error 1
> 
> 
> Vincent
> 
> 
> At Mon, 18 Mar 2013 10:52:14 -0400,
> mflatt at racket-lang.org wrote:
> > 
> > mflatt has updated `master' from ccc8b85cef to 35a093469c.
> >   http://git.racket-lang.org/plt/ccc8b85cef..35a093469c
> > 
> > =====[ One Commit ]=====================================================
> > Directory summary:
> >    4.7% src/foreign/
> >   39.2% src/racket/src/longdouble/
> >   53.9% src/racket/src/
> > 
> > ~~~~~~~~~~
> > 
> > 35a0934 Michael Filonenko <filonenko.mikhail at gmail.com> 2013-03-04 19:15:15 
> +0400
> > :
> > | windows: extflonum support
> > |
> > | Enable extflonums in a MSVC build by relying on a MinGW-built DLL,
> > | "longdouble.dll". The DLL is loaded on startup. If the DLL isn't
> > | available, then `extflonum-available?' reports #f.
> > |
> > | Instead of setting the floating-point mode globally to extended
> > | precision, the mode is changed only just before (and restored right
> > | after) extflonum arithmetic operations.



Posted on the dev mailing list.