Thread (9 messages) 9 messages, 6 authors, 2016-08-03

Re: [memcg:auto-latest 238/243] include/linux/compiler-gcc.h:243:38: error: impossible constraint in 'asm'

From: Michal Hocko <hidden>
Date: 2016-08-01 15:29:37

On Mon 01-08-16 11:00:50, Jason Baron wrote:
On 07/31/2016 08:11 AM, Michal Hocko wrote:
quoted
It seems that this has been already reported and Jason has noticed [1] that
the problem is in the disabled optimizations:

$ grep CRYPTO_DEV_UX500_DEBUG .config
CONFIG_CRYPTO_DEV_UX500_DEBUG=y

if I disable this particular option the code compiles just fine. I have
no idea what is wrong about the code but it seems to depend on
optimizations enabled which sounds a bit scrary...

[1] http://www.spinics.net/lists/linux-mm/msg109590.html

Hi,

There was a patch from Arnd Bergmann to address this
issue by removing the usage of -O0 here, included in
linux-next:

https://marc.info/?l=linux-kernel&m=146701898520633&w=2
AFAIU the code should be fixed as well. See
http://lkml.kernel.org/r/35a0878d-84bd-ad93-8810-23c861ed464e@suse.cz
-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help