Page 1 of 1

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

PostPosted: Sun Mar 12, 2006 9:10 pm
by perlionex
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)

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

PostPosted: Mon Mar 13, 2006 8:14 am
by PaX Team
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.

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

PostPosted: Mon Mar 13, 2006 9:02 pm
by perlionex
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! :)