I was able to have it build by changing the line to: return (intptr_t)tsl;
On 2/28/2014 8:49 PM, Daniel Morante wrote:
I am unable to build databases/db48 and db6 on FreeBSD 9.2 powerpc64. I've tried with the default gcc, gcc4.8 and gcc 4.9. They all result in the same problem:./libtool --mode=compile g++49 -c -I. -I./../dist/.. -D_THREAD_SAFE -O2 -pipe -O3 -maltivec -mcpu=G5 -fno-strict-aliasing ./../dist/../cxx/cxx_dbc.cpp libtool: compile: g++49 -c -I. -I./../dist/.. -D_THREAD_SAFE -O2 -pipe -O3 -maltivec -mcpu=G5 -fno-strict-aliasing ./../dist/../cxx/cxx_dbc.cpp -fPIC -DPIC -o .libs/cxx_dbc.oIn file included from ./../dist/../dbinc/mutex.h:15:0, from ./db_int.h:884, from ./../dist/../cxx/cxx_dbc.cpp:11: ./../dist/../dbinc/mutex_int.h: In function 'int MUTEX_SET(int*)':./../dist/../dbinc/mutex_int.h:599:15: error: cast from 'int*' to 'int' loses precision [-fpermissive]return (int)tsl; ^ *** [cxx_db.lo] Error code 1 *** [cxx_dbc.lo] Error code 1 2 errors ===> Compilation failed unexpectedly.Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure tothe maintainer. *** [do-build] Error code 1
smime.p7s
Description: S/MIME Cryptographic Signature