Created attachment 524472 [details] sys-devel:llvm-4.0.1-r1:20180318-204738.log.gz Not really sure what is going on here. It seems to build fine on armv7 hardfloat. * Package: sys-devel/llvm-4.0.1-r1 * Repository: gentoo * Maintainer: llvm@gentoo.org * USE: arm elibc_glibc gold kernel_linux libffi llvm_targets_ARM llvm_targets_BPF ncurses test userland_GNU * FEATURES: preserve-libs sandbox test userpriv usersandbox /usr/bin/armv5tel-softfloat-linux-gnueabi-g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/lib/Support -Iinclude -I/mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/include -DNDEBUG -O2 -march=armv5te -pipe -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializ ers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -fPIC -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o -MF lib/Su pport/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o -c /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/lib/Support/ThreadPool.cpp In file included from /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/lib/Support/ThreadPool.cpp:14:0: /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/include/llvm/Support/ThreadPool.h: In member function ‘std::shared_future<void> llvm::ThreadPool::async(Function&&, Args&& ...)’: /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/include/llvm/Support/ThreadPool.h:78:77: error: return type ‘class std::shared_future<void>’ is incomplete inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) { ^ /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/include/llvm/Support/ThreadPool.h: In member function ‘std::shared_future<void> llvm::ThreadPool::async(Function&&)’: /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/include/llvm/Support/ThreadPool.h:96:57: error: return type ‘class std::shared_future<void>’ is incomplete inline std::shared_future<VoidTy> async(Function &&F) { ^ /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/lib/Support/ThreadPool.cpp: In lambda function: /mnt/distfiles/tmp/portage/sys-devel/llvm-4.0.1-r1/work/llvm-4.0.1.src/lib/Support/ThreadPool.cpp:34:24: error: aggregate ‘llvm::ThreadPool::PackagedTaskTy Task’ has incomplete type and cannot be defined PackagedTaskTy Task; ^~~~ ... ninja: build stopped: subcommand failed. * ERROR: sys-devel/llvm-4.0.1-r1::gentoo failed (compile phase): * ninja -v -j2 -l0 failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 4431: Called multilib-minimal_src_compile * environment, line 2731: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2962: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2666: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2664: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 546: Called multilib-minimal_abi_src_compile * environment, line 2725: Called multilib_src_compile * environment, line 3174: Called cmake-utils_src_compile * environment, line 882: Called cmake-utils_src_make * environment, line 1060: Called _cmake_ninja_src_make * environment, line 328: Called eninja * environment, line 1404: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * Portage 2.3.13 (python 2.7.14-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-6.4.0, glibc-2.25-r9, 3.10.25-gentoo armv5tel) ================================================================= System uname: Linux-3.10.25-gentoo-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.4.1 KiB Mem: 513244 total, 138284 free KiB Swap: 1535996 total, 1504744 free Timestamp of repository gentoo: Tue, 13 Mar 2018 18:00:01 +0000 Head commit of repository gentoo: ea67eb146bbf188c661d20ba260aa1c2e0f6e042 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 distcc 3.2rc1 armv5tel-softfloat-linux-gnueabi [disabled] ccache version 3.2.4 [disabled] app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo dev-util/ccache: 3.2.4::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r5::gentoo, 1.10.3-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo sys-devel/gcc: 5.4.0-r4::gentoo, 6.4.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.1.100/gentoo-portage priority: -1000 sync-rsync-extra-opts: ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv5tel-softfloat-linux-gnueabi" CFLAGS="-O2 -march=armv5te -pipe" CHOST="armv5tel-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc /etc/omega.conf /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=armv5te -pipe" DISTDIR="/mnt/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y --backtrack=3" FCFLAGS="-O2 -pipe -march=armv5te" FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=armv5te" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb v4 v5" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="exynos freedreno omap" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
maekke confirmed with a test case like: #include <future> std::shared_future<void> foo; that gcc errors out on this code on lower ARM versions. As for LLVM itself, I think it would be best to just mask it on the relevant profiles.
Ping. Can we proceed in any way with LLVM stablereq? Otherwise, I'd like to proclaim arch team timeout and removing stable keywords from old versions of LLVM on arm.
Versions long gone.