akovalenko/sbcl-win32-threads — Issue #11: Build failure
Author: markokocic
Created: 2011-10-31 14:54:51+00:00
State: open

While trying to build the latest version on mingw I got the following error:

win32-os.c: In function 'os_init':
win32-os.c:1435:5: warning: implicit declaration of function '_controlfp' [-Wimplicit-function-declaration]
win32-os.c:1435:17: error: '_EM_INVALID' undeclared (first use in this function)
win32-os.c:1435:17: note: each undeclared identifier is reported only once for each function it appears in
win32-os.c:1435:29: error: '_MCW_EM' undeclared (first use in this function)
win32-os.c: In function 'os_map':
win32-os.c:2014:1: warning: label 'use_read' defined but not used [-Wunused-label]
make: *** [win32-os.o] Error 1
make: Leaving directory `/c/development/cvstree/sbcl/src/runtime'
markko@strah /c/development/cvstree/sbcl
$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/4.6.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.6.1/configure --enable-languages=c,c++,fortran,objc,obj-c++ --disable-sjlj-exceptions --with-d
warf2 --enable-shared --enable-libgomp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-runti
me-libs --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.6.1 (GCC)