FS#17828 - [llvm] 2.6-6 reports incorrect architecture on i686
Attached to Project:
Community Packages
Opened by Arvid (BeholdMyGlory) - Wednesday, 13 January 2010, 22:15 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 14 January 2010, 00:03 GMT
Opened by Arvid (BeholdMyGlory) - Wednesday, 13 January 2010, 22:15 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 14 January 2010, 00:03 GMT
|
Details
Description:
Running 'llvm-config --host-target' from the community package outputs 'x86_64-unknown-linux-gnu', even on i686. That LLVM reports the incorrect architecture causes for example the D runtime library Tango to fail miserably when trying to compile the library for the D compiler for LLVM, LDC, since LDC tries to build for x86_64. This makes it completely useless for my purposes. The expected output of 'llvm-config --host-target' is something along the lines of 'i686-pc-linux-gnu' (which is outputed from the config.guess script of LDC.) Additional info: * package version: 2.6-6 Steps to reproduce: 1) Install LLVM from [community] 2) Compile and install LDC using the attached PKGBUILD.ldc 3) Try to compile libtango from SVN for LDC using the attached PKGBUILD.libtango. Here it will output a mountain of errors when running the build script, build/bin/linux/bob |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 14 January 2010, 00:03 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed in llvm 2.6-6.1. Reopen if the issue persists.
Thursday, 14 January 2010, 00:03 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed in llvm 2.6-6.1. Reopen if the issue persists.
PKGBUILD.ldc
I will fix this immediately!