1 |
On 18/03/09 Alan McKinnon said: |
2 |
|
3 |
> Well, this is gentoo and we don't need no stinking Changelogs on gentoo :-) |
4 |
|
5 |
:) |
6 |
|
7 |
> Seriously, you are running a stable arch. All known issues should be resolved |
8 |
> by the time glibc hits stable. You can always askhere, or look at b.g.o for |
9 |
> any outstanding issues |
10 |
|
11 |
Bulgarian Gay Organization? Sorry, googling for b.g.o is dangerous. :) |
12 |
|
13 |
> No, it goes nowhere near that directory. It uses /usr/include/linux |
14 |
> |
15 |
> From your responses it seems like you haven't figured out yet how the whole |
16 |
> compile/link/header thing works, so here's the (quickish) version: |
17 |
|
18 |
Actually I do, but I don't go anywhere near the kernel so I wasn't sure of the |
19 |
relationship between glibc and the kernel interfaces. I'm just wondering if |
20 |
/usr/include/linux is ever incompatible with my kernel, and what to do about it if |
21 |
it is. |
22 |
|
23 |
> glibc in turn also needs headers for things it uses, and amongst others this |
24 |
> is the kernel headers in /usr/include/linux/. This doesn't have to be the same |
25 |
> headers for the kernel you are running, it just has to be compatible headers. |
26 |
> To prove this, just reboot and choose a different kernel. Everything works, |
27 |
> but glibc could not possibly have been built against both kernel's sources. |
28 |
|
29 |
I see that, for example, |
30 |
|
31 |
msoulier@anton:~$ equery belongs /usr/include/linux/quota.h |
32 |
[ Searching for file(s) /usr/include/linux/quota.h in *... ] |
33 |
sys-kernel/linux-headers-2.6.23-r3 (/usr/include/linux/quota.h) |
34 |
|
35 |
ulier@anton:~$ uname -a |
36 |
Linux anton 2.6.25-gentoo-r8 #9 Sun Nov 23 19:14:08 EST 2008 i686 AMD |
37 |
Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux |
38 |
|
39 |
So slightly off but compatible. At some point a newer glibc would simply fail |
40 |
to build if it's incompatible then, I assume? |
41 |
|
42 |
Looking on a CentOS box I see that they package that directory in a package |
43 |
called glibc-kernheaders. Makes sense... |
44 |
|
45 |
Thanks, |
46 |
Mike |
47 |
-- |
48 |
Michael P. Soulier <msoulier@×××××××××××××.ca> |
49 |
"Any intelligent fool can make things bigger and more complex... It takes a |
50 |
touch of genius - and a lot of courage to move in the opposite direction." |
51 |
--Albert Einstein |