[llvm-bugs] [Bug 43862] New: PowerPC64: clang crashes when compiling Mesa with debugging
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 31 10:30:35 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43862
Bug ID: 43862
Summary: PowerPC64: clang crashes when compiling Mesa with
debugging
Product: clang
Version: 9.0
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: pkubaj at anongoth.pl
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 22755
--> https://bugs.llvm.org/attachment.cgi?id=22755&action=edit
shell script and preprocessed source
I experience the following crash when compiling Mesa 18.3.2 with LLVM 9.0.0 on
powerpc64 architecture:
Assertion failed: (idx < size()), function operator[], file
/usr/src/contrib/llvm/include/llvm/ADT/SmallVector.h, line 153.
Stack dump:
0. Program arguments: /usr/bin/c++ -cc1 -triple
powerpc64-unknown-freebsd13.0 -emit-obj -disable-free -main-file-name
sb_bc_builder.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-relaxed-aliasing -fno-trapping-math -masm-verbose -mconstructor-aliases
-fuse-init-array -target-cpu ppc64 -target-feature +secure-plt -mfloat-abi hard
-dwarf-column-info -debug-info-kind=standalone -dwarf-version=4
-debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file
/tmp/usr/ports/graphics/mesa-dri/work/mesa-18.3.2/src/gallium/drivers/r600/sb/.libs/sb_bc_builder.gcno
-sys-header-deps -D PACKAGE_NAME="Mesa" -D PACKAGE_TARNAME="mesa" -D
PACKAGE_VERSION="18.3.2" -D PACKAGE_STRING="Mesa 18.3.2" -D
PACKAGE_BUGREPORT="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa" -D
PACKAGE_URL="" -D PACKAGE="mesa" -D VERSION="18.3.2" -D STDC_HEADERS=1 -D
HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1
-D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1
-D HAVE_UNISTD_H=1 -D HAVE_DLFCN_H=1 -D LT_OBJDIR=".libs/" -D YYTEXT_POINTER=1
-D HAVE___BUILTIN_BSWAP32=1 -D HAVE___BUILTIN_BSWAP64=1 -D HAVE___BUILTIN_CLZ=1
-D HAVE___BUILTIN_CLZLL=1 -D HAVE___BUILTIN_CTZ=1 -D HAVE___BUILTIN_EXPECT=1 -D
HAVE___BUILTIN_FFS=1 -D HAVE___BUILTIN_FFSLL=1 -D HAVE___BUILTIN_POPCOUNT=1 -D
HAVE___BUILTIN_POPCOUNTLL=1 -D HAVE___BUILTIN_UNREACHABLE=1 -D
HAVE_FUNC_ATTRIBUTE_CONST=1 -D HAVE_FUNC_ATTRIBUTE_FLATTEN=1 -D
HAVE_FUNC_ATTRIBUTE_FORMAT=1 -D HAVE_FUNC_ATTRIBUTE_MALLOC=1 -D
HAVE_FUNC_ATTRIBUTE_PACKED=1 -D HAVE_FUNC_ATTRIBUTE_PURE=1 -D
HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -D HAVE_FUNC_ATTRIBUTE_UNUSED=1 -D
HAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -D HAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -D
HAVE_FUNC_ATTRIBUTE_WEAK=1 -D HAVE_FUNC_ATTRIBUTE_ALIAS=1 -D
HAVE_FUNC_ATTRIBUTE_NORETURN=1 -D HAVE_DLADDR=1 -D HAVE_CLOCK_GETTIME=1 -D
HAVE_CLOCK_NANOSLEEP=1
-D HAVE_PTHREAD_PRIO_INHERIT=1 -D HAVE_PTHREAD=1 -D HAVE_SYS_UMTX_H=1 -D
ENABLE_ST_OMX_BELLAGIO=0 -D ENABLE_ST_OMX_TIZONIA=0 -D __STDC_CONSTANT_MACROS
-D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D USE_GCC_ATOMIC_BUILTINS -D
DEBUG -D HAVE_XLOCALE_H -D HAVE_SYS_SYSCTL_H -D HAVE_DLFCN_H -D HAVE_STRTOF -D
HAVE_MKOSTEMP -D HAVE_TIMESPEC_GET -D HAVE_MEMFD_CREATE -D HAVE_STRTOD_L -D
HAVE_DL_ITERATE_PHDR -D HAVE_POSIX_MEMALIGN -D HAVE_ZLIB -D
HAVE_PTHREAD_SETAFFINITY -D HAVE_LINUX_FUTEX_H -D HAVE_LIBDRM -D GLX_USE_DRM -D
GLX_INDIRECT_RENDERING -D GLX_DIRECT_RENDERING -D HAVE_X11_PLATFORM -D
HAVE_SURFACELESS_PLATFORM -D HAVE_DRM_PLATFORM -D HAVE_WAYLAND_PLATFORM -D
WL_HIDE_DEPRECATED -D HAVE_DRI3 -D HAVE_DRI3_MODIFIERS -D ENABLE_SHADER_CACHE
-D HAVE_MINCORE -D HAVE_ST_VDPAU -D HAVE_LLVM=0x0800 -D
MESA_LLVM_VERSION_PATCH=1 -D PIC -O2 -Wall -Wno-missing-field-initializers
-fdeprecated-macro -ferror-limit 19 -fmessage-length 81 -fvisibility hidden
-stack-protector 2 -fno-signed-char -fobjc-runtime=gnustep -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops
-vectorize-slp -faddrsig -x c++ sb_bc_builder-669135.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'sb_bc_builder-669135.cpp'.
4. Running pass 'Linux PPC Assembly Printer' on function
'@_ZN7r600_sb10bc_builder12build_cf_expEPNS_7cf_nodeE'
The shell script and preprocessed source file are attached.
According to one of FreeBSD PPC devs, "looks like the 28th or so RLWINM8 is
being written with two parameters missing".
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191031/0acef636/attachment.html>
More information about the llvm-bugs
mailing list