Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2016 17:25:25 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        "freebsd-toolchain@freebsd.org" <freebsd-toolchain@freebsd.org>
Subject:   Re: RPI3 - clang 3.9.0 issues
Message-ID:  <20161017212525.GB20952@mutt-hardenedbsd>
In-Reply-To: <CAPyFy2DMhkUY3MV=%2BbXmFeCiJidQa%2B72_MacLaRXyO2DhnZtTg@mail.gmail.com>
References:  <20161017211143.GA20952@mutt-hardenedbsd> <CAPyFy2DMhkUY3MV=%2BbXmFeCiJidQa%2B72_MacLaRXyO2DhnZtTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <shawn.webb@hardenedbsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161017212525.GB20952>