* insmod failure: "Unhandled relocation" errors
@ 2003-01-14 10:06 ` Gilad Benjamini
0 siblings, 0 replies; 7+ messages in thread
From: Gilad Benjamini @ 2003-01-14 10:06 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
Hi,
I've built,compiled and ran successfully a 64 bit kernel on my
mips64 platform. Kernel was compiled with support for 32 bit binaries.
I am now trying to insert a module, a standard module from
the kernel tree, and get lots of errors such as:
"Unhandled relocation of type 18 for"
or
"Unhandled relocation of type 18 for <function_name>"
How can this be resolved ?
TIA
[-- Attachment #2: Type: text/html, Size: 1958 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* insmod failure: "Unhandled relocation" errors
@ 2003-01-14 10:06 ` Gilad Benjamini
0 siblings, 0 replies; 7+ messages in thread
From: Gilad Benjamini @ 2003-01-14 10:06 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
Hi,
I've built,compiled and ran successfully a 64 bit kernel on my
mips64 platform. Kernel was compiled with support for 32 bit binaries.
I am now trying to insert a module, a standard module from
the kernel tree, and get lots of errors such as:
"Unhandled relocation of type 18 for"
or
"Unhandled relocation of type 18 for <function_name>"
How can this be resolved ?
TIA
[-- Attachment #2: Type: text/html, Size: 1958 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: insmod failure: "Unhandled relocation" errors
2003-01-14 10:06 ` Gilad Benjamini
(?)
@ 2003-01-14 17:05 ` Ralf Baechle
-1 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2003-01-14 17:05 UTC (permalink / raw)
To: Gilad Benjamini; +Cc: linux-mips
On Tue, Jan 14, 2003 at 12:06:46PM +0200, Gilad Benjamini wrote:
> I've built,compiled and ran successfully a 64 bit kernel on my
> mips64 platform. Kernel was compiled with support for 32 bit binaries.
>
> I am now trying to insert a module, a standard module from
> the kernel tree, and get lots of errors such as:
> "Unhandled relocation of type 18 for"
> or
> "Unhandled relocation of type 18 for <function_name>"
>
> How can this be resolved ?
Modules are not supported on 64-bit kernel yet.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: insmod failure: "Unhandled relocation" errors
2003-01-14 10:06 ` Gilad Benjamini
(?)
(?)
@ 2003-01-14 19:14 ` Greg Lindahl
2003-01-15 12:15 ` Ralf Baechle
-1 siblings, 1 reply; 7+ messages in thread
From: Greg Lindahl @ 2003-01-14 19:14 UTC (permalink / raw)
To: linux-mips
On Tue, Jan 14, 2003 at 12:06:46PM +0200, Gilad Benjamini wrote:
> I am now trying to insert a module, a standard module from
> the kernel tree, and get lots of errors such as:
> "Unhandled relocation of type 18 for"
> or
> "Unhandled relocation of type 18 for <function_name>"
I'm impressed that it got this far -- let me guess, big endian?
Little endian didn't even get that far last time I tried it.
greg
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: insmod failure: "Unhandled relocation" errors
2003-01-14 10:06 ` Gilad Benjamini
` (2 preceding siblings ...)
(?)
@ 2003-01-14 23:34 ` Keith Owens
2003-01-15 12:24 ` Ralf Baechle
-1 siblings, 1 reply; 7+ messages in thread
From: Keith Owens @ 2003-01-14 23:34 UTC (permalink / raw)
To: Gilad Benjamini; +Cc: linux-mips
On Tue, 14 Jan 2003 12:06:46 +0200,
"Gilad Benjamini" <gilad@riverhead.com> wrote:
>I've built,compiled and ran successfully a 64 bit kernel on my
>mips64 platform. Kernel was compiled with support for 32 bit binaries.
>
>I am now trying to insert a module, a standard module from
>the kernel tree, and get lots of errors such as:
>"Unhandled relocation of type 18 for"
Type 18 is R_MIPS_64. modutils does not support 64 bit mips
at all, nobody has sent me any code to handle this architecture.
modutils needs obj/obj_mips64.c. The config and makefiles have to be
tweaked to handle mips64, including combined 32/64 bit code, as for
sparc32/sparc64. Does anybody who knows mips64 feel like contributing
the modutils code?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: insmod failure: "Unhandled relocation" errors
2003-01-14 19:14 ` Greg Lindahl
@ 2003-01-15 12:15 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2003-01-15 12:15 UTC (permalink / raw)
To: linux-mips
On Tue, Jan 14, 2003 at 11:14:18AM -0800, Greg Lindahl wrote:
> > I am now trying to insert a module, a standard module from
> > the kernel tree, and get lots of errors such as:
> > "Unhandled relocation of type 18 for"
> > or
> > "Unhandled relocation of type 18 for <function_name>"
>
> I'm impressed that it got this far -- let me guess, big endian?
> Little endian didn't even get that far last time I tried it.
The modules we also built with the wrong options which is the cause for
these specific error messages. There was just no point mentioning these
because the actual showstopper was a 32-bit vs. 64-bit problem.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: insmod failure: "Unhandled relocation" errors
2003-01-14 23:34 ` Keith Owens
@ 2003-01-15 12:24 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2003-01-15 12:24 UTC (permalink / raw)
To: Keith Owens; +Cc: Gilad Benjamini, linux-mips
On Wed, Jan 15, 2003 at 10:34:33AM +1100, Keith Owens wrote:
> modutils needs obj/obj_mips64.c. The config and makefiles have to be
> tweaked to handle mips64, including combined 32/64 bit code, as for
> sparc32/sparc64. Does anybody who knows mips64 feel like contributing
> the modutils code?
Until recently the big problem with implementing modules support for mips64
was the complete unusability of binutils. Compared to the complexity of
getting binutils to work what it takes to get modutils to work is plain
trivial ...
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-01-15 12:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14 10:06 insmod failure: "Unhandled relocation" errors Gilad Benjamini
2003-01-14 10:06 ` Gilad Benjamini
2003-01-14 17:05 ` Ralf Baechle
2003-01-14 19:14 ` Greg Lindahl
2003-01-15 12:15 ` Ralf Baechle
2003-01-14 23:34 ` Keith Owens
2003-01-15 12:24 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.