Thanks Pugwash,
Compiling AWS in the debian armel chroot resulted in the same error. So looks like a genuine compiler error rather than a porting (to Rasbian) error.
I will try to find the time to get the information to the compiler team.
Cheers
Tom