From owner-freebsd-ppc@freebsd.org Mon Apr 4 20:19:52 2016 Return-Path: Delivered-To: freebsd-ppc@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 678E4B02EDB for ; Mon, 4 Apr 2016 20:19:52 +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 3E7781A42 for ; Mon, 4 Apr 2016 20:19:52 +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 u34KJpla014141 for ; Mon, 4 Apr 2016 20:19:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 207599] fixes for kernel built with clang failing to boot on ppc64 qemu Date: Mon, 04 Apr 2016 20:19:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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-ppc@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 20:19:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207599 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markmi@dsl-only.net --- Comment #1 from Mark Millard --- (In reply to Kenneth Salerno from comment #0) FYI: https://llvm.org/bugs/show_bug.cgi?id=3D25780 has a list of reports th= at FreeBSD requires to be fixed in order for clang to be the system compiler f= or powerpc and/or powerpc64. Some of the points are powerpc-only issues but so= me of the material also applies to powerpc64. (powerpc64 has had less checking/testing.) One of the major things messed up is C++ exception handling, with several issues contributing to the overall status. That in turn messes up being abl= e to use kyua for testing: kyua uses C++ exception handling extensively. The kernel's own code may systematically avoid using some of the messed up = code generation: most of the reported material that was based on testing is for buildworld attempts for TARGET_ARCH=3Dpowerpc. Some of the powerpc64 materi= al was just noted by someone to be analogous in the clang source code. Some of the code generation problems are reported to be low probability out= side the C++ exception handling context that forces certain examples of some more general issues. If you find more clang powerpc64 code generation problems it would be good = to add more reports on llvm.org/bugs and have them listed in llvm.org/bug's 25= 780. It may be that some of the material in the comments for some of the llvm.org/bugs submittals might eventually need their own submittals if the fixing-effort is sufficiently distinct. As stands some of the one-line descriptions only indicate an example of multiple related issues reported in the comments. --=20 You are receiving this mail because: You are the assignee for the bug.=