cris/crisv32 brokeness
Stefan de Konink
stefan at konink.de
Sat Sep 6 16:41:07 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm currently developing an uclibc system for an Elphel Camera. It uses
a crisv32. Using the daily I observe some strange things hence:
- - native string support is broken (memcpy issues)
libc/string/cris/memcpy.c: In function 'memcpy':
libc/string/cris/memcpy.c:176: error: lvalue required as increment operand
...and many lines more
- - terrible PIC issues, a lot of complaining
/usr/libexec/gcc/crisv32-axis-linux-uclibc/ld: lib/libm.a(s_atan.os),
section .text:
relocation R_CRIS_32_PCREL should not be used in a shared object;
recompile with -fPIC
- - When trying to get (stable) Linux Threads:
(.init+0xc): undefined reference to `$pc'
That seems to be in crti.S, no clue how to fix it. Except for disabling
threading at all.
Does anyone have some tips?
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjCsqMACgkQYH1+F2Rqwn00AwCeNbg7dwDaUZUh/JvRMbNspdOk
2BAAn0ftpt+AcGtkBQ8Aj5+T64Qhaibj
=osND
-----END PGP SIGNATURE-----
More information about the uClibc
mailing list