v850 ld error
Igor Pashev
pashev.igor@gmail.com
Wed Jan 9 22:45:00 GMT 2013
09.01.2013 22:33, Joel Sherrill пиÑеÑ:
> Hi
>
> Testing binutils and gcc heads, I am getting this error when
> linking the autoconf probe for RTEMS when the CPU CFLAG
> -mgcc-abi is used:
>
> $ cat m.c
> main()
> {
> }
> [joel@rtbf64a test-gcc]$ v850-rtems4.11-gcc -mgcc-abi m.c
>
>
> /users/joel/test-gcc/install-svn/libexec/gcc/v850-rtems4.11/4.8.0/collect2
> -m v850
> /users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/../../../../v850-rtems4.11/lib/gcc-abi/crt0.o
> -L/users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/gcc-abi
> -L/users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/../../../../v850-rtems4.11/lib/gcc-abi
> -L/users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0
> -L/users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/../../../../v850-rtems4.11/lib
> /tmp/ccuPHsB7.o -lgcc -lc -lgcc
> /users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/../../../../v850-rtems4.11/bin/ld:
> skipping incompatible
> /users/joel/test-gcc/install-svn/lib/gcc/v850-rtems4.11/4.8.0/gcc-abi/libgcc.a
> when searching for -lgcc
>
> I don't have any patches to gcc or binutils.
>
> Any suggestions on what to look for?
>
Well, libgcc_s is not of that arch which ld expects.
More information about the Binutils
mailing list