FS#32176 - [curl] packaging lacks x32 support

Attached to Project: Arch Linux
Opened by Fantix King (fantix) - Tuesday, 23 October 2012, 08:10 GMT
Last edited by Dave Reisner (falconindy) - Tuesday, 23 October 2012, 10:05 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The package "curl" under x86_64 contains a header file: curl/curlbuild.h. It works well with package "lib32-curl" (32-bit) but not with "libx32-curl" (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-curl".

A simple solution is offered in attachment. The fix should have no harm for normal "curl" and "lib32-curl" users at all, but could help "libx32-curl" users a lot from hacking.


Steps to reproduce:
* Uninstall lib32-curl if any
* Install libx32-curl from AUR
* Write a simple .c to include curl/curl.h and compile with -mx32 (gcc-multilib-x32)
* Expect failure: Cannot find curl/curlbuild-32.h
This task depends upon

Closed by  Dave Reisner (falconindy)
Tuesday, 23 October 2012, 10:05 GMT
Reason for closing:  Won't implement
Additional comments about closing:  We do not support x32.

Loading...