Building libgcc with -G 0 options
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
Quoted 2 lines · sathesh babu
Hi,
I am using buildroot to buildtoolchain( 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.
Quoted 1 line
While building the toolchain i enabled soft float option.
Fair enough.
Quoted 1 line
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).