Re: cmpxchg.h:245:2: error: ʽasmʼ operand has impossible constraints

From: Thomas Gleixner
Date: Fri Aug 31 2018 - 16:30:08 EST


On Fri, 31 Aug 2018, Meelis Roos wrote:
> > > While trying to compile v4.18-13105-gaba16dc5cf93 with gcc 5.3.1 on a
> > > 32-bit x86 configured for AMD K6:
> >
> > I tried to get hold of that debian gcc 5.3.1 compiler, but no luck so far.
>
> 5.3.1-14, seems to be available in
> http://snapshot.debian.org/package/gcc-5/5.3.1-14/#gcc-5_5.3.1-14 - the
> whole system is a snapshot of debian unstable when they stoooed
> supporting pre-686 CPUs.

Uurgh. That's going to be a nightmare to set that one up. Let's try to nail
it on your machine then. Can you try to generate the intermediate file by
invoking: make mm/slub.i ?

Thanks,

tglx