Il giorno mer, 29/08/2007 alle 06.05 -0400, Ricardo Mendoza ha scritto: > On 8/29/07, Giuseppe Sacco <giuseppe@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > > > I already tried the 32bit kernel and I found the same problem. Are you > > telling me that I should use 32bit for debugging instead of 64? > > No, what I'm telling you to do is to try and build it with > CONFIG_BUILD_ELF64 disabled, more explicitly that is under Executable > file formats or something like that. About kgdb debugging, what I am > telling you is that ip32 has no hook ups coded for it yet, in other > words, no support. I tried recompiling the 2.6.23-rc3 from linux-mips.org with CONFIG_BUILD_ELF64=n, but I got a compiler error: CC [M] net/sched/em_nbyte.o CC [M] net/sched/em_u32.o CC [M] net/sched/em_meta.o net/sched/em_meta.c: In function ‘meta_int_loadavg_0’: net/sched/em_meta.c:127: error: PRINT_OPERAND, invalid operand for relocation (const:DI (plus:DI (symbol_ref:DI ("avenrun") [flags 0x40] <var_decl 0x2b357f50 avenrun>) (const_int 4 [0x4]))) net/sched/em_meta.c:127: internal compiler error: in print_operand_reloc, at config/mips/mips.c:5579 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. {standard input}: Assembler messages: {standard input}:2436: Warning: end of file not at end of a line; newline inserted {standard input}:2547: Warning: missing .end at end of assembly Preprocessed source stored into /tmp/cc0KjlCH.out file, please attach this to your bugreport. make[3]: *** [net/sched/em_meta.o] Error 1 make[2]: *** [net/sched] Error 2 make[1]: *** [net] Error 2 make[1]: Leaving directory `/usr/local/src/linux-2.6.23-rc3' make: *** [debian/stamp-build-kernel] Error 2 I will try to submit the bug report to gcc. Bye, Giuseppe