SH2A uCLinux toolchain

PHIL.EDWORTHY at renesas.com PHIL.EDWORTHY at renesas.com
Mon May 16 15:32:47 UTC 2011



Hi,

I have just tried to build a linux kernel using the latest CodeSourcery SH2A toolchain, Sourcery G++ Lite 2010.09-60

The toolchain is only provided with fdpic libraries, but this is only useful for userspace code afaik. The kernel already forces -mno-fdpic, so should
I use this option with U-Boot as well?

The problem is that both the kernel, when building a zImage, and U-Boot, link against libgcc. This leads to "attempt to mix FDPIC and non-FDPIC
objects" errors.

So my question is, how can I use this toolchain for uCLinux development?

Thanks
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/superh-gnu-discuss/attachments/20110516/e64edfe1/attachment.html>


More information about the superh-gnu-discuss mailing list