compiler-rt project has broken i586 support


on SUSE i586 build hosts I started getting the following error recently:

[10283s] /home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/i386/floatundisf.S:82 COMPILE: clang_linux/full-i386/i386: /home/abuild/rpmbuild/BUILD/llvm/projects/compiler-rt/lib/gcc_personality_v0.c
[10283s] :15: error: invalid reference to undefined symbol
[10283s] movsd sticky-0b(%ecx,%eax,8), %xmm1

Since XMM registers are SSE-only, they don’t exist on i586 systems. Is there a way to make this code i586 compatible again since most of the 32bit Linux distributions are i586 only.


I reduced this to clang miscompiling itself: