Can't build db48

Daniel Morante daniel at morante.net
Sat Mar 1 02:04:25 UTC 2014


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.o
In 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 to
the maintainer.
*** [do-build] Error code 1




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3742 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140228/3a1f9a86/attachment.bin>


More information about the freebsd-ports mailing list