We have been hitting this issue on ARM/thumb and
have a workaround in place to compile samba
http://git.openembedded.org/openembedded/commit/recipes/samba/samba_3.2.15.bb?id=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
This backport should fix the gcc bug
(From OE-Core rev: 75f7269a7a1da2494768d4be63c44b12c5cfeeeb)
(From OE-Core rev: 446767c4c471b8ec932698a23af5a815d326a0be)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Conflicts:
meta/recipes-devtools/gcc/gcc-4.6.inc