rak/allocators_test.cc: In function ‘bool is_aligned(const T&) [with T = std::vector<char, rak::cacheline_allocator<char> >]’: rak/allocators_test.cc:20:3: instantiated from here rak/allocators_test.cc:9:84: error: cast from ‘const char*’ to ‘int’ loses precision make[2]: *** [LibTorrentTest-allocators_test.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/libtorrent-0.12.7/work/libtorrent-0.12.7/test' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/libtorrent-0.12.7/work/libtorrent-0.12.7/test' make: *** [check-recursive] Error 1 on amd64: sizeof(const char*)=8 sizeof(int)=4 Reproducible: Always
Created attachment 269611 [details] build.log
Created attachment 269613 [details, diff] libtorrent-0.12.7-test.patch
Please post your `emerge --info' output too.
Portage 2.2.0_alpha29 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.38.2-custom x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38.2-custom-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.2 Timestamp of tree: Tue, 12 Apr 2011 20:15:01 +0000 ccache version 3.1.4 [disabled] app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.2 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.4 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2, 4.6.0 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo bicatali desktop-effects dustin gentoo-china gnome mozilla geki-overlay sunrise toolchain vmware x11 custom Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=core2 -msse4.1 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=core2 -mtune=core2 -msse4.1 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS=" http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.llarian.net http://trumpetti.atm.tut.fi/gentoo http://mirrors.linuxant.fr/distfiles.gentoo.org http://mirror.opteamax.de/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp.heanet.ie/pub/gentoo http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo http://ftp.rnl.ist.utl.pt/pub/gentoo/gentoo-distfiles http://rush.tisys.org/pub/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US zh zh_CN" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_BUNZIP2_COMMAND="bunzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-ef9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bicatali /var/lib/layman/desktop-effects /var/lib/layman/dustin /var/lib/layman/gentoo-china /var/lib/layman/gnome /var/lib/layman/mozilla /var/lib/layman/openoffice-geki /var/lib/layman/sunrise /var/lib/layman/toolchain /var/lib/layman/vmware /var/lib/layman/x11 /usr/local/portage" SYNC="rsync://trumpetti.atm.tut.fi/gentoo-portage" USE="X acl alsa amd64 bash-completion berkdb bzip2 cairo cli cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk gtk3 iconv ipv6 jpeg jpeg2k mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd pulseaudio python readline session sse sse2 ssl svg sysfs tcpd tiff unicode vim-syntax xinetd xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL ================================================================= Package Settings ================================================================= net-libs/libtorrent-0.12.7 was built with the following: USE="ipv6 (multilib) ssl -debug"
Committed, thanks for the report and patch