FS#33199 - [llvm] LLVM/Clang cannot link 32-bit binaries
Attached to Project:
Arch Linux
Opened by Davorin Učakar (phantom) - Tuesday, 25 December 2012, 14:14 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 27 December 2012, 01:29 GMT
Opened by Davorin Učakar (phantom) - Tuesday, 25 December 2012, 14:14 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 27 December 2012, 01:29 GMT
|
Details
Description: LLVM/Clang 3.2-1 cannot link 32-bit binaries.
It works for 3.1-6 from extra and clang-svn from AUR (last
tested a few weeks ago).
Additional info: * package version(s) llvm-3.2-1, clang-3.2-1 Steps to reproduce: $ clang -m32 hello_world.c /usr/bin/ld.gold: error: lto-llvm.o-UD8LrA: incompatible target clang: error: linker command failed with exit code 1 (use -v to see invocation) A possible workaround is to link through gcc: $ clang -m32 -c hello_world.c $ gcc -m32 hello_world.o |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 27 December 2012, 01:29 GMT
Reason for closing: Fixed
Additional comments about closing: clang 3.2-2
Thursday, 27 December 2012, 01:29 GMT
Reason for closing: Fixed
Additional comments about closing: clang 3.2-2