Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904368 - dev-util/spirv-llvm-translator-15 fails tests on riscv
Summary: dev-util/spirv-llvm-translator-15 fails tests on riscv
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jan Henke
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-04-15 12:43 UTC by Jakov Smolić
Modified: 2024-07-23 17:43 UTC (History)
4 users (show)

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


Attachments
Build log (dev-util_spirv-llvm-translator-150-log,124.21 KB, text/plain)
2023-04-15 12:43 UTC, Jakov Smolić
Details
Here is my test log (test_log,139.31 KB, application/octet-stream)
2023-04-17 10:47 UTC, Andrew Cameron
Details
Some Test also fail on a X86 CPU (test.log,126.46 KB, text/x-log)
2023-04-17 15:10 UTC, Andrew Cameron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2023-04-15 12:43:13 UTC
Created attachment 860154 [details]
Build log

********************
Failed Tests (65):
  LLVM_SPIRV :: DebugInfo/COFF/no-cus.ll
  LLVM_SPIRV :: DebugInfo/Generic/2009-11-05-DeadGlobalVariable.ll
  LLVM_SPIRV :: DebugInfo/Generic/2009-11-10-CurrentFn.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-01-05-DbgScope.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-03-12-llc-crash.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-03-24-MemberFn.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-04-19-FramePtr.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
  LLVM_SPIRV :: DebugInfo/Generic/2010-10-01-crash.ll
  LLVM_SPIRV :: DebugInfo/Generic/PR20038.ll
  LLVM_SPIRV :: DebugInfo/Generic/constant-pointers.ll
  LLVM_SPIRV :: DebugInfo/Generic/dead-argument-order.ll
  LLVM_SPIRV :: DebugInfo/Generic/debug-info-eis-option.ll
  LLVM_SPIRV :: DebugInfo/Generic/def-line.ll
  LLVM_SPIRV :: DebugInfo/Generic/discriminator.ll
  LLVM_SPIRV :: DebugInfo/Generic/dwarf-public-names.ll
  LLVM_SPIRV :: DebugInfo/Generic/enum.ll
  LLVM_SPIRV :: DebugInfo/Generic/func-using-decl.ll
  LLVM_SPIRV :: DebugInfo/Generic/global.ll
  LLVM_SPIRV :: DebugInfo/Generic/imported-name-inlined.ll
  LLVM_SPIRV :: DebugInfo/Generic/incorrect-variable-debugloc1.ll
  LLVM_SPIRV :: DebugInfo/Generic/inline-scopes.ll
  LLVM_SPIRV :: DebugInfo/Generic/inlined-arguments.ll
  LLVM_SPIRV :: DebugInfo/Generic/inlined-vars.ll
  LLVM_SPIRV :: DebugInfo/Generic/linear-dbg-value.ll
  LLVM_SPIRV :: DebugInfo/Generic/linkage-name-abstract.ll
  LLVM_SPIRV :: DebugInfo/Generic/member-order.ll
  LLVM_SPIRV :: DebugInfo/Generic/missing-abstract-variable.ll
  LLVM_SPIRV :: DebugInfo/Generic/multiline.ll
  LLVM_SPIRV :: DebugInfo/Generic/namespace_function_definition.ll
  LLVM_SPIRV :: DebugInfo/Generic/namespace_inline_function_definition.ll
  LLVM_SPIRV :: DebugInfo/Generic/noscopes.ll
  LLVM_SPIRV :: DebugInfo/Generic/ptrsize.ll
  LLVM_SPIRV :: DebugInfo/Generic/restrict.ll
  LLVM_SPIRV :: DebugInfo/Generic/two-cus-from-same-file.ll
  LLVM_SPIRV :: DebugInfo/Generic/varargs.ll
  LLVM_SPIRV :: DebugInfo/Generic/version.ll
  LLVM_SPIRV :: DebugInfo/LocalAddressSpace.ll
  LLVM_SPIRV :: DebugInfo/UnknownBaseType.ll
  LLVM_SPIRV :: DebugInfo/X86/abstract_origin.ll
  LLVM_SPIRV :: DebugInfo/X86/constant-aggregate.ll
  LLVM_SPIRV :: DebugInfo/X86/constant-loclist.ll
  LLVM_SPIRV :: DebugInfo/X86/convert-debugloc.ll
  LLVM_SPIRV :: DebugInfo/X86/dbg-declare-alloca.ll
  LLVM_SPIRV :: DebugInfo/X86/dbg-declare-arg.ll
  LLVM_SPIRV :: DebugInfo/X86/dbg-prolog-end.ll
  LLVM_SPIRV :: DebugInfo/X86/dbg-value-const-byref.ll
  LLVM_SPIRV :: DebugInfo/X86/dbg-value-isel.ll
  LLVM_SPIRV :: DebugInfo/X86/dw_op_minus_direct.ll
  LLVM_SPIRV :: DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll
  LLVM_SPIRV :: DebugInfo/X86/float_const.ll
  LLVM_SPIRV :: DebugInfo/X86/frame-register.ll
  LLVM_SPIRV :: DebugInfo/X86/inlined-formal-parameter.ll
  LLVM_SPIRV :: DebugInfo/X86/isel-cse-line.ll
  LLVM_SPIRV :: DebugInfo/X86/mixed-nodebug-cu.ll
  LLVM_SPIRV :: DebugInfo/X86/nophysreg.ll
  LLVM_SPIRV :: DebugInfo/X86/partial-constant.ll
  LLVM_SPIRV :: DebugInfo/X86/single-dbg_value.ll
  LLVM_SPIRV :: DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
  LLVM_SPIRV :: DebugInfo/X86/split-dwarf-omit-empty.ll
  LLVM_SPIRV :: DebugInfo/X86/this-stack_value.ll
  LLVM_SPIRV :: DebugInfo/X86/union-const.ll
  LLVM_SPIRV :: DebugInfo/expr-opcode.ll
  LLVM_SPIRV :: read_image.cl
  LLVM_SPIRV :: transcoding/image_signedness.ll


