[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 Kubilay Kocak changed: What|Removed |Added Keywords||toolchain Hardware|Any |powerpc Assignee|toolch...@freebsd.org |d...@freebsd.org CC||toolch...@freebsd.org -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 Dimitry Andric changed: What|Removed |Added Status|Open|Closed Flags|mfc-stable11?, |mfc-stable11+, |mfc-stable12? |mfc-stable12+ Resolution|--- |FIXED --- Comment #12 from Dimitry Andric --- (In reply to Mark Millard from comment #9) > At this point I do not know how to repeat the newly > observed failure point. Ok, closing this bug now, as I merged the fix to both stable/11 and stable/12. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #11 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Wed May 29 18:32:44 UTC 2019 New revision: 348368 URL: https://svnweb.freebsd.org/changeset/base/348368 Log: MFC r348288: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test based on PR42010: https://bugs.llvm.org/show_bug.cgi?id=42010 ...may show an inaccuracy for PPC's target defs, but we should not be so aggressive with an assert here. There's no telling what out-of-tree targets look like. This fixes an assertion when building the graphics/mesa-dri port for PowerPC64. Approved by: re (kib) Reported by: Mark Millard PR: 238082 Changes: _U stable/11/ stable/11/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #10 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Wed May 29 18:23:18 UTC 2019 New revision: 348367 URL: https://svnweb.freebsd.org/changeset/base/348367 Log: MFC r348288: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test based on PR42010: https://bugs.llvm.org/show_bug.cgi?id=42010 ...may show an inaccuracy for PPC's target defs, but we should not be so aggressive with an assert here. There's no telling what out-of-tree targets look like. This fixes an assertion when building the graphics/mesa-dri port for PowerPC64. Reported by: Mark Millard PR: 238082 Changes: _U stable/12/ stable/12/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #9 from Mark Millard --- (In reply to Dimitry Andric from comment #7) poudriere bulk does not capture the /tmp/* files. When I attempted to reproduce outside poudriere via an expansion of the tar it produces (as my starting point), it failed to reproduce. Ultimately that lead to my comment #8 material, including a successful build via poudriere bulk as well. At this point I do not know how to repeat the newly observed failure point. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #7 from Dimitry Andric --- (In reply to Mark Millard from comment #6) > I finally got around to testing the patch with a > rebuild attempt for graphics/mesa-dri . It just > failed a different assert: ... > 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!"); Right, more tunnels in the rabbit hole. :) Can you please upload these new .c and .sh files dropped after the assertion? -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #6 from Mark Millard --- (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 0x132c7898 in abort () at /usr/src/lib/libc/stdlib/abort.c:80 #2 0x132d34bc in fprintf (fp=, fmt=) at /usr/src/lib/libc/stdio/fprintf.c:57 #3 0x132f6c64 in __assert (func=, file=, line=, failedexpr=) at /usr/src/lib/libc/gen/assert.c:51 #4 0x130f7c18 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 0x in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) . . . #4 0x130f7c18 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 the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 --- Comment #5 from commit-h...@freebsd.org --- A commit references this bug: Author: dim Date: Sun May 26 15:44:58 UTC 2019 New revision: 348288 URL: https://svnweb.freebsd.org/changeset/base/348288 Log: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test based on PR42010: https://bugs.llvm.org/show_bug.cgi?id=42010 ...may show an inaccuracy for PPC's target defs, but we should not be so aggressive with an assert here. There's no telling what out-of-tree targets look like. This fixes an assertion when building the graphics/mesa-dri port for PowerPC64. Reported by: Mark Millard PR: 238082 MFC after:3 days Changes: head/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 Kubilay Kocak changed: What|Removed |Added See Also||https://bugs.llvm.org/show_ ||bug.cgi?id=42010 Flags||mfc-stable11?, ||mfc-stable12? -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 Dimitry Andric changed: What|Removed |Added CC||d...@freebsd.org Status|New |Open --- Comment #4 from Dimitry Andric --- Reproduced, minimized and reported upstream here: https://bugs.llvm.org/show_bug.cgi?id=42010 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"
[Bug 238082] graphics/mesa-dri: clang 8 (from head@r347549) crashes during build on powerpc64 (WITH_CLANG_IS_CC)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238082 Jan Beich changed: What|Removed |Added Summary|system clang 8 on powerpc64 |graphics/mesa-dri: clang 8 |head -r347549 based system: |(from head@r347549) crashes |clang asserts with "Target |during build on powerpc64 |supports vector op, but |(WITH_CLANG_IS_CC) |scalar requires expansion?" | |for graphics/mesa-dri build | Keywords||regression Blocks||236062 --- Comment #3 from Jan Beich --- Clang 6.0.1 on 12.0 and devel/llvm70 before ports r490610 don't crash. Can someone bisect, minimize and submit upstream for feedback? $ sh nir_constant_expressions-9b094e.sh Assertion failed: (!TLI.isOperationLegalOrCustom(N->getOpcode(), WideVecVT) && "Target supports vector op, but scalar requires expansion?"), function WidenVectorResult, file /usr/src/contrib/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp, line 2532. Abort trap Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236062 [Bug 236062] [exp-run] Against projects/clang800-import branch -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-toolchain@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"