FS#32026 - [llvm] packaging lacks x32 support
Attached to Project:
Arch Linux
Opened by Fantix King (fantix) - Wednesday, 17 October 2012, 08:34 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 24 October 2012, 10:40 GMT
Opened by Fantix King (fantix) - Wednesday, 17 October 2012, 08:34 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 24 October 2012, 10:40 GMT
|
Details
Description:
The package "llvm" under x86_64 contains two header files: llvm-Config-llvm-config.h and llvm-Config-config.h. They work well with package "lib32-llvm" (32-bit) but not with "libx32-llvm" (x32 ABI). Reason is that, __WORDSIZE for x86_64-x32 is 32, the same as it is for i686. But x32 has different header files delivered in AUR package "libx32-llvm". A simple solution is offered in attachment. The fix should have no harm for normal "llvm" and "lib32-llvm" users at all, but could help "libx32-llvm" users a lot from hacking. Steps to reproduce: * Uninstall lib32-llvm * Install libx32-llvm from AUR * Write a simple .c to include llvm-config.h and compile with -mx32 (gcc-multilib-x32) * Expect failure: Cannot find llvm-config-32.h |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 24 October 2012, 10:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Same reasoning as FS#32176 .
Wednesday, 24 October 2012, 10:40 GMT
Reason for closing: Won't implement
Additional comments about closing: Same reasoning as
Patch attached.