------- Comment #5 from happyarch at gmail dot com 2008-09-03 22:58 ------- Hi,
i tried your patch, but it doesn't work for my lfs64(linux from scratch pure-64bit) http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01407.html ... CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o: In function `update_iter': kallsyms.c:(.text+0x2fb86): undefined reference to `kallsyms_token_index' kallsyms.c:(.text+0x2fbb5): undefined reference to `kallsyms_token_index' kernel/built-in.o: In function `lookup_symbol_attrs': (.text+0x2fdcc): undefined reference to `kallsyms_token_index' kernel/built-in.o: In function `lookup_symbol_name': (.text+0x2fea1): undefined reference to `kallsyms_token_index' kernel/built-in.o: In function `kallsyms_lookup': (.text+0x2ff92): undefined reference to `kallsyms_token_index' kernel/built-in.o:(.text+0x30171): more undefined references to `kallsyms_token_index' follow make: *** [.tmp_vmlinux1] Error 1 bash-3.2$ cc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --enable-static --disable-multilib Thread model: posix gcc version 4.4.0 20080903 (experimental) (GCC) bash-3.2$ pwd /usr/src/linux-2.6.27-rc5 TIA -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37280