upgrading boost on several vms of mine fails with the following error: ./boost/spirit/home/qi/parse.hpp: In function ‘bool boost::spirit::qi::phrase_parse(Iterator&, Iterator, const Expr&, const Skipper&, boost::spirit::qi::skip_flag::enum_type, Attr&)’: ./boost/concept/detail/general.hpp:71:20: warning: typedef ‘boost_concept_check149’ locally defined but not used [-Wunused-local-typedefs] BOOST_PP_CAT(boost_concept_check,__LINE__) ^ ./boost/preprocessor/cat.hpp:29:34: note: in definition of macro ‘BOOST_PP_CAT_I’ # define BOOST_PP_CAT_I(a, b) a ## b ^ ./boost/concept/detail/general.hpp:71:7: note: in expansion of macro ‘BOOST_PP_CAT’ BOOST_PP_CAT(boost_concept_check,__LINE__) ^ ./boost/concept/assert.hpp:44:5: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT_FN’ BOOST_CONCEPT_ASSERT_FN(void(*)ModelInParens) ^ ./boost/spirit/home/qi/parse.hpp:149:9: note: in expansion of macro ‘BOOST_CONCEPT_ASSERT’ BOOST_CONCEPT_ASSERT((ForwardIterator<Iterator>)); ^ In file included from ./boost/spirit/home/support/char_set/range_run.hpp:55:0, from ./boost/spirit/home/support/char_set/basic_chset.hpp:19, from ./boost/spirit/home/qi/char/char.hpp:20, from ./boost/spirit/home/qi/char.hpp:15, from ./boost/spirit/include/qi_core.hpp:20, from libs/log/src/init_from_settings.cpp:40: ./boost/spirit/home/support/char_set/range_run_impl.hpp: In function ‘bool boost::spirit::support::detail::try_merge(Run&, Iterator, const Range&)’: ./boost/spirit/home/support/char_set/range_run_impl.hpp:29:48: warning: typedef ‘integer_traits’ locally defined but not used [-Wunused-local-typedefs] typedef integer_traits<value_type> integer_traits; ^ ...failed updating 1 target... * ERROR: dev-libs/boost-1.55.0-r2::gentoo failed (compile phase): * Building of Boost libraries failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4187: Called multilib-minimal_src_compile * environment, line 2478: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2702: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2331: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2329: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 392: Called multilib-minimal_abi_src_compile * environment, line 2472: Called multilib_src_compile * environment, line 2961: Called building * environment, line 2929: Called die * The specific snippet of code: * ejam ${OPTIONS} ${PYTHON_OPTIONS} || die "Building of Boost libraries failed"; * * If you need support, post the output of `emerge --info '=dev-libs/boost-1.55.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/boost-1.55.0-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-libs/boost-1.55.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/boost-1.55.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/boost-1.55.0-r2/work/boost_1_55_0-abi_x86_64.amd64' * S: '/var/tmp/portage/dev-libs/boost-1.55.0-r2/work/boost_1_55_0' Reproducible: Always emerge boost --info Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.16.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-4570S_CPU_@_2.90GHz-with-gentoo-2.2 KiB Mem: 504984 total, 300784 free KiB Swap: 2097148 total, 2058064 free Timestamp of tree: Fri, 21 Nov 2014 13:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" 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/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF.8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="acl amd64 avx avx2 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 tcpd unicode 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="dav dav_fs dav_lock authz_host authz_user dir alias cgi" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON ================================================================= Package Settings ================================================================= dev-libs/boost-1.52.0-r7 was built with the following: USE="nls threads -debug -doc -icu -mpi -python -static-libs -tools" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_3 -python3_2" CXXFLAGS="-O2 -pipe -march=native -std=gnu++98"
Created attachment 389940 [details] build.log
actually it seems to be this line here : x86_64-pc-linux-gnu-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. ...removing bin.v2/libs/log/build/gcc-4.8/gentoorelease/boost.locale.icu-off/log-api-unix/pch-off/threading-multi/text_file_backend.o gcc.compile.c++ bin.v2/libs/log/build/gcc-4.8/gentoorelease/boost.locale.icu-off/log-api-unix/pch-off/threading-multi/format_parser.o
could it be, that 512 MiB RAM and 2GiB SWAP is not sufficient? dmesg: [ 523.955626] cc1plus invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0 [ 523.955668] cc1plus cpuset=/ mems_allowed=0 [ 523.955684] CPU: 0 PID: 3761 Comm: cc1plus Not tainted 3.16.5-gentoo #1 [ 523.955686] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org 04/01/2014 [ 523.955687] 0000000000000000 ffff88001b5879c0 ffffffff81538fd5 ffff88000203e0e0 [ 523.955689] ffff88001b587a28 ffffffff81535f1d ffffffff810e2c53 0000000001320122 [ 523.955691] 0000000000000206 ffff88001b5879f8 0000000000000000 ffff88001b587a28 [ 523.955692] Call Trace: [ 523.955712] [<ffffffff81538fd5>] dump_stack+0x45/0x56 [ 523.955715] [<ffffffff81535f1d>] dump_header+0x74/0x1a7 [ 523.955721] [<ffffffff810e2c53>] ? zone_reclaimable+0x11/0x1e [ 523.955724] [<ffffffff810d75ab>] oom_kill_process+0x68/0x2f3 [ 523.955726] [<ffffffff810d7d9f>] out_of_memory+0x41b/0x434 [ 523.955729] [<ffffffff810dc214>] __alloc_pages_nodemask+0x6dc/0x84c [ 523.955732] [<ffffffff8110dbb8>] alloc_pages_vma+0xca/0x111 [ 523.955735] [<ffffffff81104576>] read_swap_cache_async+0x76/0x11d [ 523.955738] [<ffffffff8111b958>] ? lock_page_cgroup+0x12/0x24 [ 523.955748] [<ffffffff8110476c>] swapin_readahead+0x14f/0x15f [ 523.955750] [<ffffffff810d51e0>] ? pagecache_get_page+0x2c/0x142 [ 523.955753] [<ffffffff810f8010>] handle_mm_fault+0x4a8/0xab0 [ 523.955756] [<ffffffff81034db7>] __do_page_fault+0x2fe/0x3e5 [ 523.955759] [<ffffffff8106c5f9>] ? set_next_entity+0x3f/0x96 [ 523.955761] [<ffffffff81034f0f>] trace_do_page_fault+0x4a/0x9d [ 523.955763] [<ffffffff8103073a>] do_async_page_fault+0x2c/0x5e [ 523.955767] [<ffffffff81540dd8>] async_page_fault+0x28/0x30 [ 523.955769] Mem-Info: [ 523.955770] Node 0 DMA per-cpu: [ 523.955771] CPU 0: hi: 0, btch: 1 usd: 0 [ 523.955782] CPU 1: hi: 0, btch: 1 usd: 0 [ 523.955783] CPU 2: hi: 0, btch: 1 usd: 0 [ 523.955784] CPU 3: hi: 0, btch: 1 usd: 0 [ 523.955784] Node 0 DMA32 per-cpu: [ 523.955785] CPU 0: hi: 186, btch: 31 usd: 0 [ 523.955786] CPU 1: hi: 186, btch: 31 usd: 18 [ 523.955787] CPU 2: hi: 186, btch: 31 usd: 29 [ 523.955788] CPU 3: hi: 186, btch: 31 usd: 31 [ 523.955791] active_anon:56672 inactive_anon:56632 isolated_anon:32 active_file:52 inactive_file:34 isolated_file:0 unevictable:0 dirty:0 writeback:13 unstable:0 free:1271 slab_reclaimable:3308 slab_unreclaimable:2978 mapped:147 shmem:30 pagetables:2828 bounce:0 free_cma:0 [ 523.955793] Node 0 DMA free:1980kB min:88kB low:108kB high:132kB active_anon:6356kB inactive_anon:6396kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15908kB mlocked:0kB dirty:0kB writeback:0kB mapped:28kB shmem:20kB slab_reclaimable:320kB slab_unreclaimable:344kB kernel_stack:48kB pagetables:348kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:2 all_unreclaimable? yes [ 523.955797] lowmem_reserve[]: 0 474 474 474 [ 523.955799] Node 0 DMA32 free:3104kB min:2740kB low:3424kB high:4108kB active_anon:220252kB inactive_anon:220132kB active_file:208kB inactive_file:140kB unevictable:0kB isolated(anon):128kB isolated(file):0kB present:507772kB managed:489076kB mlocked:0kB dirty:0kB writeback:52kB mapped:560kB shmem:100kB slab_reclaimable:12912kB slab_unreclaimable:11568kB kernel_stack:2032kB pagetables:10964kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:635 all_unreclaimable? yes [ 523.955803] lowmem_reserve[]: 0 0 0 0 [ 523.955805] Node 0 DMA: 3*4kB (ER) 0*8kB 3*16kB (R) 2*32kB (R) 3*64kB (R) 3*128kB (R) 3*256kB (R) 1*512kB (R) 0*1024kB 0*2048kB 0*4096kB = 1980kB [ 523.955811] Node 0 DMA32: 135*4kB (UMR) 2*8kB (R) 3*16kB (R) 10*32kB (R) 3*64kB (R) 6*128kB (R) 3*256kB (R) 1*512kB (R) 0*1024kB 0*2048kB 0*4096kB = 3164kB [ 523.955819] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [ 523.955820] 2869 total pagecache pages [ 523.955821] 2674 pages in swap cache [ 523.955822] Swap cache stats: add 3804715, delete 3802041, find 1316387/2560594 [ 523.955823] Free swap = 0kB [ 523.955823] Total swap = 2097148kB [ 523.955824] 130941 pages RAM [ 523.955825] 0 pages HighMem/MovableOnly [ 523.955826] 4674 pages reserved [ 523.955827] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name [ 523.955832] [ 1273] 0 1273 9135 1 20 123 -1000 systemd-udevd [ 523.955835] [ 2062] 0 2062 3234 0 10 35 0 lvmetad [ 523.955836] [ 2088] 0 2088 6819 0 17 61 0 syslog-ng [ 523.955839] [ 2089] 0 2089 89168 0 43 436 0 syslog-ng [ 523.955841] [ 2115] 0 2115 1060 1 9 36 0 acpid [ 523.955849] [ 2329] 70 2329 44782 15 27 159 0 postgres [ 523.955851] [ 2331] 70 2331 44816 0 24 192 0 postgres [ 523.955852] [ 2332] 70 2332 44782 2 21 182 0 postgres [ 523.955854] [ 2333] 70 2333 44782 0 19 184 0 postgres [ 523.955855] [ 2334] 70 2334 44999 67 22 269 0 postgres [ 523.955857] [ 2335] 70 2335 8735 46 17 152 0 postgres [ 523.955858] [ 2358] 0 2358 8059 0 18 123 -1000 sshd [ 523.955860] [ 2379] 0 2379 49691 10 70 1508 0 apache2 [ 523.955862] [ 2382] 81 2382 50425 0 71 1765 0 apache2 [ 523.955863] [ 2385] 81 2385 50550 0 72 1782 0 apache2 [ 523.955864] [ 2406] 0 2406 4967 0 15 51 0 cron [ 523.955866] [ 2431] 0 2431 4977 2 15 46 0 agetty [ 523.955890] [ 2432] 0 2432 4977 2 14 46 0 agetty [ 523.955892] [ 2433] 0 2433 4977 2 15 46 0 agetty [ 523.955893] [ 2434] 0 2434 4977 2 15 47 0 agetty [ 523.955895] [ 2435] 0 2435 4977 2 15 46 0 agetty [ 523.955896] [ 2436] 0 2436 4977 2 15 46 0 agetty [ 523.955898] [ 2438] 0 2438 26425 0 43 353 0 sshd [ 523.955899] [ 2444] 81 2444 50943 0 72 2308 0 apache2 [ 523.955901] [ 2451] 81 2451 50487 0 72 1789 0 apache2 [ 523.955902] [ 2452] 81 2452 50487 0 72 1768 0 apache2 [ 523.955903] [ 2461] 0 2461 5877 2 17 157 0 bash [ 523.955905] [ 2476] 81 2476 50487 0 72 1859 0 apache2 [ 523.955906] [ 2499] 81 2499 50493 0 72 1811 0 apache2 [ 523.955908] [ 2500] 81 2500 50428 0 71 1752 0 apache2 [ 523.955909] [ 2501] 81 2501 50622 0 72 1937 0 apache2 [ 523.955911] [ 2502] 0 2502 6232 0 18 58 0 screen [ 523.955912] [ 2503] 0 2503 6299 22 16 110 0 screen [ 523.955913] [ 2504] 0 2504 5868 2 17 155 0 bash [ 523.955915] [ 2508] 0 2508 50372 385 104 23575 0 emerge [ 523.955917] [ 3112] 250 3112 1059 1 8 38 0 sandbox [ 523.955918] [ 3114] 250 3114 6977 2 18 666 0 ebuild.sh [ 523.955920] [ 3131] 250 3131 7187 0 17 886 0 ebuild.sh [ 523.955921] [ 3148] 250 3148 2969 4 11 77 0 tee [ 523.955923] [ 3174] 250 3174 12609 285 29 8545 0 b2 [ 523.955924] [ 3669] 250 3669 3938 1 13 99 0 x86_64-pc-linux [ 523.955926] [ 3670] 250 3670 168827 16915 334 141331 0 cc1plus [ 523.955928] [ 3671] 250 3671 6252 0 16 1332 0 as [ 523.955929] [ 3701] 250 3701 3938 1 13 100 0 x86_64-pc-linux [ 523.955930] [ 3702] 250 3702 144722 19757 282 111765 0 cc1plus [ 523.955932] [ 3703] 250 3703 6252 1 17 1334 0 as [ 523.955933] [ 3705] 250 3705 3938 1 12 100 0 x86_64-pc-linux [ 523.955937] [ 3706] 250 3706 144606 18523 280 112802 0 cc1plus [ 523.955938] [ 3707] 250 3707 6252 1 17 1334 0 as [ 523.955940] [ 3747] 81 3747 50280 0 71 1598 0 apache2 [ 523.955942] [ 3760] 250 3760 3938 1 13 99 0 x86_64-pc-linux [ 523.955943] [ 3761] 250 3761 125613 21067 245 91373 0 cc1plus [ 523.955944] [ 3762] 250 3762 6252 1 15 1335 0 as [ 523.955946] [ 3806] 250 3806 3938 5 13 96 0 x86_64-pc-linux [ 523.955948] [ 3807] 250 3807 57677 33405 111 10592 0 cc1plus [ 523.955949] [ 3808] 250 3808 6252 21 16 1288 0 as [ 523.955950] Out of memory: Kill process 3670 (cc1plus) score 243 or sacrifice child [ 523.955952] Killed process 3670 (cc1plus) total-vm:675308kB, anon-rss:67660kB, file-rss:0kB [ 523.987557] cc1plus (3670) used greatest stack depth: 11136 bytes left
ok, it really was a memory limitation, after assigning at least 2GiB RAM, the build went trough.... quite heavy memory consumption anyway....