-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-21 20:07, cyrille henry wrote:
hello,
i now have an error compiling the svn (rev 4078)
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/usr/include/FTGL -I/usr/include/freetype2 -g -O2 -fPIC -freg-struct-return -O3 -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -MT libBase_la-GemPixUtil.lo -MD -MP -MF .deps/libBase_la-GemPixUtil.Tpo -c GemPixUtil.cpp -fPIC -DPIC -o .libs/libBase_la-GemPixUtil.o GemPixUtil.cpp: In member function ‘virtual void imageStruct::fromRGBA(const unsigned char*)’:
ok, i understand the reason for the problem (me suddenly starting to flag constant parameters as "const", which makes some problems with legacy code that did not do so)
i had fixed all issues visible in my compilation, but it turns out i had compiled without sse2 support (and without Altivec support as well), and there were some functions hidden in the optimized routines that slipped my attention.
the problems should be fixed now (rev.4080)
what i don't understand is, why your system builds SSE2 code at all. you probably want that anyhow, so you don't care so much; but there is no indication in your compiler-flags telling it to enable sse (should be "-msse2" somewhere) which compiler are you using? here it says $ g++ --version g++ (Debian 4.6.0-10) 4.6.1 20110526 (prerelease)
mfgasdr IOhannes