pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Darwin and ABI=64



Can you verify if ABI=64 is set in /usr/pkg/etc/mk.conf? IIRC it should be, but 
better to be sure…

/Matthias  


On Monday, 23. April 2012 at 21:30, Benny Siegert wrote:

> Hi all,
>  
> I am trying to use pkgsrc on Darwin (Mac OS 10.7.3) with 64-bit
> binaries. I did a clean bootstrap first:
>  
> ===> bootstrap command: ./bootstrap --abi 64 --prefix /usr/pkg
> --pkgdbdir /usr/pkg/db -j 4
>  
> However, installing any package (for instance, digest) fails:
>  
> ===> Install binary package of digest-20111104
> pkg_add: Warning: package `digest-20111104' was built for a platform:
> pkg_add: Darwin/i386 11.3.0 (pkg) vs. Darwin/x86_64 11.3.0 (this host)
> pkg_add: 1 package addition failed
>  
> The built binary is indeed 32-bit. The compiler (llvm-gcc-4.2.1)
> builds 64-bit binaries by default but the wrapper scripts explicitly
> select 32-bit:
>  
> [lem:pkgsrc/pkgtools/digest] bsiegert% fgrep -i ABI work/.wrapper/bin/gcc
> wrapper_abi="32" # see ABI in mk/defaults/mk.conf
>  
> Can anybody tell me why this happens?
>  
> --Benny.  



Home | Main Index | Thread Index | Old Index