Date: Mon, 03 Mar 2014 20:22:39 -0500 From: Daniel Morante <daniel@morante.net> To: freebsd-ports@freebsd.org Subject: Re: Can't build db48 Message-ID: <53152ADF.4070306@morante.net> In-Reply-To: <53113C92.8050809@morante.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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.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 > > > > [-- Attachment #2 --] 0 *H 010 + 0 *H G00mOj3""2zq0 *H 010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0 110428000000Z 200530104838Z010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0 *H 0 [KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq 7 PSlY1 LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5 K0G0U#0g}ĝ&p KPH|=n}0UzN t[xcd'/[y{0U0U0 0U 00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0 *H ־xWUm3DRB JAIZҭsn>&|L0(B<%> u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C 3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun0%0 \Ô")Ê5|0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0 130306000000Z 140306235959Z0#1!0 *H daniel@morante.net0"0 *H 0 PtTURA\pz0|(ELU`(m%u$E]$˄ʏknPmvaw{?KU#>xqNR6SqԳ{&W20 :Mz/C0.bEy"1d1hҽ?,w&E XRmV6%i ʖMYh4Ǔ۩K'ϑD<ͳ3@q*-v 00U#0zN t[xcd'/[y{0UK'E&R.oZ0U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0daniel@morante.net0 *H W<O+ LZl0{=K1`Pl($8ɕ%rg- Ղq*WBQ֣k#4E*PizӃ0.n(Uf1y*~ߜSBpٹ6wX5pBs톚Sh7RYfۊXoEąV*|7ڰvbڒ"b5)g2^M u__]_හ"A100010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA\Ô")Ê5|0 + E0 *H 1 *H 0 *H 1 140304012239Z0# *H 1 >ZMt;C'00l *H 1_0]0 `He*0 `He0 *H 0*H 0 *H @0+0 *H (0 +710010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA\Ô")Ê5|0*H 1010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA\Ô")Ê5|0 *H WTJ*g]Qfk1 "65/11p֕м Z&$ >ǵÌ7sDy"/d\?"dU]4iS %y^']ZTjĭ4Ļ"'8NR4g,*m@Z!>؝ڟhtݿ/_tӵR)"<n|X u >.: /wuA0 d_&PɉIWaJ+/8fW|bMhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53152ADF.4070306>
