Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-19 Thread DJ Lucas
DJ Lucas wrote: Jan 10, 1998 to overcome a problem with linux-2.1.18. Whoops. Wrong long entry! Let me correct that Mar 31, 2004 to correct a problem with 2.4 and 2.6. May still be unneeded. -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscrat

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-19 Thread DJ Lucas
Jürg Billeter wrote: On Son, 2006-03-19 at 12:28 -0600, DJ Lucas wrote: I'm using with the compat headers (modified from Jurg's version of the script) and glibc-2.3.6. Did not use Jurg's patch, well I did, but came across the same types of errors. After adding to ipaddress.c and ifstat.c,

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-19 Thread Jürg Billeter
On Son, 2006-03-19 at 12:28 -0600, DJ Lucas wrote: > Jürg Billeter wrote: > > > > Yes, as I've written before, iproute2 is one of the problematic > > packages. Besides fixing the includes[1] you need to remove the local > > copy of the not sanitized kernel headers, i.e. rm -r include/linux[2] > I

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-19 Thread DJ Lucas
Jürg Billeter wrote: Yes, as I've written before, iproute2 is one of the problematic packages. Besides fixing the includes[1] you need to remove the local copy of the not sanitized kernel headers, i.e. rm -r include/linux[2] Jürg [1] http://www.paldo.org/paldo/sources/iproute2/iproute2-2.6.15

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Jürg Billeter
On Son, 2006-03-19 at 00:31 +, Andrew Benton wrote: > Jürg Billeter wrote: > > I've integrated most of your changes and put it online at > > http://www.paldo.org/headers/linux-glibc-headers-20060318 > > I changed the error messages in linux/compiler.h and linux/config.h to > > warnings to reall

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Andrew Benton
Jürg Billeter wrote: I've integrated most of your changes and put it online at http://www.paldo.org/headers/linux-glibc-headers-20060318 I changed the error messages in linux/compiler.h and linux/config.h to warnings to really be a compatibility header. Thanks Jürg. With that script I made the

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Bryan Kadzban
Jürg Billeter wrote: > It's right that they gain nothing in the for loops. I've added the > "backticks" to the REMOVE_HEADERS lines on purpose, though, as the > shell doesn't expand braces when defining variables but probably > there is a better way to get expanded variables, don't know. Hmm...

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread DJ Lucas
Jürg Billeter wrote: I've also removed the asm-generic flattening as I don't see any benefit in doing that but maybe there is, then please explain. Not really any benifit other than it was done with previous LLH. The one minor benefit is one less directory. That's it. :-) It adds about 3

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Jürg Billeter
On Sam, 2006-03-18 at 08:24 -0500, Bryan Kadzban wrote: > DJ Lucas wrote: > > for FILE in `echo > > linux/{acct.h,quota.h,resource.h,socket.h,stat.h,time.h,timex.h,un.h,wait.h}` > > Er, hang on here -- why are the echo and the backquotes in there? (I > should note that they're in Jürg's script a

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Jürg Billeter
On Fre, 2006-03-17 at 23:37 -0600, DJ Lucas wrote: > Using the above notes, I've added the following to Jürg's version of the > script so to create the 'compatibility' headers. Of course these > could be created once and be copied too...just figured I'd add to the > script so no local files m

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread DJ Lucas
Bryan Kadzban wrote: DJ Lucas wrote: for FILE in `echo linux/{acct.h,quota.h,resource.h,socket.h,stat.h,time.h,timex.h,un.h,wait.h}` Er, hang on here -- why are the echo and the backquotes in there? (I should note that they're in Jürg's script as well.) They gain nothing, and waste at leas

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-18 Thread Bryan Kadzban
DJ Lucas wrote: > for FILE in `echo > linux/{acct.h,quota.h,resource.h,socket.h,stat.h,time.h,timex.h,un.h,wait.h}` Er, hang on here -- why are the echo and the backquotes in there? (I should note that they're in Jürg's script as well.) They gain nothing, and waste at least one process. (I bel

Re: RFC - Raw Kernel Headers -- Compatibility scripts

2006-03-17 Thread DJ Lucas
Jürg Billeter wrote: On Die, 2006-03-14 at 22:01 +0100, Jürg Billeter wrote: On Die, 2006-03-14 at 14:10 +0100, Jürg Billeter wrote: * Verify headers with real applications Will do a full distro (800 packages) recompilation with these headers sometime this week and fix headers resp. applica