I know this is old, but I see no resolution and I was having this problem so I figured I would throw my solution into it.
In the linker file, I was using
. = ALIGN(2)
but I really wanted to use ALIGNALL but I mistakenly put in
.= ALIGNALL(2)
when it should be just
ALIGNALL(2)
That made the error go away.