On Tue, May 17, 2011 at 11:13:24AM -0600, Bruce Rogers wrote:
On 5/17/2011 at 08:29 AM, Mustafa Tufan firstname.lastname@example.org wrote:
out/romlayout16.lds:697 cannot move location counter backwards (from 000000000000ca0d to 000000000000c9f4) make: *** [out/rom16.o] Error 1
What linker version are you using? I ran into this type of problem when using the latest un-official binutils package. They have since fixed a recently introduced bug in ld that was causing the issue. For more info, see: https://bugzilla.novell.com/show_bug.cgi?id=691290
Thanks for the link. This seems to be a pretty striking failure in LD, and it seems to have shipped with Ubuntu 11.04. I think the only thing we can do here is detect the error during build and alert the user of the problem. Ughh.