From owner-freebsd-toolchain@freebsd.org Sun Aug 27 19:35:25 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC7D1DF6BB6 for ; Sun, 27 Aug 2017 19:35:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9268D80528 for ; Sun, 27 Aug 2017 19:35:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7RJZPnQ002497 for ; Sun, 27 Aug 2017 19:35:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 221864] clang 5.0 crashes on assert: "replacement types must always be canonical" Date: Sun, 27 Aug 2017 19:35:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2017 19:35:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221864 Bug ID: 221864 Summary: clang 5.0 crashes on assert: "replacement types must always be canonical" Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: needs-qa Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-toolchain@FreeBSD.org Reporter: jbeich@FreeBSD.org Created attachment 185824 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185824&action= =3Dedit src/llvm_wrapper/llvm_wrapper.cpp (preprocessed, compressed) $ pkg install llvm40 cmake sdl2 git $ cd /tmp $ git clone https://github.com/programmerjake/vulkan-cpu $ cd vulkan-cpu $ cmake . $ make [...] [ 2%] Building CXX object src/llvm_wrapper/CMakeFiles/vulkan_cpu_llvm_wrapper.dir/llvm_wrapper.cpp.o cd /tmp/vulkan-cpu/src/llvm_wrapper && /usr/bin/CC=20=20 -I/usr/local/llvm40/include -I/tmp/vulkan-cpu/src -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -ftemplate-depth=3D1024 -Werror "-Wno-error=3D#warnings" -std=3Dgnu++14 -o CMakeFiles/vulkan_cpu_llvm_wrapper.dir/llvm_wrapper.cpp.o -c /tmp/vulkan-cpu/src/llvm_wrapper/llvm_wrapper.cpp Assertion failed: (Replacement.isCanonical() && "replacement types must alw= ays be canonical"), function getSubstTemplateTypeParmType, file /poudriere/jails/head-amd64/usr/src/contrib/llvm/tools/clang/lib/AST/ASTCon= text.cpp, line 3520. c++: error: unable to execute command: Abort trap c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 5.0.0 (trunk 308421) (based on LLVM 5.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preproces= sed source, and associated run script. c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/llvm_wrapper-eb0531.cpp c++: note: diagnostic msg: /tmp/llvm_wrapper-eb0531.sh c++: note: diagnostic msg: ******************** *** Error code 254 --=20 You are receiving this mail because: You are the assignee for the bug.=