This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem with gcc-4.4.0 with Cortex-m3 and cortex-a9 cpu
- From: "Ramana Radhakrishnan" <ramana dot radhakrishnan at arm dot com>
- To: "'Nitin Garg'" <nitingarg98 at gmail dot com>
- Cc: <gcc-help at gcc dot gnu dot org>, <gcc at gcc dot gnu dot org>
- Date: Fri, 1 May 2009 14:20:32 +0100
- Subject: RE: Problem with gcc-4.4.0 with Cortex-m3 and cortex-a9 cpu
- References: <403c615d0904302232q4047010ctb7fcf05b42757362@mail.gmail.com> <403c615d0905010610h1f9bf4bfj4a666564f9e6ab65@mail.gmail.com>
> -----Original Message-----
> From: gcc-owner@gcc.gnu.org [mailto:gcc-owner@gcc.gnu.org] On Behalf Of
> Nitin Garg
> Sent: 01 May 2009 14:11
> To: gcc@gcc.gnu.org; gcc-help@gcc.gnu.org
> Subject: Problem with gcc-4.4.0 with Cortex-m3 and cortex-a9 cpu
>
> I am working on Cortex-A9 and M3 of ARM. I am using gcc 4.4.0, uClibc
> 0.9.30.1 and binutils 2.19.1 and building it for Cortex-m3. While
> building for m3 if I specify arch as armv7-m alonmg with cpu
> cortex-m3, the build fails.
Please be more specific . What are you trying to build and how is the build
failing ? A cut-paste of your error messages would be useful. Assuming this
is with respect to building and or using gcc, please take follow-ups only to
gcc-help@gcc.gnu.org and not cross-post to gcc@gcc.gnu.org.
>
> Using the same set, if I build the toolchain?for Cortex-A9
> (cpu=cortex-a9 and arch=armv7-a), the Linux kernel (2.6.28.9) and
> rootfs built with this toolchain works fine. But if I build a loadable
> kernel module, when I insmod the module it fails and gives an error as
> "undefined relocation: 43" from the Linux kernel.
This is a binutils question and I just replied to you there.
Ramana