Build failure 3.11.1

Discuss and suggest new grsecurity features

Build failure 3.11.1

Postby fearnop » Sun Sep 15, 2013 9:59 am

Hey guys,

im getting an build error while compiling a new 3.11.1 kernel from today with patchset "grsecurity-2.9.1-3.11.1-201309142343.patch".

Code: Select all
  LD [M]  arch/x86/crypto/cast6-avx-x86_64.o
  CC      arch/x86/kernel/cpu/capflags.o
  CC      arch/x86/kernel/cpu/perf_event_amd_iommu.o
arch/x86/kernel/cpu/perf_event_amd_iommu.c: In function ‘_init_events_attrs’:
arch/x86/kernel/cpu/perf_event_amd_iommu.c:423:2: error: assignment of member ‘name’ in read-only object
arch/x86/kernel/cpu/perf_event_amd_iommu.c:424:2: error: assignment of member ‘attrs’ in read-only object
make[3]: *** [arch/x86/kernel/cpu/perf_event_amd_iommu.o] Error 1
make[2]: *** [arch/x86/kernel/cpu] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2


Ive seen that the grsec-patch seems to play with the iommu file so i decided to push this to the forum. maybe it helps.


EDIT:

FYI:

Code: Select all
sigint:/usr/src/linux# gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.7.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Debian 4.7.2-5)
sigint:/usr/src/linux#


with DEB_BUILD_HARDENING="1"
fearnop
 
Posts: 9
Joined: Thu Jul 11, 2013 5:45 am

Re: Build failure 3.11.1

Postby fearnop » Sun Sep 15, 2013 12:51 pm

UPDATE:

It seems now to work with the latest patchset, published few mins ago... grsecurity-2.9.1-3.11.1-201309151124.patch

thanks :D
fearnop
 
Posts: 9
Joined: Thu Jul 11, 2013 5:45 am


Return to grsecurity development

cron