[fedora-arm] Fwd: DirectFB fixed but not for armv5tel

Peter Robinson pbrobinson at gmail.com
Fri Apr 27 21:40:58 UTC 2012


On Fri, Apr 27, 2012 at 9:57 PM, Nicolas Chauvet <kwizart at gmail.com> wrote:
> Hi,
>
> I've pushed a commit that I have tested (on ARM  F-14) to fix build of directfb.
> The problem is that it won't work on armv5tel.
>
> Here is the error:
> CE  -std=gnu99 -Werror-implicit-function-declaration -c -o util.lo util.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../..
> -I../../../../../include -I../../../../../lib -I../../../../../include
> -I../../../../../lib -DDATADIR=\"/usr/share/directfb-1.5.3\"
> -DMODULEDIR=\"/usr/lib/directfb-1.5-0\" -D_REENTRANT -Wall
> -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing
> -Werror-implicit-function-declaration -O2 -g2 -ffast-math -pipe -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -march=armv5te -mfloat-abi=soft
> -D_GNU_SOURCE -std=gnu99 -Werror-implicit-function-declaration -c
> util.c  -fPIC -DPIC -o .libs/util.o
> {standard input}: Assembler messages:
> {standard input}:494: Error: selected processor does not support `ldrex r2,[r3]'
> {standard input}:496: Error: selected processor does not support
> `strex r0,r2,[r3]'
> {standard input}:535: Error: selected processor does not support `ldrex r2,[r3]'
> {standard input}:537: Error: selected processor does not support
> `strex r0,r2,[r3]'
> make[5]: *** [system.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....
> make[5]: Leaving directory
> `/srv/ac100-builder/rpmbuild/BUILD/DirectFB-1.5.3/lib/direct/os/linux/glibc'
>
>
> This is related to the atomic code (this is the same version up2date).
> http://git.directfb.org/?p=core/DirectFB.git;a=blob;f=lib/direct/atomic.h;h=fe7664f71444c9f005984a9c4db61b0122491bff;hb=d62f35b4278e0b25eb924b90e51467427c7fec9f
>
> Now I have tested that the same package is fixed if built for armv6l or armv7l.
> Should I exclude armv5tel and explicitely build for armv6l and armv7l
> ? (along with armv7hl).

Ignore it for the moment, I'll add it to the ToDo list, Jon Masters is
looking for a solution for that.

Peter


More information about the arm mailing list