public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] Problems compiling xen - please help...
@ 2006-02-02 15:03 Ed W
  2006-02-02 15:48 ` Ned Ludd
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ed W @ 2006-02-02 15:03 UTC (permalink / raw
  To: gentoo-hardened

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:


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
-- 
gentoo-hardened@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-02-04 10:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 15:03 [gentoo-hardened] Problems compiling xen - please help Ed W
2006-02-02 15:48 ` Ned Ludd
2006-02-02 15:53   ` Ed W
2006-02-02 17:02     ` Ed W
2006-02-04 10:16     ` Peter S. Mazinger
2006-02-02 17:34 ` Kevin F. Quinn (Gentoo)
2006-02-02 17:52   ` Ed W
2006-02-02 17:59     ` Ed W
2006-02-02 18:18       ` Ned Ludd
2006-02-02 19:35         ` Kevin F. Quinn (Gentoo)
2006-02-02 20:35           ` Ned Ludd
2006-02-02 21:41             ` Kevin F. Quinn (Gentoo)
2006-02-04 10:12 ` Peter S. Mazinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox