* GCC and Modules
@ 2001-07-24 11:14 Andre.Messerschmidt
2001-07-24 15:40 ` H . J . Lu
0 siblings, 1 reply; 7+ messages in thread
From: Andre.Messerschmidt @ 2001-07-24 11:14 UTC (permalink / raw)
To: linux-mips
Hi.
As I understand the current stable release of binutils and gcc is not able
to compile functional modules.
Sadly I am not able to use the CVS (Thanks to our super-secure admins, who
lock every port possible).
So here is my question: Does anybody provide snapshots of the CVS (or maybe
binaries for x86 that support modules) for download?
Thanks.
Best regards
--
Andre Messerschmidt
Application Engineer
Infineon Technologies AG
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GCC and Modules
2001-07-24 11:14 GCC and Modules Andre.Messerschmidt
@ 2001-07-24 15:40 ` H . J . Lu
2001-07-24 16:20 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: H . J . Lu @ 2001-07-24 15:40 UTC (permalink / raw)
To: Andre.Messerschmidt; +Cc: linux-mips
On Tue, Jul 24, 2001 at 01:14:42PM +0200, Andre.Messerschmidt@infineon.com wrote:
> Hi.
>
> As I understand the current stable release of binutils and gcc is not able
> to compile functional modules.
What are you talking about? My mips toolchain is as stable/good as the
x86 version for RedHat 7.1.
H.J.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GCC and Modules
2001-07-24 15:40 ` H . J . Lu
@ 2001-07-24 16:20 ` Ralf Baechle
2001-07-24 16:30 ` H . J . Lu
0 siblings, 1 reply; 7+ messages in thread
From: Ralf Baechle @ 2001-07-24 16:20 UTC (permalink / raw)
To: H . J . Lu; +Cc: Andre.Messerschmidt, linux-mips
On Tue, Jul 24, 2001 at 08:40:05AM -0700, H . J . Lu wrote:
> > As I understand the current stable release of binutils and gcc is not able
> > to compile functional modules.
>
> What are you talking about? My mips toolchain is as stable/good as the
> x86 version for RedHat 7.1.
He's refering to the last official release of binutils which indeed wasn't
usable for modutils.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GCC and Modules
2001-07-24 16:20 ` Ralf Baechle
@ 2001-07-24 16:30 ` H . J . Lu
0 siblings, 0 replies; 7+ messages in thread
From: H . J . Lu @ 2001-07-24 16:30 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Andre.Messerschmidt, linux-mips
On Tue, Jul 24, 2001 at 06:20:57PM +0200, Ralf Baechle wrote:
> On Tue, Jul 24, 2001 at 08:40:05AM -0700, H . J . Lu wrote:
>
> > > As I understand the current stable release of binutils and gcc is not able
> > > to compile functional modules.
> >
> > What are you talking about? My mips toolchain is as stable/good as the
> > x86 version for RedHat 7.1.
>
> He's refering to the last official release of binutils which indeed wasn't
> usable for modutils.
What official release of binutils? Are we talking about the FSF
official release? Since when did Linux use those? They won't even
work right on Linux/x86. You should either use the Linux binutils
or try your luck with CVS.
H.J.
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <25369470B6F0D41194820002B328BDD27D2E@ATLOPS>]
* AW: GCC and Modules
@ 2001-07-25 9:12 Andre.Messerschmidt
2001-07-25 11:24 ` Ralf Baechle
0 siblings, 1 reply; 7+ messages in thread
From: Andre.Messerschmidt @ 2001-07-25 9:12 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
Hi.
> He's refering to the last official release of binutils which indeed wasn't
> usable for modutils.
>
I compiled the tools by myself but the problems remain.
My module should only print a message using printk, but I can't get it to
run.
Here are my results:
> insmod module.o
insmod: unresolved symbol _gp_disp
Module compiled with -mno-abicalls and -no-half-pic (as someone in the
archives mentioned)
> insmod module.o
Warning: unhandled reloc 9
insmod: Unhandled relocation of type 9 for
Warning: unhandled reloc 11
insmod: Unhandled relocation of type 11 for printk
Warning: unhandled reloc 9
insmod: Unhandled relocation of type 9 for
Warning: unhandled reloc 11
insmod: Unhandled relocation of type 11 for printk
Does anybody know what the problem is?
regards
--
Andre Messerschmidt
Application Engineer
Infineon Technologies AG
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: GCC and Modules
2001-07-25 9:12 AW: " Andre.Messerschmidt
@ 2001-07-25 11:24 ` Ralf Baechle
0 siblings, 0 replies; 7+ messages in thread
From: Ralf Baechle @ 2001-07-25 11:24 UTC (permalink / raw)
To: Andre.Messerschmidt; +Cc: linux-mips
On Wed, Jul 25, 2001 at 11:12:47AM +0200, Andre.Messerschmidt@infineon.com wrote:
> I compiled the tools by myself but the problems remain.
> My module should only print a message using printk, but I can't get it to
> run.
>
> Here are my results:
> > insmod module.o
> insmod: unresolved symbol _gp_disp
>
> Module compiled with -mno-abicalls and -no-half-pic (as someone in the
> archives mentioned)
-fno-pic you mean. Half PIC is meaningless under Linux.
Ralf
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-07-25 11:25 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-24 11:14 GCC and Modules Andre.Messerschmidt
2001-07-24 15:40 ` H . J . Lu
2001-07-24 16:20 ` Ralf Baechle
2001-07-24 16:30 ` H . J . Lu
[not found] <25369470B6F0D41194820002B328BDD27D2E@ATLOPS>
[not found] ` <20010724085544.A20610@lucon.org>
[not found] ` <995995907.1331.5.camel@localhost.localdomain>
2001-07-24 20:25 ` H . J . Lu
2001-07-24 21:09 ` Marc Karasek
-- strict thread matches above, loose matches on Subject: below --
2001-07-25 9:12 AW: " Andre.Messerschmidt
2001-07-25 11:24 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox