Geneva 0.9.10 compile failure under Cygwin

Bug #1085145 reported by Ruediger Berlich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geneva Optimization
Fix Released
Medium
Ruediger Berlich

Bug Description

Geneva 0.9.10 fails to compile with Cygwin:

$ cmake -version
cmake version 2.8.9

$ gcc -v
Benutze eingebaute Spezifikationen.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.5.3/lto-wrapper.exe
Target: i686-pc-cygwin
Konfiguriert mit:
/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3/configure
--srcdir=/gnu/gcc/releases/respins/4.5.3-3/gcc4-4.5.3-3/src/gcc-4.5.3
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var
--sysconfdir=/etc --datarootdir=/usr/share --docdir=/usr/share/doc/gcc4
-C --datadir=/usr/share --infodir=/usr/share/info
--mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr
--enable-bootstrap --enable-version-specific-runtime-libs
--libexecdir=/usr/lib --enable-static --enable-shared
--enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld
--with-gnu-as --with-dwarf2 --disable-sjlj-exceptions
--enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++
--enable-graphite --enable-lto --enable-java-awt=gtk --disable-symvers
--enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp
--enable-libada --enable-threads=posix --with-arch=i686
--with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4
CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake
GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
Thread-Modell: posix
gcc version 4.5.3 (GCC)

/geneva/build
$ make
[ 1%] Building CXX object
src/common/CMakeFiles/gemfony-common.dir/GMathHelperFunctions.cpp.o
c++: unrecognized option '-pthread'
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GMax(const long double&, const
long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:66:20:
Fehler: 'fmaxl' was not declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GMin(const long double&, const
long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:90:20:
Fehler: 'fminl' was not declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GFloor(const long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:123:17:
Fehler: 'floorl' was n ot declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GFabs(const long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:156:16:
Fehler: 'fabsl' was no t declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GSqrt(const long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:211:16:
Fehler: 'sqrtl' was no t declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GSin(const long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:244:15:
Fehler: 'sinl' was not declared in this scope
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:
In function 'long double Gem: :Common::GCos(const long double&)':
/cygdrive/e/Mathcode/geneva/geneva-v0.9.10/src/common/GMathHelperFunctions.cpp:277:15:
Fehler: 'cosl' was not declared in this scope
src/common/CMakeFiles/gemfony-common.dir/build.make:149: recipe for
target `src/common/CMakeFiles/gemfony-com
mon.dir/GMathHelperFunctions.cpp.o' failed
make[2]: ***
[src/common/CMakeFiles/gemfony-common.dir/GMathHelperFunctions.cpp.o]
Error 1
CMakeFiles/Makefile2:244: recipe for target
`src/common/CMakeFiles/gemfony-common.dir/all' failed
make[1]: *** [src/common/CMakeFiles/gemfony-common.dir/all] Error 2
Makefile:136: recipe for target `all' failed
make: *** [all] Error 2

Changed in geneva:
importance: Undecided → Medium
assignee: nobody → Ruediger Berlich (rberlich)
milestone: none → 1.0.0
ariel (garcia)
summary: - Geneva and Cygwin fails with Geneva 0.99.1
+ Geneva and Cygwin fails with Geneva 0.9.10
description: updated
ariel (garcia)
summary: - Geneva and Cygwin fails with Geneva 0.9.10
+ Geneva 0.9.10 compile failure under Cygwin
Revision history for this message
ariel (garcia) wrote :

The long double versions of the math funtions are not being used in Geneva anymore, and were removed from common/GMathHelperFunctions.cpp, so this issue should not appear anymore.

Changed in geneva:
status: New → Fix Committed
ariel (garcia)
Changed in geneva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.