Created attachment 13004
The C source file that triggers the bug
When I try to compile a certain short C-file with clang for a 32-bit i386 target with optimization, I get this linker error:
/tmp/addup-b0948d.o:/home/tor/c/addup.c:function addup: error: undefined reference to '__multi3'
As I understand it, __multi3 is a 128-bit function, and not available on 32-bit i386. The C source does not use and 128-bit types, only 64-bit.
Created attachment 13004
The C source file that triggers the bug
When I try to compile a certain short C-file with clang for a 32-bit i386 target with optimization, I get this linker error: b0948d. o:/home/ tor/c/addup. c:function addup: error: undefined reference to '__multi3'
/tmp/addup-
As I understand it, __multi3 is a 128-bit function, and not available on 32-bit i386. The C source does not use and 128-bit types, only 64-bit.
With the versions of clang-3.4 and 3.5 in the Ubuntu repositories, clang segfaults instead. Reported here: https:/ /bugs.launchpad .net/ubuntu/ +source/ llvm-toolchain- snapshot/ +bug/1365701