Testing Time: 306.47s
  Unsupported      :  44
  Passed           : 529
  Expectedly Failed:   5
  Failed           :  65
 * ERROR: dev-util/spirv-llvm-translator-15.0.0::gentoo failed (test phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_test
 *   environment, line 2205:  Called die
 * The specific snippet of code:
 *       lit "${BUILD_DIR}/test" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-util/spirv-llvm-translator-15.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/spirv-llvm-translator-15.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/spirv-llvm-translator-15.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/spirv-llvm-translator-15.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/spirv-llvm-translator-15.0.0/work/SPIRV-LLVM-Translator-15.0.0'
 * S: '/var/tmp/portage/dev-util/spirv-llvm-translator-15.0.0/work/SPIRV-LLVM-Translator-15.0.0'

# emerge --info
Portage 3.0.44 (python 3.10.10-final-0, default/linux/riscv/20.0/rv64gc/lp64d/systemd, gcc-12, glibc-2.36-r7, 6.0.0-rc3-riscv64 riscv64)
=================================================================
System uname: Linux-6.0.0-rc3-riscv64-riscv64-with-glibc2.36
KiB Mem:    20199476 total,  18475844 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 09 Apr 2023 09:30:01 +0000
Head commit of repository gentoo: 8b21c469b1f12e62db4fcd655260202a77753aba
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust-bin:         1.68.2-r1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.1::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.1::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="riscv ~riscv"
ACCEPT_LICENSE="@FREE"
CBUILD="riscv64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="riscv64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j20 -l20"
PKGDIR="/var/cache/binpkgs"
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="acl bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd ncurses nls nptl openmp pam pcre readline riscv seccomp split-usr ssl systemd test-rust udev unicode xattr zlib" ADA_TARGET="gnat_2021" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30 ruby31 ruby32" USERLAND="GNU" VIDEO_CARDS="fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Jan Henke 2023-04-16 12:38:49 UTC
I currently do not have the hardware nor the time to investigate these test failures. Since this is blocking the RISC-V key wording, someone with more insight into that arch needs to look at this.
Comment 2 Andrew Cameron 2023-04-17 10:47:45 UTC
Created attachment 860235 [details]
Here is my test log

I have attached my test log which was run on 
my StarFive VisionFive 2 RISC-V SPC
Comment 3 Andrew Cameron 2023-04-17 15:10:11 UTC
Created attachment 860259 [details]
Some Test also fail on a X86 CPU

See the results of the test run on my X86 CPU
Comment 4 Andrew Cameron 2023-04-18 09:17:50 UTC
I Have created an Issue on the Github Repository for the KhronosGroup.
You can have a loo at it here and add any apppropriate comments.
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1960
Comment 5 Andrew Cameron 2023-04-20 20:03:54 UTC
It seems that other are reporting failure too on other platforms
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1964