From: Bahi, David <dbahi@en...> - 2004-08-09 22:13:13
right. clean tree builts w/o MODE_TT just fine.
had previously built with _BOTH_ modes; and then:
make ARCH=3Dum xconfig # turn MODE_TT off
make ARCH=3Dum dep
# make ARCH=3Dum clean # failed to do this. doh!
make ARCH=3Dum linux
given the chance, the macro does the job it should.
i don't suppose there is some depencency checking=20
that could be improved to fix this - requiring a=20
clean seems obsessive-compulsive <grin>.
pardon the noise.
> -----Original Message-----
> From: Jeff Dike [mailto:jdike@...]=20
> Sent: Monday, August 09, 2004 5:29 PM
> To: Bahi, David
> Cc: user-mode-linux-devel@...;=20
> Subject: Re: [uml-devel] PATCH -- Was: link error MODE_SKAS=20
> and ! MODE_TT in 2.4.26-2 + uml.sf.net patches=20
> dbahi@... said:
> > this patch fixes the unresolved link time error with a conditional
> > around the definition of CAN_KMALLOC=20
> I don't see that here. If you look at the definition of=20
> CHOOSE_MODE, you'll
> see that it's conditional on CONFIG_MODE_TT and=20
> CONFIG_MODE_SKAS in such a
> way that if a mode is configured out, any code associated=20
> with it disappears.
> I think you didn't do that build from a clean pool.
From: Jeff Dike <jdike@ad...> - 2004-08-09 22:51:32
> i don't suppose there is some depencency checking that could be
> improved to fix this - requiring a clean seems obsessive-compulsive
Probably. The UML build is in need of a good reaming. The other major
symptom of this is when you try a -j make.
Alle 01:52, marted=EC 10 agosto 2004, Jeff Dike ha scritto:
> dbahi@... said:
> > i don't suppose there is some depencency checking that could be
> > improved to fix this - requiring a clean seems obsessive-compulsive
> > <grin>.
> Probably. The UML build is in need of a good reaming. The other major
> symptom of this is when you try a -j make.
I've fixed that very properly in my tree. Please don't work on that right n=
I'll be back in a week or two. However I'm uploading a snapshot (2.6.7-bb6)=
just now. You will find it here, but please be careful (read comments in th=
series file). And remember I've worked onto 2.6.6-um1, so there is still a=
lot of common stuff.=20
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729