uClibc: "bx r6" compile error on ARM
While compiling OpenWrt for an ARM compatible processor I got the following error:
{standard input}: Assembler messages: {standard input}:39: Error: selected processor does not support `bx r6' I found the solution in the The definitive guide to GCC book from William Von Hagen (I don’t own it, I found it via Google Books). You have to disable the the USE_BX flag in the uClibc config file and everything will be fine.