Hi,
due to compilation problems with grsecurity I tried to use only the newer pax-patches.
Kernel: 2.6.22.1
Pax test6
LD GNU ld (GNU Binutils for Debian) 2.17.50.20070718
Hardware; Epia M10000 (VIA C3-II with 256 MB)
First test: compiling vanilla kernel... OK
Second test: patching kernel with pax-patch
make oldconfig NNN
make bzImage
Result:
...
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
ld: .tmp_vmlinux1: section `.data.percpu' can't be allocated in segment 0
ld: final link failed: Bad value
make: *** [.tmp_vmlinux1] Error 1
I'd conclude that pax is incompatible with the ld provided in debian unstable.
Also I'd conclude that without one option turned on the patch makes the compilation process fail. In other words: without choosing an option pax already changes the kernel-sources in a way that makes it incompatible with ld.
Any comments?
Patching ld to bypass sanity-checks does not sound like a good idea to me.
Provided the sanity checks are being executed in a just way.