[parisc-linux] Warning about bad kernel headers.
Carlos O'Donell
carlos at systemhalted.org
Sat Jul 15 16:26:20 MDT 2006
parisc-linux,
A quick warning, if your kernel headers file unistd.h contain "#define
PIC" then remove this line. It will cause all sorts of havoc when
building glibc. It won't be immediately visible when building, and
infact ld.so can compile quite happily and run with mixed pic non-pic
code.
However, when it comes time to doing real work with executables,
things go wrong. There are various TLS related tests which fail
immediately :)
This is corrected in parisc-linux cvs, but for example I have special
headers setup on my development box, and this bit me a while back (and
again recently when I copied the wrong and old headers).
Cheers,
Carlos.
More information about the parisc-linux
mailing list