>>> Test phase: sys-devel/llvm-3.7.0-r5 * abi_x86_64.amd64: running multilib-minimal_abi_src_test >>> Working in BUILD_DIR: "/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64" ninja -j8 -v check [1/1] cd /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test && /var/tmp/portage/sys-devel/llvm-3.7.0-r5/temp/python2.7/bin/python /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/utils/lit/lit.py -sv --param llvm_site_config=/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test/lit.site.cfg --param llvm_unit_site_config=/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test/Unit/lit.site.cfg /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test lit.py: lit.cfg:279: note: Did not find llvm-go in /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/./bin -- Testing: 14094 tests, 8 threads -- Testing: 0 .. 10.. 20.. 30.. 40.. 50. FAIL: LLVM :: Instrumentation/MemorySanitizer/origin-alignment.ll (7941 of 14094) ******************** TEST 'LLVM :: Instrumentation/MemorySanitizer/origin-alignment.ll' FAILED ******************** Script: -- /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/./bin/opt < /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll -msan -msan-check-access-address=0 -msan-track-origins=1 -S | /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/./bin/FileCheck -check-prefix=CHECK -check-prefix=CHECK-ORIGINS1 /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/./bin/opt < /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll -msan -msan-check-access-address=0 -msan-track-origins=2 -S | /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/./bin/FileCheck -check-prefix=CHECK -check-prefix=CHECK-ORIGINS2 /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll -- Exit Code: 1 Command Output (stderr): -- /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll:27:10: error: expected string not found in input ; CHECK: store i32 [[ORIGIN]], i32* inttoptr (i64 add (i64 and (i64 ptrtoint {{.*}} to i32*), align 8 ^ <stdin>:23:96: note: scanning from here %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:23:96: note: with variable "ORIGIN" equal to "%1" %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:32:2: note: possible intended match here store i32 %1, i32* inttoptr (i64 add (i64 xor (i64 ptrtoint (i8* @a8 to i64), i64 87960930222080), i64 17592186044416) to i32*), align 8 ^ /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll:42:10: error: expected string not found in input ; CHECK: store i32 [[ORIGIN]], i32* inttoptr (i64 add (i64 and (i64 ptrtoint {{.*}} to i32*), align 4 ^ <stdin>:44:96: note: scanning from here %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:44:96: note: with variable "ORIGIN" equal to "%1" %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:50:2: note: possible intended match here store i32 %1, i32* inttoptr (i64 add (i64 xor (i64 ptrtoint (i8* @a4 to i64), i64 87960930222080), i64 17592186044416) to i32*), align 4 ^ /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll:57:10: error: expected string not found in input ; CHECK: store i32 [[ORIGIN]], i32* inttoptr (i64 and (i64 add (i64 and (i64 ptrtoint {{.*}} i64 -4) to i32*), align 4 ^ <stdin>:62:96: note: scanning from here %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:62:96: note: with variable "ORIGIN" equal to "%1" %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:68:2: note: possible intended match here store i32 %1, i32* inttoptr (i64 and (i64 add (i64 xor (i64 ptrtoint (i8* @a2 to i64), i64 87960930222080), i64 17592186044416), i64 -4) to i32*), align 4 ^ /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/test/Instrumentation/MemorySanitizer/origin-alignment.ll:72:10: error: expected string not found in input ; CHECK: store i32 [[ORIGIN]], i32* inttoptr (i64 and (i64 add (i64 and (i64 ptrtoint {{.*}} i64 -4) to i32*), align 4 ^ <stdin>:80:96: note: scanning from here %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:80:96: note: with variable "ORIGIN" equal to "%1" %1 = load i32, i32* getelementptr inbounds ([200 x i32], [200 x i32]* @__msan_param_origin_tls, i32 0, i32 0) ^ <stdin>:86:2: note: possible intended match here store i32 %1, i32* inttoptr (i64 and (i64 add (i64 xor (i64 ptrtoint (i8* @a1 to i64), i64 87960930222080), i64 17592186044416), i64 -4) to i32*), align 4 ^ -- ******************** Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 52.59s ******************** Failing Tests (1): LLVM :: Instrumentation/MemorySanitizer/origin-alignment.ll Expected Passes : 8427 Expected Failures : 33 Unsupported Tests : 5633 Unexpected Failures: 1 FAILED: cd /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test && /var/tmp/portage/sys-devel/llvm-3.7.0-r5/temp/python2.7/bin/python /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src/utils/lit/lit.py -sv --param llvm_site_config=/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test/lit.site.cfg --param llvm_unit_site_config=/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test/Unit/lit.site.cfg /var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64/test ninja: build stopped: subcommand failed. * ERROR: sys-devel/llvm-3.7.0-r5::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_test * environment, line 4837: Called multilib-minimal_src_test * environment, line 2927: Called multilib_foreach_abi 'multilib-minimal_abi_src_test' * environment, line 3099: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 2792: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test' * environment, line 2790: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_test' * environment, line 541: Called multilib-minimal_abi_src_test * environment, line 2921: Called multilib_src_test * environment, line 3448: Called cmake-utils_src_make 'check' * environment, line 1126: Called ninja_src_make 'check' * environment, line 3502: Called die * The specific snippet of code: * "$@" || die * * If you need support, post the output of `emerge --info '=sys-devel/llvm-3.7.0-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.7.0-r5::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.7.0-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.7.0-r5/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-devel/llvm-3.7.0-r5/work/llvm-3.7.0.src' >>> Failed to emerge sys-devel/llvm-3.7.0-r5, Log file: >>> '/var/tmp/portage/sys-devel/llvm-3.7.0-r5/temp/build.log' Reproducible: Always # emerge --info '=sys-devel/llvm-3.7.0-r5::gentoo' Portage 2.2.26 (python 3.4.3-final-0, hardened/linux/amd64/no-multilib, gcc-5.3.0, glibc-2.22-r1, 4.3.3 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.3.3-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2 KiB Mem: 16399780 total, 11313704 free KiB Swap: 17825788 total, 17825788 free Timestamp of repository gentoo: Mon, 04 Jan 2016 09:00:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.7.4::gentoo, 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 local location: /var/lib/portage-local/local masters: gentoo priority: 0 testing location: /var/lib/portage-local/testing masters: gentoo priority: 1 science location: /var/lib/layman/science masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j8" 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" USE="X a52 acl acpi alsa amd64 avx berkdb bzip2 cairo caps cdda cddb cdparanoia cli cracklib crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig foomaticdb gdbm gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg justify lame lcms libnotify lzma mad matroska mmap mmx mmxext modules mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp session sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xml xtpax xv xvid 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 rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="pc" INPUT_DEVICES="evdev synaptics" 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-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XFCE_PLUGINS="power" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON # emerge -pqv '=sys-devel/llvm-3.7.0-r5::gentoo' [ebuild U ] sys-devel/llvm-3.7.0-r5 [3.7.0-r4] USE="libffi ncurses static-analyzer {test} xml -clang -debug -doc -gold -libedit -lldb -multitarget -ocaml -python" PYTHON_TARGETS="python2_7" VIDEO_CARDS="-radeon"
Created attachment 421858 [details] build.log
Thanks for the report! This failure was hidden for me by bug #558604 (32bit ABI tests run and fail first), but I can reproduce with ABI_X86=64 Latest upstream change for this test is "Relax origin-alignment test": https://github.com/llvm-mirror/llvm/commits/master/test/Instrumentation/MemorySanitizer/origin-alignment.ll A quick test with the updated test file and the test suite runs OK
llvm-3.7.1 is also affected.
Created attachment 457000 [details] build.log =sys-devel/llvm-3.7.1-r3 still failing (tested on x86).
3.7 is no longer supported.