[Bug 238082] graphics/mesa-dri: clang 8 (from head at r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 28 19:44:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082

--- Comment #6 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to commit-hook from comment #5)

I finally got around to testing the patch with a
rebuild attempt for graphics/mesa-dri . It just
failed a different assert:

Core was generated by `/usr/bin/cc -cc1 -triple powerpc64-unknown-freebsd13.0
-emit-obj -disable-free -'.
Program terminated with signal SIGABRT, Aborted.
#0  .__sys_thr_kill () at thr_kill.S:3
3       RSYSCALL(thr_kill)
(gdb) bt
#0  .__sys_thr_kill () at thr_kill.S:3
#1  0x00000000132c7898 in abort () at /usr/src/lib/libc/stdlib/abort.c:80
#2  0x00000000132d34bc in fprintf (fp=<optimized out>, fmt=<optimized out>) at
/usr/src/lib/libc/stdio/fprintf.c:57
#3  0x00000000132f6c64 in __assert (func=<optimized out>, file=<optimized out>,
line=<optimized out>, failedexpr=<optimized out>) at
/usr/src/lib/libc/gen/assert.c:51
#4  0x00000000130f7c18 in getVectorNumElements () at
/usr/src/contrib/llvm/include/llvm/CodeGen/ValueTypes.h:274
#5  WidenVectorResult () at
/usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp:2531
#6  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
. . .
#4  0x00000000130f7c18 in getVectorNumElements () at
/usr/src/contrib/llvm/include/llvm/CodeGen/ValueTypes.h:274
274           assert(isVector() && "Invalid vector type!");
(gdb) list
269           return getExtendedVectorElementType();
270         }
271     
272         /// Given a vector type, return the number of elements it contains.
273         unsigned getVectorNumElements() const {
274           assert(isVector() && "Invalid vector type!");
275           if (isSimple())
276             return V.getVectorNumElements();
277           return getExtendedVectorNumElements();
278         }

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list