Gentoo Archives: gentoo-hardened

From: Steve Wray <steve@××××××××××.nz>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] building hardened sources for UML?
Date: Tue, 10 May 2005 21:26:51
Message-Id: 42812718.7080802@myself.gen.nz
1 Hi there,
2 I've found a problem building a UML kernel from hardened sources.
3
4 When I run
5 make linux ARCH=um
6
7 it soon fails with;
8
9 kernel/ptrace.c: In function `ptrace_attach':
10 kernel/ptrace.c:138: error: `__KERNEL_TEXT_OFFSET' undeclared (first use
11 in this function)
12 kernel/ptrace.c:138: error: (Each undeclared identifier is reported only
13 once
14 kernel/ptrace.c:138: error: for each function it appears in.)
15 make[1]: *** [kernel/ptrace.o] Error 1
16 make: *** [kernel] Error 2
17
18
19 Building from 'regular' gentoo kernel sources works fine, even with the
20 security stuff selected (as per an selinux kernel).
21
22 Is this a known incompatibility?
23
24 Thanks!
25
26 --
27 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] building hardened sources for UML? pageexec@××××××××.hu