linux-mips
[Top] [All Lists]

Re: Exception while loading kernel

To: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
Subject: Re: Exception while loading kernel
From: Markus Gothe <markus.gothe@27m.se>
Date: Fri, 31 Aug 2007 09:14:57 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <1188539343.18249.2.camel@scarafaggio>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1188030215.13999.14.camel@scarafaggio> <1188196563.2177.13.camel@scarafaggio> <46D2CB0F.7020505@27m.se> <1188321514.6882.3.camel@scarafaggio> <F288AA63-099B-4140-81B2-6A8E21887057@27m.se> <20070829084622.156798b4.giuseppe@eppesuigoccas.homedns.org> <816d36d30708290133w677756bbla8b8b2b25fe005f1@mail.gmail.com> <1188377693.7270.1.camel@scarafaggio> <816d36d30708290305i4b34ae11s4b469cc48fb999aa@mail.gmail.com> <1188539343.18249.2.camel@scarafaggio>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Icedove 1.5.0.12 (X11/20070730)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Which version are the toolchain binutils,gcc) you're using?

//Markus

Giuseppe Sacco wrote:
> Il giorno mer, 29/08/2007 alle 06.05 -0400, Ricardo Mendoza ha
> scritto:
>> On 8/29/07, Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
>> 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
>
>


- --
_______________________________________

Mr Markus Gothe
Software Engineer

Phone: +46 (0)13 21 81 20 (ext. 1046)
Fax: +46 (0)13 21 21 15
Mobile: +46 (0)73 718 72 80
Diskettgatan 11, SE-583 35 Linköping, Sweden
www.27m.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG17/u6I0XmJx2NrwRCEgWAKC/gDbBFTt2o6Vu8eiJr1J7BwOTFgCeODEq
DxydsZElXSV+ubTV8wQWGrc=
=ur/q
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>