Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Hi, It seems a compiler's bug. So please rewrite the control registers of 'entry.S' with ctl7 and ctl12. Kazu --- Quote End --- Thanks. It compiles now until the next bug:
kernel/built-in.o(.text+0x2ea40): In function `get_update_sysctl_factor':
: undefined reference to `____ilog2_NaN'
kernel/built-in.o(.text+0x2ea40): In function `get_update_sysctl_factor':
: relocation truncated to fit: R_NIOS2_CALL26 ____ilog2_NaN
make: *** Error 1
make: *** Error 2
make: Leaving directory `/home/developer/altera/nios2-linux/linux-2.6'
make: *** Error 1