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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082

--- Comment #6 from Mark Millard <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.