all compilation works well but final linking fails... will attach my .config I don't know if this is at all relevant but my compiler is gcc (GCC) 4.2.3 (Gentoo 4.2.3 p1.0) let me know if you need any more information the last couple of lines of output are: LD init/built-in.o LD .tmp_vmlinux1 fs/built-in.o:(.bss+0x1560): multiple definition of `pax_set_initial_flags_func' arch/x86_64/ia32/built-in.o:(.bss+0x10): first defined here fs/built-in.o: In function `__crc_pax_set_initial_flags_func': (*ABS*+0x8f63a128): multiple definition of `__crc_pax_set_initial_flags_func' make: *** [.tmp_vmlinux1] Error 1 I'm a bit confused about the category, there doesn't seem to be one for rsbac, but I guess it should be here, although the text for hardened only says: Hardened Gentoo is the project managing selinux, grsecurity, PaX and hardened-gcc. Reproducible: Always Steps to Reproduce: 1. cd to /usr/src/linux-2.6.23-rsbac-r1 1. make mrproper 2. copy .config file 3. make [-j2] I don't think emerge --info is of any use by let me know if it is and I will happily attach it.
Created attachment 144907 [details] my kernel configuration file (.config) this is the .config file with which the build failed
also happens with upstream linux-2.6.23.14-rsbac-1.3.7-pax-test15 didn't test the svn version (yet)
another update, this time all at a time, promise next time I will do the upstream research first and only after that make a bug report... sorry for the amount of comments... I tried building the svn version, but ran into some problems 1st some options - though not directly in pax or rsbac - in config file were not recognized 2nd I had to manually edit some files due to some rejects in the latest pax patch 3rd then make completed but didn't do the linking part, I had to run make bzImage which failed due to some completely different issue far before the part where my problem was So I decided since I can't find out if the problem is still there in the latest svn version to search the upstream (rsbac) bug reports for something related to my problem and if nothing is found report it... unfortunately this happened SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to localhost:25 (Operation not permitted) obviously I didn't receive the "promised" account creation confirmation e-mail - just in case anyone else runs into this problem - as a (very) temporary workaround for this problem I did a build without ia32 emulation support and the build was (as expected) successful
This is a dupe of bug 208331, I've CC kang@gentoo.org there. Guillaume, the patch you want is in hardened-patches, it is 4495. You'll probably also want 4485, 4490 and 4500 for 2.6.23.
*** This bug has been marked as a duplicate of bug 208331 ***