Skip to contentSkip to conversation

arch/i386/Kconfig.cpu considered harmful

uml-devel Jeff Dike 2 participants 2 messages May 3, 2006 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

Do we really need to pull that into the UML Kconfig? We need some of the things it defines, like X86_CMPXCHG, but people keep discovering that menu and trying to set it to match the host, causing compilation problems when that pulls in headers that UML doesn't have.

I think I would like to dump Kconfig.cpu and define for ourselves the symbols that we need.

Jeff

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 4 lines · Jeff Dike

Do we really need to pull that into the UML Kconfig? We need some of the things it defines, like X86_CMPXCHG, but people keep discovering that menu and trying to set it to match the host, causing compilation problems when that pulls in headers that UML doesn't have.

Yes, I didn't fix these problems. I've been fairly lazy, I must admit this.

Quoted 2 lines

I think I would like to dump Kconfig.cpu and define for ourselves the symbols that we need.

How do you let the user choose the CPU he wants to optimize for? That was the first purpose of what I did - optimizing for 386 isn't exactly the best thing to do (and we've done this, till the menu was introduced).

We can restrict the choices in the menu, for now, with a dependency on ! UML for the ones which don't work (i.e. the ones using 3DNow in string operations, IIRC). M686, Athlon and likely Pentium 4 work at least.

Signature · 17 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel