This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] use of atomic builtins for arm-linux-eabi in boehm-gc


Current trunk fails to build on arm-linux-gnueabi in boehm-gc, when configured --with-mode=thumb:

/tmp/ccVpqOWm.s: Assembler messages:
/tmp/ccVpqOWm.s:1160: Error: selected processor does not support `swp r3,r3,[r2]'
/tmp/ccVpqOWm.s:2472: Error: selected processor does not support `swp r3,r3,[r2]'
/tmp/ccVpqOWm.s:3232: Error: selected processor does not support `swp r3,r3,[r2]'
make[5]: *** [alloc.lo] Error 1

arm-linux-gnueabi now provides the atomic builtins; use them unconditionally (as libjava does).

Ok for the trunk, if testing succeeds? The build on trunk configured with --with-mode=thumb fails for other reasons (PR42093), currently testing the patch for the 4.4 branch.

Matthias

Attachment: boehm.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]