Compile Error 3.9.2

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Compile Error 3.9.2

Postby GBit » Tue May 14, 2013 1:45 pm

drivers/hwmon/pmbus/pmbus_core.c: In function ‘pmbus_dev_attr_init’:
drivers/hwmon/pmbus/pmbus_core.c:795:2: error: assignment of member ‘name’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:796:2: error: assignment of member ‘mode’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:797:2: error: assignment of member ‘show’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c:798:2: error: assignment of member ‘store’ in read-only object
drivers/hwmon/pmbus/pmbus_core.c: In function ‘pmbus_attr_init’:
drivers/hwmon/pmbus/pmbus_core.c:813:2: error: assignment of member ‘index’ in read-only object
make[4]: *** [drivers/hwmon/pmbus/pmbus_core.o] Error 1
make[3]: *** [drivers/hwmon/pmbus] Error 2
make[2]: *** [drivers/hwmon] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-3.9.2'


config: http://pastebin.com/mMiswpjt

Compiling on a vanilla kernel, at the moment.
GBit
 
Posts: 81
Joined: Mon Jun 04, 2012 3:31 pm

Re: Compile Error 3.9.2

Postby PaX Team » Tue May 14, 2013 4:57 pm

thanks, will be fixed in the next patch. in the meantime you can try to disable hwmon and get a working kernel perhaps for testing ;).
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Compile Error 3.9.2

Postby GBit » Tue May 14, 2013 5:46 pm

Skipping those seems to fix it. Another thing though:

VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
make[2]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
make[2]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
grsec: protected kernel image paths



Same config, but with the HWMON as modules.
GBit
 
Posts: 81
Joined: Mon Jun 04, 2012 3:31 pm

Re: Compile Error 3.9.2

Postby GBit » Tue May 14, 2013 6:29 pm

CC [M] drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.o
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c: In function ‘qlcnic_83xx_config_default_opmode’:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c:1897:3: error: assignment of member ‘init_driver’ in read-only object
make[6]: *** [drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.o] Error 1
make[5]: *** [drivers/net/ethernet/qlogic/qlcnic] Error 2
make[4]: *** [drivers/net/ethernet/qlogic] Error 2
make[3]: *** [drivers/net/ethernet] Error 2
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux/linux-3.9.2'
make: *** [debian/stamp/build/kernel] Error 2
GBit
 
Posts: 81
Joined: Mon Jun 04, 2012 3:31 pm


Return to grsecurity support

cron