Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571140 - sys-devel/llvm-3.7.1 - fails to build with no error message
Summary: sys-devel/llvm-3.7.1 - fails to build with no error message
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-07 07:42 UTC by impowski
Modified: 2016-01-07 16:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description impowski 2016-01-07 07:42:46 UTC
Portage 2.2.26 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.21-r1, 4.1.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2
KiB Mem:    12245712 total,   5032428 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 06 Jan 2016 23:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.3::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.6-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:            5.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /usr/local/portage
    masters: gentoo kde bitcoin qt
    priority: 0

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 1

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 2

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 3

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 4

emacs
    location: /var/lib/layman/emacs
    masters: gentoo
    priority: 5

bar
    location: /var/lib/layman/bar
    masters: gentoo
    priority: 6

stuff
    location: /var/lib/layman/stuff
    masters: gentoo
    priority: 7

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 8

obs-studio-overlay
    location: /var/lib/layman/obs-studio-overlay
    masters: gentoo
    priority: 9

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 10

Installed sets: @kde-frameworks, @kde-frameworks-5.17, @kde-frameworks-5.18, @kde-plasma, @kde-plasma-5.4, @kde-plasma-5.5, @qt5-addons, @qt5-essentials, @qt5-tools
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="tt_RU.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13"
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="/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" 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 rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" GRUB_PLATFORMS="efi-64 pc" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 impowski 2016-01-07 07:42:59 UTC
[2519/2562] /usr/bin/x86_64-pc-linux-gnu-g++  -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -DNDEBUG -O2 -pipe  -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -fPIC -Itools/clang/tools/extra/clang-tidy/misc -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/extra/clang-tidy/misc -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/include -Itools/clang/include -Iinclude -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/include -MMD -MT tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o -MF tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o.d -o tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o -c /tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp
FAILED: /usr/bin/x86_64-pc-linux-gnu-g++  -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS   -DNDEBUG -O2 -pipe  -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wnon-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -fPIC -Itools/clang/tools/extra/clang-tidy/misc -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/extra/clang-tidy/misc -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/include -Itools/clang/include -Iinclude -I/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/include -MMD -MT tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -MF tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o.d -o tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -c /tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp
x86_64-pc-linux-gnu-g++: internal compiler error: Убито (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
ninja: build stopped: subcommand failed.
 [31;01m*[0m ERROR: sys-devel/llvm-3.7.1::gentoo failed (compile phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  133:  Called src_compile
 [31;01m*[0m   environment, line 4806:  Called multilib-minimal_src_compile
 [31;01m*[0m   environment, line 2890:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 [31;01m*[0m   environment, line 3121:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 [31;01m*[0m   environment, line 2825:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 [31;01m*[0m   environment, line 2823:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 [31;01m*[0m   environment, line  574:  Called multilib-minimal_abi_src_compile
 [31;01m*[0m   environment, line 2884:  Called multilib_src_compile
 [31;01m*[0m   environment, line 3333:  Called cmake-utils_src_compile
 [31;01m*[0m   environment, line 1144:  Called _execute_optionally 'src_compile'
 [31;01m*[0m   environment, line  370:  Called enable_cmake-utils_src_compile
 [31;01m*[0m   environment, line 1349:  Called cmake-utils_src_make
 [31;01m*[0m   environment, line 1159:  Called ninja_src_make
 [31;01m*[0m   environment, line 3524:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "$@" || die
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=sys-devel/llvm-3.7.1::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.7.1::gentoo'`.
 [31;01m*[0m The complete build log is located at '/tmp/portage/sys-devel/llvm-3.7.1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/tmp/portage/sys-devel/llvm-3.7.1/temp/environment'.
 [31;01m*[0m Working directory: '/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src-abi_x86_64.amd64'
 [31;01m*[0m S: '/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src'
Comment 2 Andrei Slavoiu 2016-01-07 08:28:04 UTC
/tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cppx86_64-pc-linux-gnu-g++: internal compiler error: Убито (program cc1plus)

Internal compiler errors are caused most of the time by faulty RAM. Most likely if you try building it again it will either succeed or fail while compiling a different file.
Comment 3 impowski 2016-01-07 09:16:33 UTC
(In reply to Andrei Slavoiu from comment #2)
> /tmp/portage/sys-devel/llvm-3.7.1/work/llvm-3.7.1.src/tools/clang/tools/
> extra/clang-tidy/misc/StaticAssertCheck.cppx86_64-pc-linux-gnu-g++: internal
> compiler error: Убито (program cc1plus)
> 
> Internal compiler errors are caused most of the time by faulty RAM. Most
> likely if you try building it again it will either succeed or fail while
> compiling a different file.

I'm always stuck at 2519 out of 2562. How is supposed to be a faulty RAM? Because version 3.5.0 building fine and I don't even have problems with RAM when I'm building other packages.
Comment 4 impowski 2016-01-07 15:23:43 UTC
Like I said after 2519 package raise up memory, its some kind of leak or something like that, I tried to build it from sources I just got errors and can't build it.
Comment 5 Andrei Slavoiu 2016-01-07 15:26:46 UTC
According to Google Translate Убито means killed (it would help if you added LC_ALL=C to make.conf so error messages would be in english). That happens when your computer runs out of memory. Try adding some swap.

It's not uncommon that newer versions of some package require more resources to build than the previous ones.
Comment 6 impowski 2016-01-07 15:31:54 UTC
(In reply to Andrei Slavoiu from comment #5)
> According to Google Translate Убито means killed (it would help if you added
> LC_ALL=C to make.conf so error messages would be in english). That happens
> when your computer runs out of memory. Try adding some swap.
> 
> It's not uncommon that newer versions of some package require more resources
> to build than the previous ones.

Yeah I don't have any swap but this is strange anyway.
Comment 7 impowski 2016-01-07 15:50:06 UTC
(In reply to impowski from comment #6)
> (In reply to Andrei Slavoiu from comment #5)
> > According to Google Translate Убито means killed (it would help if you added
> > LC_ALL=C to make.conf so error messages would be in english). That happens
> > when your computer runs out of memory. Try adding some swap.
> > 
> > It's not uncommon that newer versions of some package require more resources
> > to build than the previous ones.
> 
> Yeah I don't have any swap but this is strange anyway.

Ok I create a swap file and trying to build it right now.
Comment 8 impowski 2016-01-07 16:31:21 UTC
Yes, that was out of memory problem.
Comment 9 impowski 2016-01-07 16:31:54 UTC
(In reply to impowski from comment #8)
> Yes, that was out of memory problem.