[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DDED44E.9070402@linux.intel.com>
Date: Thu, 26 May 2011 15:29:34 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
CC: Nicolas Pitre <nico@...xnic.net>,
Will Deacon <will.deacon@....com>,
Måns Rullgård <mans@...sr.com>,
Catalin Marinas <catalin.marinas@....com>,
lkml <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>, sam@...nborg.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: Do not allow unaligned accesses when CONFIG_ALIGNMENT_TRAP
> Catalin said in his mail "I haven't tried with -mno-unaligned-access, I
> suspect the variables on the stack would be aligned.". So I don't think
> we know enough to say whether -mno-unaligned-access avoids the stack
> packing.
It won't, the arm gcc code just checks flag_conserve_stack.
IMHO it's just a gcc bug. You should report it to
http://gcc.gnu.org/bugzilla
As a temporary workaround you can disable it in the kernel too, but as soon
as the compiler it's fixed I would recommend considering to reenable it.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists