Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Building libgcc with -G 0 options
@ 2007-10-03 17:09 sathesh babu
  2007-10-03 20:44 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: sathesh babu @ 2007-10-03 17:09 UTC (permalink / raw)
  To: buildroot

Hi,
    I am using buildroot to build toolchain( GCC ver 3.4.3, binutil-1.15 and ucLibc-0.9.28, linux-2.6.18 kernel)  for MIPS processor.
  While building the toolchain i enabled soft float option.
  I have written a loadble module ( which gets complie along with kernel) which does some floating point operation.
   
  When i try to load the module i get the following error
  "unresoved symbol _gp_disp".
   
  In fact i tried with -mno-abicalls -fno-pic  compiler options still i see the same problem.
   
  Could you please give me some pointers on this issue.
  BTW, How to compile libgcc.a with "-G 0" options.
  In which file of buildroot i shoul added these options to get effective.
   
  Thanks in advance.
   
  Regards,
  Sathesh
   

       
---------------------------------
 Now you can chat without downloading messenger. Click here to know how.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071003/5483823c/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Building libgcc with -G 0 options
  2007-10-03 17:09 [Buildroot] Building libgcc with -G 0 options sathesh babu
@ 2007-10-03 20:44 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-10-03 20:44 UTC (permalink / raw)
  To: buildroot

On Wed, Oct 03, 2007 at 06:09:26PM +0100, sathesh babu wrote:
>Hi,
>    I am using buildroot to build toolchain( GCC ver 3.4.3, binutil-1.15 and ucLibc-0.9.28, linux-2.6.18 kernel)  for MIPS processor.

Good luck. You're way outdated, retry with something vaguely recent.

>  While building the toolchain i enabled soft float option.

Fair enough.
>  I have written a loadble module ( which gets complie along with kernel) which does some floating point operation.

This is most likely broken by design. I'd seek advise on using FP in the
kernel on the kernel mailing list (or think about it for a second or search
the archives if you don't intend to delve into endless discussion on why
that's almost certainly wrong).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-03 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 17:09 [Buildroot] Building libgcc with -G 0 options sathesh babu
2007-10-03 20:44 ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox