Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578926 - dev-libs/boost-1.60.0 - internal compiler error: Segmentation fault
Summary: dev-libs/boost-1.60.0 - internal compiler error: Segmentation fault
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 579004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-03 13:48 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-04-18 03:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (boost-1.60.0-build.log,174.63 KB, text/plain)
2016-04-03 13:48 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-04-03 13:48:37 UTC
Created attachment 429568 [details]
build.log

I am trying to upgrade dev-libs/boost from dev-libs/boost-1.58.0-r1 to dev-libs/boost-1.60.0 but it is repeatedly failing with:

> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/ellint_3f.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/ellint_3f.o" "libs/math/build/../src/tr1/ellint_3f.cpp"
> 
> libs/math/build/../src/tr1/ellint_3f.cpp: In destructor ‘boost::basic_format<char>::~basic_format()’:
> libs/math/build/../src/tr1/ellint_3f.cpp:17:1: internal compiler error: Segmentation fault
>  }
>  ^
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://bugs.gentoo.org/> for instructions.
> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/laguerref.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/laguerref.o" "libs/math/build/../src/tr1/laguerref.cpp"
> 
> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/ellint_2f.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/ellint_2f.o" "libs/math/build/../src/tr1/ellint_2f.cpp"
> 
> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/cyl_neumannf.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/cyl_neumannf.o" "libs/math/build/../src/tr1/cyl_neumannf.cpp"
> 
> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/legendref.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/legendref.o" "libs/math/build/../src/tr1/legendref.cpp"
> 
> gcc.compile.c++ bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/expintf.o
> 
>     "x86_64-pc-linux-gnu-g++"  -ftemplate-depth-128 -O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -m64 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG  -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-5.3/gentoorelease/boost.locale.icu-off/pch-off/threading-multi/expintf.o" "libs/math/build/../src/tr1/expintf.cpp"
> 
> ...failed updating 1 target...
>  [31;01m*[0m ERROR: dev-libs/boost-1.60.0::gentoo failed (compile phase):
>  [31;01m*[0m   Building of Boost libraries failed

However when using "MAKEOPTS=-j1" it works for me. So possible a parallel build issue (normally using MAKEOPTS=-j5").
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2016-04-03 13:53:27 UTC
# emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r3, 4.5.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:     4017492 total,   3294348 free
KiB Swap:    1048572 total,   1038432 free
Timestamp of repository gentoo: Sun, 03 Apr 2016 11:43:30 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r2::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.5.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r3::gentoo

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 multilib"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CURL_SSL="gnutls"
CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--quiet-build=n --verbose --buildpkg-exclude 'virtual/* net-firewall/xtables-addons'"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS=""
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HG="/usr/bin/hg"
HISTFILESIZE="10000"
HISTSIZE="10000"
HISTTIMEFORMAT="[[36m%F %T[m]: "
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/5.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.25.1/info"
INPUT_DEVICES="keyboard mouse evdev"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.UTF-8"
LC_MESSAGES="C"
LC_NUMERIC="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSCOLOR="yes"
LESSCOLORIZER="pygmentize"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_arm="lib"
LIBDIR_arm64="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 6"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec)"
NOCOLOR="true"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_4 python3_5"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/5.3.0"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
SYMLINK_LIB="yes"
TERM="screen"
TMUX="/tmp/tmux-0/default,4216,0"
TMUX_PANE="%1"
TNS_ADMIN="/etc/oracle/"
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gnutls iconv idn ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 sse3 sse4 ssl tcpd threads udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory swap syslog cgroups cpu disk dns ethstat network nginx ntpd ping uptime filecount iptables ipmi conntrack tail processes entropy match_empty_counter match_hashed match_regex match_timediff match_value notify_email threshold memcached lvm curl curl_json curl_xml mysql contextswitch exec fhcount ipc write_kafka amqp apache ascent bind ceph curl curl_json curl_xml dbi disk dns gmond ipmi log_logstash lvm memcachec modbus mysql netlink nginx nut openldap onewire oracle perl ping postgresql python redis routeros rrdcached rrdtool sensors sigrok smart snmap tokyotyrant varnish write_http write_kafka write_redis write_riemann" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi gzip limit_conn limit_req map referer rewrite spdy proxy gzip_static lua" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="geoip"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips nios2 ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd riscv s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-cygwin x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
Comment 2 SpanKY gentoo-dev 2016-04-04 15:32:21 UTC
the fact that it works when the system is less loaded indicates it's a problem with your system and not the compiler.  try w/CFLAGS='-O2' and see if it builds in parallel.
Comment 3 SpanKY gentoo-dev 2016-04-04 15:32:31 UTC
*** Bug 579004 has been marked as a duplicate of this bug. ***
Comment 4 Daniel Savard 2016-04-17 03:37:25 UTC
I got the same error while trying to build boost-1.58.0-r1 for ARM6V.


Here is a snippet of the relevant portion of the output:

gcc.compile.c++ bin.v2/libs/python/build/gcc-4.9/gentoorelease/pch-off/threading-multi/object_protocol.o

    "armv6j-hardfloat-linux-gnueabi-g++"  -ftemplate-depth-128 -O2 -pipe -march=armv6zk -mfpu=vfp -mfloat-abi=hard -std=gnu++98 -finline-functions -Wno-inline -Wall -pthread -fPIC -fno-strict-aliasing -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG  -I"." -I"/usr/include/python2.7" -c -o "bin.v2/libs/python/build/gcc-4.9/gentoorelease/pch-off/threading-multi/object_protocol.o" "libs/python/src/object_protocol.cpp"

armv6j-hardfloat-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
distcc[3024] ERROR: compile libs/python/src/object_protocol.cpp on feynman.cids.ca,lzo,cpp failed with exit code 4
distcc[3024] (dcc_build_somewhere) Warning: remote compilation of 'libs/python/src/object_protocol.cpp' failed, retrying locally
distcc[3024] Warning: failed to distribute libs/python/src/object_protocol.cpp to feynman.cids.ca,lzo,cpp, running locally instead
In file included from ./boost/python/refcount.hpp:9:0,
                 from ./boost/python/to_python_indirect.hpp:19,
                 from ./boost/python/converter/arg_to_python.hpp:10,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object_protocol.hpp:11,
                 from libs/python/src/object_protocol.cpp:6:
./boost/python/cast.hpp: In function ‘void boost::python::detail::assert_castable(boost::type<T>*)’:
./boost/python/cast.hpp:73:20: warning: typedef ‘must_be_a_complete_type’ locally defined but not used [-Wunused-local-typedefs]
       typedef char must_be_a_complete_type[sizeof(T)];
                    ^
In file included from ./boost/python/detail/invoke.hpp:21:0,
                 from ./boost/python/detail/caller.hpp:16,
                 from ./boost/python/object/function_handle.hpp:8,
                 from ./boost/python/converter/arg_to_python.hpp:19,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object_protocol.hpp:11,
                 from libs/python/src/object_protocol.cpp:6:
./boost/python/to_python_value.hpp: In member function ‘PyObject* boost::python::detail::registry_to_python_value<T>::operator()(boost::python::detail::registry_to_python_value<T>::argument_type) const’:
./boost/python/to_python_value.hpp:150:52: warning: typedef ‘r’ locally defined but not used [-Wunused-local-typedefs]
       typedef converter::registered<argument_type> r;
                                                    ^
distcc[3024] (dcc_please_send_email_after_investigation) Warning: remote compilation of 'libs/python/src/object_protocol.cpp' failed, retried locally and got a different result.
...failed updating 2 targets...


Here is the emerge --info output:

emerge --info dev-libs/boost
Portage 2.2.26 (python 2.7.10-final-0, default/linux/arm/13.0/armv6j, gcc-4.9.3, glibc-2.22-r4, 3.12.26 armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.26-armv6l-with-gentoo-2.2
KiB Mem:      382868 total,    244768 free
KiB Swap:     786424 total,    743540 free
Timestamp of repository gentoo: Fri, 15 Apr 2016 18:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 armv6j-hardfloat-linux-gnueabi [enabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://feynman.cids.ca/gentoo-portage
    priority: -1000

My-Raspberry-Pi-portage-overlay
    location: /usr/local/portage/my
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv6zk -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv6zk -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/var/tmp/distfiles"
FCFLAGS="-O2 -pipe -march=armv6j"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv6j"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.arcticnetwork.ca/ http://mirror.the-best-hosting.net http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.llarian.net/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="fr_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l0"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="a52 acl acpi aim alsa arm avahi berkdb bind bluetooth bzip2 calendar caps cli cracklib crypt cups curl cxx dbus dirac dlz dns dri encode fbcon ffmpeg flac foomaticdb fortran fuse gcrypt gdbm gssapi gtalk gzip httpd iconv imap ipv6 jabber jfs jpeg kerberos ldap ldap-sasl lua maildir mailwrapper mbox mcal mikmod modules mp3 mpeg named ncurses nls nntp nptl odbc ogg opencv opengl openldap openmp pam pam_krb5 pam_ssh pcre pdf png policykit postgresql ppds prefork pthreads pulseaudio python radius readline rtsp sane sasl seccomp sendmail session sha512 sharedmem slp smartcard snmp soap speex ssl svg swscale syslog systemd tcpd theora threads tiff truetype udev unicode usb v4l vlm vnc vorbis xattr xinetd xml zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi dav flv geoip gunzip lua mp4 metrics push_stream stub_status xslt" NGINX_MODULES_MAIL="imap smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="net epson epson2" USERLAND="GNU" VIDEO_CARDS="v4l" VOICEMAIL_STORAGE="file" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-libs/boost-1.57.0::gentoo was built with the following:
USE="nls python threads (-context) -debug -doc -icu (-mpi) -static-libs -tools" PYTHON_TARGETS="python2_7 python3_4 -python3_3"
CFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CXXFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard -std=gnu++98"
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2016-04-17 12:09:03 UTC
I wanted to close my report on Monday as invalid because on my system I finally detected faulty memory which is now completely replaced and I cannot reproduce the problem anymore.

I am seeing that you (Daniel) are using distcc. Since boost-1.52 I am using package.env on all my systems using distcc to build boost without distcc because it was failing when using distcc. Please try to disable distcc as well for boost.
Comment 6 SpanKY gentoo-dev 2016-04-17 16:25:24 UTC
(In reply to Daniel Savard from comment #4)
> armv6j-hardfloat-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)

you most likely ran out of memory.  disable the use of -pipe and/or add more ram and/or swap.

*** This bug has been marked as a duplicate of bug 20600 ***
Comment 7 Daniel Savard 2016-04-18 03:50:19 UTC
Guys, I am using because the host on which I wish to install boost doesn't have enough resources to compile it. It will eventually exhaust the memory and crash the system. It is also way too slow. Then, using distcc I can use a server with a lot of memory (16GB) available and 8 cores to compile boost.

The only other way I can see I could make a binary package for my machine is by cross-compiling on the server pointed to by distcc, but locally. However, I have no idea how I can use emerge on this server to cross-compile and maintain as well the emerge database separately since this server is of different architecture and is having already an emerge database for its own ebuild.

Any documentation you can point me to how I can do this?

I am cross-compiling the Linux kernel on the server, but this doesn't require the emerge database. It is self-contained.