From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F5KSQ-00027K-5A for garchives@archives.gentoo.org; Sat, 04 Feb 2006 10:15:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k14ACPTQ017850; Sat, 4 Feb 2006 10:12:25 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.21]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k14ACOHP025810 for ; Sat, 4 Feb 2006 10:12:24 GMT Received: (qmail invoked by alias); 04 Feb 2006 10:12:27 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp001) with SMTP; 04 Feb 2006 11:12:27 +0100 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id D3AFA7811 for ; Sat, 4 Feb 2006 11:12:26 +0100 (CET) Received: from mail.bridge.intra ([127.0.0.1]) by localhost (lnx.bridge.intra [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03541-04 for ; Sat, 4 Feb 2006 11:12:11 +0100 (CET) Received: by mail.bridge.intra (Postfix, from userid 200) id 8B4C5B7FE; Sat, 4 Feb 2006 11:12:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id 686E67811 for ; Sat, 4 Feb 2006 11:12:11 +0100 (CET) Date: Sat, 4 Feb 2006 11:12:11 +0100 (CET) From: "Peter S. Mazinger" To: gentoo-hardened@lists.gentoo.org Subject: Re: [gentoo-hardened] Problems compiling xen - please help... In-Reply-To: <43E21F59.9070709@wildgooses.com> Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at localhost X-Y-GMX-Trusted: 0 X-Archives-Salt: f172faa8-b626-49fe-9184-f9f8fa31c8b3 X-Archives-Hash: 158e0acd4ba332f2038088eb877a960d On Thu, 2 Feb 2006, Ed W wrote: > I am trying to get Xen running under a hardened kernel. The machine is > currently booted with "selinux=1 enforcing=0". I am having trouble > compiling: the CFLAGS miss (at least) -DKERNEL > > > gcc -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc > -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -D__ASSEMBLY__ > -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 -c trap.S > gcc -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc > -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -c vm86.c > gcc -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc > -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -c setup.c > gcc -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc > -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -c util.c > cpp -P -DDEBUG -D_ACPI_ -DTEXTADDR=0x000D0000 vmxassist.ld > vmxassist.tmp > ld -o vmxassist -m elf_i386 -nostdlib --fatal-warnings -N -T > vmxassist.tmp head.o trap.o vm86.o setup.o util.o > vm86.o: In function `address': > vm86.c:(.text+0x19): undefined reference to `__guard' > vm86.c:(.text+0x56): undefined reference to `__stack_smash_handler' > vm86.o: In function `trace': > vm86.c:(.text+0xe9): undefined reference to `__guard' > vm86.c:(.text+0x141): undefined reference to `__guard' > vm86.c:(.text+0x15d): undefined reference to `__stack_smash_handler' > vm86.o: In function `getreg': > vm86.c:(.text+0x278): undefined reference to `__guard' > vm86.o: In function `.L23': > ...etc... > > > I have tried various combinations of compiler using gcc-config. Neither > gcc-3.4.4 or gcc-3.3.6 seem to do any better, hardened or not > > I suspect that this could be a problem with the compiler still using > some hardend profile despite me asking for a non-hardened gcc? Can > anyone please help debug this > > Ed W > -- Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2 -- gentoo-hardened@gentoo.org mailing list