Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211847 - rsbac-sources-2.6.23-r1 build fails - pax related issue
Summary: rsbac-sources-2.6.23-r1 build fails - pax related issue
Status: RESOLVED DUPLICATE of bug 208331
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Guillaume Destuynder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 22:32 UTC by Radu Benea
Modified: 2008-02-29 18:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my kernel configuration file (.config) (.config,52.88 KB, text/plain)
2008-02-28 22:35 UTC, Radu Benea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Benea 2008-02-28 22:32:29 UTC
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.
Comment 1 Radu Benea 2008-02-28 22:35:33 UTC
Created attachment 144907 [details]
my kernel configuration file (.config)

this is the .config file with which the build failed
Comment 2 Radu Benea 2008-02-28 22:58:48 UTC
also happens with upstream linux-2.6.23.14-rsbac-1.3.7-pax-test15 didn't test the svn version (yet)
Comment 3 Radu Benea 2008-02-28 23:59:54 UTC
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
Comment 4 Gordon Malm (RETIRED) gentoo-dev 2008-02-29 08:29:18 UTC
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.
Comment 5 kfm 2008-02-29 18:06:36 UTC

*** This bug has been marked as a duplicate of bug 208331 ***