Page 1 of 1
2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 4:01 am
by coderx
CC kernel/futex.o
In file included from include/asm/futex.h:2,
from kernel/futex.c:59:
include/asm/futex_32.h: In function `futex_atomic_op_inuser':
include/asm/futex_32.h:81: error: syntax error before "lock"
include/asm/futex_32.h:81: error: `cmpxchgl' undeclared (first use in this function)
include/asm/futex_32.h:81: error: (Each undeclared identifier is reported only once
include/asm/futex_32.h:81: error: for each function it appears in.)
include/asm/futex_32.h:81: error: syntax error before '%' token
include/asm/futex_32.h:81: error: stray '\' in program
In file included from include/asm/futex.h:2,
from kernel/futex.c:59:
include/asm/futex_32.h:82:14: invalid suffix "b" on integer constant
include/asm/futex_32.h:81: error: stray '\' in program
include/asm/futex_32.h:81: error: stray '\' in program
include/asm/futex_32.h:81: error: stray '\' in program
include/asm/futex_32.h:81: error: stray '\' in program
include/asm/futex_32.h:85: error: syntax error before "lock"
include/asm/futex_32.h:85: error: syntax error before '%' token
include/asm/futex_32.h:85: error: stray '\' in program
include/asm/futex_32.h:86:15: invalid suffix "b" on integer constant
include/asm/futex_32.h:85: error: stray '\' in program
include/asm/futex_32.h:85: error: stray '\' in program
include/asm/futex_32.h:85: error: stray '\' in program
include/asm/futex_32.h:85: error: stray '\' in program
include/asm/futex_32.h:89: error: syntax error before "lock"
include/asm/futex_32.h:89: error: syntax error before '%' token
include/asm/futex_32.h:89: error: stray '\' in program
include/asm/futex_32.h:90:14: invalid suffix "b" on integer constant
include/asm/futex_32.h:89: error: stray '\' in program
include/asm/futex_32.h:89: error: stray '\' in program
include/asm/futex_32.h:89: error: stray '\' in program
include/asm/futex_32.h:89: error: stray '\' in program
include/asm/futex_32.h:58: warning: unused variable `tem'
make[1]: *** [kernel/futex.o] Error 1
make: *** [kernel] Error 2
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 6:39 am
by FRLinux
I concur, I am having the exact same error. What I did was getting patch 2.6.24.4 then apply latest grsecurity patch. Copied my .config from 2.6.24.2 then tried to compile.
Steph
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 6:52 am
by FRLinux
coderx wrote:CC kernel/futex.o
In file included from include/asm/futex.h:2,
from kernel/futex.c:59:
include/asm/futex_32.h: In function `futex_atomic_op_inuser':
include/asm/futex_32.h:81: error: syntax error before "lock"
include/asm/futex_32.h:81: error: `cmpxchgl' undeclared (first use in this function)
Mmmh, looks awfully similar to this :
http://kerneltrap.org/mailarchive/linux ... 2/8/786084Steph
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 7:13 am
by vik
Hello,
actually the patch does not cleanly apply:
3 out of 7 hunks FAILED -- saving rejects to file linux-2.6.24.4/include/asm-x86/futex_32.h.rej
Victor
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 9:35 am
by FRLinux
On a clean 2.6.24 + 2.6.24.4 patch, it does apply fine.
- Code: Select all
~/linux-2.6.24$ cat ../grsecurity-2.1.11-2.6.24.4-200803242230.patch |patch -p1
patching file arch/alpha/kernel/module.c
patching file arch/alpha/kernel/osf_sys.c
patching file arch/alpha/kernel/ptrace.c
patching file arch/alpha/mm/fault.c
patching file arch/arm/mm/mmap.c
patching file arch/avr32/mm/fault.c
patching file arch/ia64/ia32/binfmt_elf32.c
patching file arch/ia64/ia32/ia32priv.h
patching file arch/ia64/kernel/module.c
patching file arch/ia64/kernel/ptrace.c
patching file arch/ia64/kernel/sys_ia64.c
patching file arch/ia64/mm/fault.c
patching file arch/ia64/mm/init.c
patching file arch/mips/kernel/binfmt_elfn32.c
patching file arch/mips/kernel/binfmt_elfo32.c
patching file arch/mips/kernel/syscall.c
patching file arch/mips/mm/fault.c
patching file arch/parisc/kernel/module.c
patching file arch/parisc/kernel/sys_parisc.c
patching file arch/parisc/kernel/traps.c
patching file arch/parisc/mm/fault.c
patching file arch/powerpc/kernel/module_32.c
patching file arch/powerpc/kernel/signal_32.c
patching file arch/powerpc/kernel/signal_64.c
patching file arch/powerpc/kernel/vdso.c
patching file arch/powerpc/mm/fault.c
patching file arch/powerpc/mm/mmap.c
patching file arch/ppc/mm/fault.c
patching file arch/s390/kernel/module.c
patching file arch/sparc/kernel/ptrace.c
patching file arch/sparc/kernel/sys_sparc.c
patching file arch/sparc/Makefile
patching file arch/sparc/mm/fault.c
patching file arch/sparc/mm/init.c
patching file arch/sparc/mm/srmmu.c
patching file arch/sparc64/kernel/Makefile
patching file arch/sparc64/kernel/ptrace.c
patching file arch/sparc64/kernel/sys_sparc.c
patching file arch/sparc64/mm/fault.c
patching file arch/sparc64/mm/Makefile
patching file arch/v850/kernel/module.c
patching file arch/x86/boot/bitops.h
patching file arch/x86/boot/boot.h
patching file arch/x86/boot/compressed/head_32.S
patching file arch/x86/boot/compressed/misc_32.c
patching file arch/x86/boot/compressed/relocs.c
patching file arch/x86/boot/cpucheck.c
patching file arch/x86/boot/edd.c
patching file arch/x86/boot/main.c
patching file arch/x86/boot/mca.c
patching file arch/x86/boot/memory.c
patching file arch/x86/boot/video.c
patching file arch/x86/boot/video-vesa.c
patching file arch/x86/boot/video-vga.c
patching file arch/x86/boot/voyager.c
patching file arch/x86/ia32/ia32_binfmt.c
patching file arch/x86/ia32/ia32_signal.c
patching file arch/x86/ia32/mmap32.c
patching file arch/x86/ia32/ptrace32.c
patching file arch/x86/ia32/syscall32.c
patching file arch/x86/Kconfig
patching file arch/x86/Kconfig.cpu
patching file arch/x86/Kconfig.debug
patching file arch/x86/kernel/acpi/boot.c
patching file arch/x86/kernel/acpi/sleep_32.c
patching file arch/x86/kernel/acpi/wakeup_32.S
patching file arch/x86/kernel/alternative.c
patching file arch/x86/kernel/apm_32.c
patching file arch/x86/kernel/asm-offsets_32.c
patching file arch/x86/kernel/asm-offsets_64.c
patching file arch/x86/kernel/cpu/common.c
patching file arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
patching file arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
patching file arch/x86/kernel/cpu/intel.c
patching file arch/x86/kernel/cpu/intel_cacheinfo.c
patching file arch/x86/kernel/cpu/mcheck/mce_64.c
patching file arch/x86/kernel/cpu/mtrr/generic.c
patching file arch/x86/kernel/crash.c
patching file arch/x86/kernel/doublefault_32.c
patching file arch/x86/kernel/efi_32.c
patching file arch/x86/kernel/efi_stub_32.S
patching file arch/x86/kernel/entry_32.S
patching file arch/x86/kernel/entry_64.S
patching file arch/x86/kernel/head_32.S
patching file arch/x86/kernel/head64.c
patching file arch/x86/kernel/head_64.S
patching file arch/x86/kernel/hpet.c
patching file arch/x86/kernel/i386_ksyms_32.c
patching file arch/x86/kernel/init_task.c
patching file arch/x86/kernel/ioport_32.c
patching file arch/x86/kernel/ioport_64.c
patching file arch/x86/kernel/irq_32.c
patching file arch/x86/kernel/kprobes_32.c
patching file arch/x86/kernel/kprobes_64.c
patching file arch/x86/kernel/ldt_32.c
patching file arch/x86/kernel/machine_kexec_32.c
patching file arch/x86/kernel/Makefile_64
patching file arch/x86/kernel/module_32.c
patching file arch/x86/kernel/module_64.c
patching file arch/x86/kernel/paravirt_32.c
patching file arch/x86/kernel/process_32.c
patching file arch/x86/kernel/process_64.c
patching file arch/x86/kernel/ptrace_32.c
patching file arch/x86/kernel/ptrace_64.c
patching file arch/x86/kernel/reboot_32.c
patching file arch/x86/kernel/setup_32.c
patching file arch/x86/kernel/setup64.c
patching file arch/x86/kernel/signal_32.c
patching file arch/x86/kernel/signal_64.c
patching file arch/x86/kernel/smp_32.c
patching file arch/x86/kernel/smpboot_32.c
patching file arch/x86/kernel/smpboot_64.c
patching file arch/x86/kernel/smpcommon_32.c
patching file arch/x86/kernel/suspend_64.c
patching file arch/x86/kernel/syscall_table_32.S
patching file arch/x86/kernel/sysenter_32.c
patching file arch/x86/kernel/sys_i386_32.c
patching file arch/x86/kernel/sys_x86_64.c
patching file arch/x86/kernel/time_32.c
patching file arch/x86/kernel/traps_32.c
patching file arch/x86/kernel/tsc_32.c
patching file arch/x86/kernel/vm86_32.c
patching file arch/x86/kernel/vmi_32.c
patching file arch/x86/kernel/vmlinux_32.lds.S
patching file arch/x86/kernel/vmlinux_64.lds.S
patching file arch/x86/kernel/vsyscall_64.c
patching file arch/x86/lib/checksum_32.S
patching file arch/x86/lib/clear_page_64.S
patching file arch/x86/lib/copy_page_64.S
patching file arch/x86/lib/copy_user_64.S
patching file arch/x86/lib/getuser_32.S
patching file arch/x86/lib/memcpy_64.S
patching file arch/x86/lib/memset_64.S
patching file arch/x86/lib/mmx_32.c
patching file arch/x86/lib/putuser_32.S
patching file arch/x86/lib/usercopy_32.c
patching file arch/x86/mach-voyager/voyager_basic.c
patching file arch/x86/mach-voyager/voyager_smp.c
patching file arch/x86/mm/boot_ioremap_32.c
patching file arch/x86/mm/extable_32.c
patching file arch/x86/mm/extable_64.c
patching file arch/x86/mm/fault_32.c
patching file arch/x86/mm/fault_64.c
patching file arch/x86/mm/highmem_32.c
patching file arch/x86/mm/hugetlbpage.c
patching file arch/x86/mm/init_32.c
patching file arch/x86/mm/init_64.c
patching file arch/x86/mm/ioremap_32.c
patching file arch/x86/mm/ioremap_64.c
patching file arch/x86/mm/mmap_32.c
patching file arch/x86/mm/mmap_64.c
patching file arch/x86/mm/numa_64.c
patching file arch/x86/mm/pageattr_32.c
patching file arch/x86/mm/pageattr_64.c
patching file arch/x86/mm/pgtable_32.c
patching file arch/x86/oprofile/backtrace.c
patching file arch/x86/oprofile/op_model_p4.c
patching file arch/x86/pci/common.c
patching file arch/x86/pci/early.c
patching file arch/x86/pci/fixup.c
patching file arch/x86/pci/irq.c
patching file arch/x86/pci/pcbios.c
patching file arch/x86/power/cpu.c
patching file arch/x86/vdso/vma.c
patching file arch/x86/xen/enlighten.c
patching file arch/x86/xen/smp.c
patching file crypto/async_tx/async_tx.c
patching file crypto/lrw.c
patching file Documentation/dontdiff
patching file drivers/acpi/blacklist.c
patching file drivers/acpi/osl.c
patching file drivers/acpi/processor_core.c
patching file drivers/acpi/processor_idle.c
patching file drivers/acpi/sleep/main.c
patching file drivers/acpi/tables/tbfadt.c
patching file drivers/acpi/tables/tbxface.c
patching file drivers/ata/ahci.c
patching file drivers/ata/ata_piix.c
patching file drivers/ata/libata-core.c
patching file drivers/char/agp/frontend.c
patching file drivers/char/agp/intel-agp.c
patching file drivers/char/drm/drm_pciids.h
patching file drivers/char/hpet.c
patching file drivers/char/keyboard.c
patching file drivers/char/mem.c
patching file drivers/char/nvram.c
patching file drivers/char/random.c
patching file drivers/char/vt_ioctl.c
patching file drivers/edac/edac_core.h
patching file drivers/firmware/dmi_scan.c
patching file drivers/hwmon/fscpos.c
patching file drivers/hwmon/k8temp.c
patching file drivers/hwmon/sis5595.c
patching file drivers/hwmon/thmc50.c
patching file drivers/hwmon/via686a.c
patching file drivers/hwmon/vt8231.c
patching file drivers/hwmon/w83791d.c
patching file drivers/i2c/busses/i2c-i801.c
patching file drivers/i2c/busses/i2c-i810.c
patching file drivers/i2c/busses/i2c-piix4.c
patching file drivers/i2c/busses/i2c-sis630.c
patching file drivers/i2c/busses/i2c-sis96x.c
patching file drivers/ide/ide-cd.c
patching file drivers/ieee1394/dv1394.c
patching file drivers/ieee1394/eth1394.c
patching file drivers/ieee1394/hosts.c
patching file drivers/ieee1394/ohci1394.c
patching file drivers/ieee1394/raw1394.c
patching file drivers/ieee1394/sbp2.c
patching file drivers/ieee1394/video1394.c
patching file drivers/input/keyboard/atkbd.c
patching file drivers/input/mouse/lifebook.c
patching file drivers/input/mouse/psmouse-base.c
patching file drivers/input/mouse/synaptics.c
patching file drivers/input/mousedev.c
patching file drivers/input/serio/i8042-x86ia64io.h
patching file drivers/input/serio/serio_raw.c
patching file drivers/kvm/kvm_main.c
patching file drivers/kvm/svm.c
patching file drivers/kvm/vmx.c
patching file drivers/md/bitmap.c
patching file drivers/mtd/devices/doc2000.c
patching file drivers/mtd/devices/doc2001.c
patching file drivers/mtd/devices/doc2001plus.c
patching file drivers/mtd/devices/slram.c
patching file drivers/mtd/ubi/build.c
patching file drivers/net/eepro100.c
patching file drivers/net/irda/vlsi_ir.c
patching file drivers/net/pcnet32.c
patching file drivers/net/tg3.h
patching file drivers/pci/hotplug/cpqphp_nvram.c
patching file drivers/pci/pcie/aer/aerdrv.c
patching file drivers/pci/pcie/aer/aerdrv_core.c
patching file drivers/pci/pcie/portdrv_pci.c
patching file drivers/pci/proc.c
patching file drivers/pcmcia/ti113x.h
patching file drivers/pcmcia/yenta_socket.c
patching file drivers/pnp/pnpbios/bioscalls.c
patching file drivers/pnp/quirks.c
patching file drivers/pnp/resource.c
patching file drivers/scsi/scsi_logging.h
patching file drivers/serial/8250_pci.c
patching file drivers/usb/class/cdc-acm.c
patching file drivers/usb/class/usblp.c
patching file drivers/usb/core/hub.c
patching file drivers/usb/host/ehci-pci.c
patching file drivers/usb/host/uhci-hcd.c
patching file drivers/usb/storage/debug.h
patching file drivers/usb/storage/usb.c
patching file drivers/video/fbcmap.c
patching file drivers/video/fbmem.c
patching file drivers/video/fbmon.c
patching file drivers/video/i810/i810_accel.c
patching file drivers/video/i810/i810_main.c
patching file drivers/video/modedb.c
patching file drivers/video/uvesafb.c
patching file drivers/video/vesafb.c
patching file fs/9p/vfs_inode.c
patching file fs/aio.c
patching file fs/autofs4/symlink.c
patching file fs/befs/linuxvfs.c
patching file fs/binfmt_aout.c
patching file fs/binfmt_elf.c
patching file fs/binfmt_flat.c
patching file fs/binfmt_misc.c
patching file fs/buffer.c
patching file fs/cifs/cifs_uniupr.h
patching file fs/cifs/link.c
patching file fs/compat.c
patching file fs/compat_ioctl.c
patching file fs/debugfs/inode.c
patching file fs/exec.c
patching file fs/ext2/balloc.c
patching file fs/ext3/balloc.c
patching file fs/ext3/namei.c
patching file fs/ext3/xattr.c
patching file fs/ext4/balloc.c
patching file fs/ext4/namei.c
patching file fs/fcntl.c
patching file fs/fuse/control.c
patching file fs/fuse/dir.c
patching file fs/hfs/inode.c
patching file fs/hfsplus/inode.c
patching file fs/jffs2/debug.h
patching file fs/jffs2/erase.c
patching file fs/jffs2/summary.h
patching file fs/jffs2/wbuf.c
patching file fs/Kconfig
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/nfs/callback_xdr.c
patching file fs/nfs/nfs4proc.c
patching file fs/nfsd/export.c
patching file fs/nfsd/nfs4state.c
patching file fs/nls/nls_base.c
patching file fs/ntfs/file.c
patching file fs/open.c
patching file fs/partitions/efi.c
patching file fs/pipe.c
patching file fs/proc/array.c
patching file fs/proc/base.c
patching file fs/proc/inode.c
patching file fs/proc/internal.h
patching file fs/proc/proc_misc.c
patching file fs/proc/proc_net.c
patching file fs/proc/proc_sysctl.c
patching file fs/proc/root.c
patching file fs/proc/task_mmu.c
patching file fs/readdir.c
patching file fs/smbfs/symlink.c
patching file fs/sysfs/symlink.c
patching file fs/udf/balloc.c
patching file fs/udf/inode.c
patching file fs/ufs/inode.c
patching file fs/utimes.c
patching file fs/xfs/linux-2.6/xfs_iops.c
patching file fs/xfs/xfs_bmap.c
patching file grsecurity/gracl_alloc.c
patching file grsecurity/gracl.c
patching file grsecurity/gracl_cap.c
patching file grsecurity/gracl_fs.c
patching file grsecurity/gracl_ip.c
patching file grsecurity/gracl_learn.c
patching file grsecurity/gracl_res.c
patching file grsecurity/gracl_segv.c
patching file grsecurity/gracl_shm.c
patching file grsecurity/grsec_chdir.c
patching file grsecurity/grsec_chroot.c
patching file grsecurity/grsec_disabled.c
patching file grsecurity/grsec_exec.c
patching file grsecurity/grsec_fifo.c
patching file grsecurity/grsec_fork.c
patching file grsecurity/grsec_init.c
patching file grsecurity/grsec_ipc.c
patching file grsecurity/grsec_link.c
patching file grsecurity/grsec_log.c
patching file grsecurity/grsec_mem.c
patching file grsecurity/grsec_mount.c
patching file grsecurity/grsec_sig.c
patching file grsecurity/grsec_sock.c
patching file grsecurity/grsec_sysctl.c
patching file grsecurity/grsec_textrel.c
patching file grsecurity/grsec_time.c
patching file grsecurity/grsec_tpe.c
patching file grsecurity/grsum.c
patching file grsecurity/Kconfig
patching file grsecurity/Makefile
patching file include/acpi/acpiosxf.h
patching file include/asm-alpha/a.out.h
patching file include/asm-alpha/elf.h
patching file include/asm-alpha/kmap_types.h
patching file include/asm-alpha/pgtable.h
patching file include/asm-arm/a.out.h
patching file include/asm-arm/elf.h
patching file include/asm-arm/kmap_types.h
patching file include/asm-avr32/a.out.h
patching file include/asm-avr32/elf.h
patching file include/asm-avr32/kmap_types.h
patching file include/asm-blackfin/kmap_types.h
patching file include/asm-cris/kmap_types.h
patching file include/asm-frv/kmap_types.h
patching file include/asm-generic/futex.h
patching file include/asm-generic/vmlinux.lds.h
patching file include/asm-h8300/kmap_types.h
patching file include/asm-ia64/elf.h
patching file include/asm-ia64/kmap_types.h
patching file include/asm-ia64/pgtable.h
patching file include/asm-ia64/processor.h
patching file include/asm-ia64/ustack.h
patching file include/asm-m32r/kmap_types.h
patching file include/asm-m68k/kmap_types.h
patching file include/asm-m68knommu/kmap_types.h
patching file include/asm-mips/a.out.h
patching file include/asm-mips/elf.h
patching file include/asm-mips/kmap_types.h
patching file include/asm-mips/page.h
patching file include/asm-mips/system.h
patching file include/asm-parisc/a.out.h
patching file include/asm-parisc/elf.h
patching file include/asm-parisc/kmap_types.h
patching file include/asm-parisc/pgtable.h
patching file include/asm-powerpc/a.out.h
patching file include/asm-powerpc/elf.h
patching file include/asm-powerpc/kmap_types.h
patching file include/asm-powerpc/page_64.h
patching file include/asm-powerpc/page.h
patching file include/asm-ppc/mmu_context.h
patching file include/asm-ppc/pgtable.h
patching file include/asm-s390/kmap_types.h
patching file include/asm-sh/kmap_types.h
patching file include/asm-sparc/a.out.h
patching file include/asm-sparc/elf.h
patching file include/asm-sparc/kmap_types.h
patching file include/asm-sparc/pgtable.h
patching file include/asm-sparc/pgtsrmmu.h
patching file include/asm-sparc/uaccess.h
patching file include/asm-sparc64/a.out.h
patching file include/asm-sparc64/elf.h
patching file include/asm-sparc64/kmap_types.h
patching file include/asm-um/kmap_types.h
patching file include/asm-v850/kmap_types.h
patching file include/asm-x86/alternative_32.h
patching file include/asm-x86/alternative_64.h
patching file include/asm-x86/a.out.h
patching file include/asm-x86/apic_32.h
patching file include/asm-x86/apic_64.h
patching file include/asm-x86/boot.h
patching file include/asm-x86/cache.h
patching file include/asm-x86/checksum_32.h
patching file include/asm-x86/desc_32.h
patching file include/asm-x86/desc_64.h
patching file include/asm-x86/elf.h
patching file include/asm-x86/futex_32.h
patching file include/asm-x86/futex_64.h
patching file include/asm-x86/i387_32.h
patching file include/asm-x86/io_64.h
patching file include/asm-x86/irqflags_32.h
patching file include/asm-x86/kmap_types.h
patching file include/asm-x86/mach-default/apm.h
patching file include/asm-x86/mman.h
patching file include/asm-x86/mmu_context_32.h
patching file include/asm-x86/mmu.h
patching file include/asm-x86/module_32.h
patching file include/asm-x86/page_32.h
patching file include/asm-x86/page_64.h
patching file include/asm-x86/paravirt.h
patching file include/asm-x86/pda.h
patching file include/asm-x86/percpu_32.h
patching file include/asm-x86/pgalloc_32.h
patching file include/asm-x86/pgalloc_64.h
patching file include/asm-x86/pgtable-2level.h
patching file include/asm-x86/pgtable_32.h
patching file include/asm-x86/pgtable-3level.h
patching file include/asm-x86/pgtable_64.h
patching file include/asm-x86/processor_32.h
patching file include/asm-x86/processor_64.h
patching file include/asm-x86/ptrace.h
patching file include/asm-x86/reboot.h
patching file include/asm-x86/segment_32.h
patching file include/asm-x86/system_32.h
patching file include/asm-x86/system_64.h
patching file include/asm-x86/uaccess_32.h
patching file include/asm-x86/uaccess_64.h
patching file include/asm-xtensa/kmap_types.h
patching file include/linux/a.out.h
patching file include/linux/binfmts.h
patching file include/linux/cache.h
patching file include/linux/capability.h
patching file include/linux/elf.h
patching file include/linux/ext4_fs_extents.h
patching file include/linux/gracl.h
patching file include/linux/gralloc.h
patching file include/linux/grdefs.h
patching file include/linux/grinternal.h
patching file include/linux/grmsg.h
patching file include/linux/grsecurity.h
patching file include/linux/highmem.h
patching file include/linux/init_task.h
patching file include/linux/irqflags.h
patching file include/linux/jbd2.h
patching file include/linux/jbd.h
patching file include/linux/libata.h
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file include/linux/module.h
patching file include/linux/moduleloader.h
patching file include/linux/namei.h
patching file include/linux/percpu.h
patching file include/linux/poison.h
patching file include/linux/random.h
patching file include/linux/sched.h
patching file include/linux/screen_info.h
patching file include/linux/security.h
patching file include/linux/shm.h
patching file include/linux/sysctl.h
patching file include/linux/uaccess.h
patching file include/linux/udf_fs.h
patching file include/net/sctp/sctp.h
patching file include/sound/core.h
patching file init/do_mounts.c
patching file init/do_mounts.h
patching file init/do_mounts_md.c
patching file init/initramfs.c
patching file init/Kconfig
patching file init/main.c
patching file init/noinitramfs.c
patching file ipc/ipc_sysctl.c
patching file ipc/msg.c
patching file ipc/sem.c
patching file ipc/shm.c
patching file kernel/acct.c
patching file kernel/capability.c
patching file kernel/configs.c
patching file kernel/exit.c
patching file kernel/fork.c
patching file kernel/futex.c
patching file kernel/irq/handle.c
patching file kernel/kallsyms.c
patching file kernel/kmod.c
patching file kernel/kprobes.c
patching file kernel/module.c
patching file kernel/mutex.c
patching file kernel/panic.c
patching file kernel/params.c
patching file kernel/pid.c
patching file kernel/posix-cpu-timers.c
patching file kernel/power/poweroff.c
patching file kernel/printk.c
patching file kernel/ptrace.c
patching file kernel/rcupdate.c
patching file kernel/relay.c
patching file kernel/resource.c
patching file kernel/sched.c
patching file kernel/signal.c
patching file kernel/softirq.c
patching file kernel/sys.c
patching file kernel/sysctl.c
patching file kernel/time.c
patching file kernel/utsname_sysctl.c
patching file lib/radix-tree.c
patching file localversion-grsec
patching file Makefile
patching file mm/filemap.c
patching file mm/fremap.c
patching file mm/hugetlb.c
patching file mm/madvise.c
patching file mm/memory.c
patching file mm/mempolicy.c
patching file mm/mlock.c
patching file mm/mmap.c
patching file mm/mprotect.c
patching file mm/mremap.c
patching file mm/nommu.c
patching file mm/page_alloc.c
patching file mm/rmap.c
patching file mm/shmem.c
patching file mm/slab.c
patching file mm/slub.c
patching file mm/swap.c
patching file mm/tiny-shmem.c
patching file mm/vmalloc.c
patching file net/bridge/br_stp_if.c
patching file net/core/flow.c
patching file net/dccp/ccids/ccid3.c
patching file net/dccp/dccp.h
patching file net/ipv4/inet_connection_sock.c
patching file net/ipv4/inet_hashtables.c
patching file net/ipv4/netfilter/ipt_stealth.c
patching file net/ipv4/netfilter/Kconfig
patching file net/ipv4/netfilter/Makefile
patching file net/ipv4/tcp.c
patching file net/ipv4/tcp_ipv4.c
patching file net/ipv4/udp.c
patching file net/ipv6/exthdrs.c
patching file net/ipv6/raw.c
patching file net/irda/ircomm/ircomm_tty.c
patching file net/mac80211/regdomain.c
patching file net/sctp/socket.c
patching file net/socket.c
patching file net/unix/af_unix.c
patching file scripts/pnmtologo.c
patching file security/commoncap.c
patching file security/dummy.c
patching file security/Kconfig
patching file sound/core/oss/pcm_oss.c
patching file sound/core/seq/seq_lock.h
patching file sound/pci/ac97/ac97_patch.c
patching file sound/pci/ens1370.c
patching file sound/pci/intel8x0.c
patching file sound/pci/intel8x0m.c
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 9:38 am
by coderx
developers can u fix the patch ?
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 9:57 am
by vik
Downloaded linux-2.6.24.4.tar.gz, work fine indeed.
First time I patched a 2.6.24.3 with the interdiff from patch-2.6.24.3 and patch-2.6.24.4. I must have broken something...
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 10:19 am
by coderx
vik wrote:Downloaded linux-2.6.24.4.tar.gz, work fine indeed.
First time I patched a 2.6.24.3 with the interdiff from patch-2.6.24.3 and patch-2.6.24.4. I must have broken something...
vic u got same error as us on compiling ?
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 10:58 am
by harry
remove the " before lock on line 35:
include/asm/futex_32.h
"2: "lock ; cmpxchgl %3, %%es:%2\n\
becomes:
"2: lock ; cmpxchgl %3, %%es:%2\n\
things compile then...
tnx to ms for helping to figure this one out
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 2:23 pm
by vik
I got no error compiling with grsecurity-2.1.11-2.6.24.4-200803242230.patch. Even booted with this and compiled again with grsecurity-2.1.11-2.6.24.4-200803251800.patch (which has the fix from hary's post). Also no errors. Maybe because I'm on 64bit...
Re: 2.6.24.4 + latest grsecurity patch wont compile
Posted:
Tue Mar 25, 2008 7:40 pm
by FRLinux
I confirm, compiling on 32bits, using the grsecurity-2.1.11-2.6.24.4-200803251800.patch fixes the compilation issue, thanks!
Steph