From owner-freebsd-toolchain@freebsd.org Mon Oct 17 21:25:29 2016 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 18174C161C6 for ; Mon, 17 Oct 2016 21:25:29 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7A97EB5 for ; Mon, 17 Oct 2016 21:25:28 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qt0-x235.google.com with SMTP id s49so135132621qta.0 for ; Mon, 17 Oct 2016 14:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=p9HEyMCWTLyP696iBk/Goc51s1HySmnbhsKqK8jow5U=; b=U4+n9uH28SgQ0W67gQOSYLy+y7/0kdYfZgyxM8qVzXCTwLrGUe9mqNpVgSz+WuIQFg 3PZxgWG762QisrTf3FNNxemVzlwBu9ocDRViF36M1LMS0kG6w058R3wGEcL0r/VZ2QHS DnUTjMyf0PbC46g1p436OVwe6KN6BqL6HIHAVk4CYVzYiFKormYtQYfr2nfoTtp2vGY8 o4ABlTPuvzP5fD+4ztMtWAoIfXAj+DgthLEI8DqjamOkAxv3OFqsvt6Dg8qT1F9A4d0v /VXqXyUJ4+JFUIIQoURCJ5vp8Fp7pV3/grUTqngGunt8p2J6se9J6RWKDMK0dd53NscT clJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=p9HEyMCWTLyP696iBk/Goc51s1HySmnbhsKqK8jow5U=; b=XaUcZZFwZPXDMrEKlSGd1Iq50lkelEFLlzguP2I9u4tu+5tkTnBHkljljGXDJvoxRo NSxZzwH7oCyzY8OA7mj/Cw4YkmPij/Ass24TrL/VMV4YVDGgbCPtiAQuO2wql5A/Ht/5 d+/reNOnTgJ1ITh1k8Hp6lQmejLeNMX6cUvY6nSZvGepalhPoiSmDF0gpQl8i2Yy0GAE rKIjEaq0vD0y49l/V6Zd9TzUhR8xWSN2W166HAnACsh+VcE+GfnRPNk4405Zi4bOc38h soISC2Ui8reJqGji9otE9yo0Wo6L86cSXkVcLsMDz03N5z7PYIBdXIFnAUTxrMzaUzrw aH1A== X-Gm-Message-State: AA6/9RlKFG/D1HwfVxBV7UVhjLPsF1Q5SbpsmtXzbPG6oP7x6fcjxDrqpq6unr8A/dWUBqZj X-Received: by 10.200.43.233 with SMTP id n38mr24388204qtn.139.1476739527924; Mon, 17 Oct 2016 14:25:27 -0700 (PDT) Received: from mutt-hardenedbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id q62sm16159505qkb.4.2016.10.17.14.25.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Oct 2016 14:25:26 -0700 (PDT) Date: Mon, 17 Oct 2016 17:25:25 -0400 From: Shawn Webb To: Ed Maste Cc: "freebsd-toolchain@freebsd.org" Subject: Re: RPI3 - clang 3.9.0 issues Message-ID: <20161017212525.GB20952@mutt-hardenedbsd> References: <20161017211143.GA20952@mutt-hardenedbsd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O5XBE6gyVG5Rl6Rj" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD mutt-hardenedbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: Mutt/1.6.1 (2016-04-27) 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: Mon, 17 Oct 2016 21:25:29 -0000 --O5XBE6gyVG5Rl6Rj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 17, 2016 at 05:18:42PM -0400, Ed Maste wrote: > On 17 October 2016 at 17:11, Shawn Webb wrot= e: > > > > When the kernel is compiled with clang 3.9.0, it seems to freeze after > > being loaded by the clang 3.8 boot1.efi/loader.efi. I'm unsure if it's > > actually frozen or if simply nothing is being outputted to the console. > > Either way, I don't see console messages and the RPI3 _appears_ frozen. >=20 > This will probably be a bit tricky to track down. Have you tried > booting a Clang 3.8-compiled kernel with a Clang 3.9 boot1.efi and > loader.efi? Do you get any kernel output, or nothing after the last > lines of loader output? I haven't. clang 3.9 boot1.efi won't run in the slightest. It crashes prior to me being able to even use printf. I could try a 3.9 loader.efi with some extra printf debugging, though. A clang 3.8 kernel works perfectly when matched with a clang 3.8 boot1.efi and loader.efi. The clang 3.9 kernel doesn't output a single thing. I could probably try some printf based debugging early in the process. But it's clear that loader.efi loads the kernel and tries to execute it. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --O5XBE6gyVG5Rl6Rj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYBUHCAAoJEGqEZY9SRW7uWXUP/3E7aNo4UVp0FMe4py1gG7D/ fNU5jK4Q/22E4oJg47v70WyAdFdfpFxjrqre45ntwEtBoXxIR0eNhzZpKQIWOGf7 gM3n/WU+8doCmNQ6V/HL5IAxoBnxPtb8cBjIcp4qDlPH0FHtfpx2xcndhC1n3JIw 1kJywinIDGtnT1PptylyaWaRs/oi6OtS7TpZTJ4OJ3CKtM6ZcY8k/cTKMd9rqhpF Zyyf7mPbpZaWz/9P8box4yR5399mGYbNoxPzdICTZQm6u0sWNeV9ZXTAK6p1jUVz uOnRujNVxAHW7xZhvrXYhTbt+GXOULTMiraapY7Jmw47uQgDpjUZeBQNLzhb2PCA 6+kwcOkEq66HYl4vQo1MznKliJ34ZZMWM5GSOdmHLc7XKbEF5/C23IpV3lEhFfAQ 37/depuv7brniJVonopyRmKvn41Q2idUerI6CYouktf+/XAg+6uKnrrVv/+feAx5 WWH8c3HZ1qhtT6HO375G5c5goBsUiDZNJSZBZg9jIz8HHG9kcF5RpHu85Zmb8EeW bK1pSmnoM4SUZdUI320zFViY1XGz3JNC/FW+ZZrOnsIN3XxwRGAmzE7u4kdQO2tt n7ti4Y5Xv/5knIUNGeWfD7GOgVoglDiM0jk+Ky23LFDTmesc/tPbHCk8x4sjMyew gDlcXFX8CnFNpTpFDrbt =CokU -----END PGP SIGNATURE----- --O5XBE6gyVG5Rl6Rj--