FS#29951 - [llvm] Produces broken host triple configuration in a multilib environment under 32 bits
Attached to Project:
Arch Linux
Opened by Laurent Carlier (lordheavy) - Saturday, 19 May 2012, 22:19 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 26 May 2012, 01:58 GMT
Opened by Laurent Carlier (lordheavy) - Saturday, 19 May 2012, 22:19 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 26 May 2012, 01:58 GMT
|
Details
Description:
When llvm is built, the file llvm-config.h produced harcode the host triple. There is no problems when llvm is used to built binaries in a pure 64 bits or 32 bits environment, but this design broke badly when building 32 bits binaries under 64 bits (here lib32-mesa). See https://bugs.freedesktop.org/show_bug.cgi?id=44466 See https://bugs.archlinux.org/task/27645 The easier (and proper) is to use a similar workaround as provided by fedora: See http://pkgs.fedoraproject.org/gitweb/?p=llvm.git;a=tree;hb=HEAD |
This task depends upon
I just wait llvm to be "fixed" to upload the corresponding lib32-llvm.
Let me know if it works correctly.