View Single Post
Old 05-11-2016, 04:44 PM   #108
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yeah, -mno-unaligned-access is recent-ish (I have the exact info jotted down somewhere).

For a potentially good reason: that was the default before the option was implemenbted (IIRC, pending confirmation).

EDIT: Yup, that's since GCC 4.7 (cf. https://gcc.gnu.org/gcc-4.7/changes.html).

And if you decide to try something up-to-date, I haven't had time to check GCC 6.1 (and the various changes, in particular the aliasing rules changes, don't necessarily make me eager to dive into it until the Gentoo tracker on that front gets thinner) yet, but I've had some wonderfully weird (and broken) experiences with GCC 5.3 until very recently... (That's with the Linaro tree, but, just to be safe, I'm going to recommend staying away from the FSF 5.3.0 release, too).

----

Sorry I can't be of more help, no experience playing w/ K1. I can only reiterate what was already said, the use of µclibc adds an extra layer of "fun" to your cross-compiling hurdles...

Last edited by NiLuJe; 05-11-2016 at 04:51 PM.
NiLuJe is offline   Reply With Quote