PAX development -- pax-linux-2.6.16-rc6-test1.patch

Discuss and suggest new grsecurity features

PAX development -- pax-linux-2.6.16-rc6-test1.patch

Postby perlionex » Sun Mar 12, 2006 9:10 pm

Had this problem with the rc5-test2 patch, and still got it for the rc6-test1 patch. Had no problems with the latest grsec patch for this gcc / .config file.

$ make
Code: Select all
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-i386
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:10,
                 from include/linux/spinlock.h:50,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/i386/kernel/asm-offsets.c:7:
include/asm/processor.h:93: error: array type has incomplete element type
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


$ gcc -v
Code: Select all
Using built-in specs.
Target: i586-mandriva-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-languages=c,c++,ada,f95,objc,java --host=i586-mandriva-linux-gnu --with-system-zlib --enable-long-long --enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib
Thread model: posix
gcc version 4.0.1 (4.0.1-5mdk for Mandriva Linux release 2006.0)
Last edited by perlionex on Mon Mar 13, 2006 9:01 pm, edited 1 time in total.
perlionex
 
Posts: 13
Joined: Thu Sep 25, 2003 10:22 pm

Re: PAX development -- pax-linux-2.6.16-rc6-test1.patch

Postby PaX Team » Mon Mar 13, 2006 8:14 am

perlionex wrote:Had this problem with the rc5-test2 patch, and still got it for the rc6-test1 patch. Had no problems with the latest grsec patch for this gcc / .config file.
thanks for the report, i think it's gcc 4.x that doesn't like this construct anymore, let me know how test2 fares.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: PAX development -- pax-linux-2.6.16-rc6-test1.patch

Postby perlionex » Mon Mar 13, 2006 9:02 pm

PaX Team wrote:thanks for the report, i think it's gcc 4.x that doesn't like this construct anymore, let me know how test2 fares.


Yep, that seems to have fixed it. Thanks! :)
perlionex
 
Posts: 13
Joined: Thu Sep 25, 2003 10:22 pm


Return to grsecurity development

cron