Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...