Bug#1060656: haskell-charsetdetect-ae: Please add support for loongarch

yalingfang fangyaling at loongson.cn
Fri Jan 12 08:38:38 GMT 2024


Source: haskell-charsetdetect-ae
Version: 1.1.0.4-5
Severity: wishlist
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64


Dear Maintainer,

     Unsupportted arch error happend when compiling 
fhaskell-charsetdetect-ae in Loongarch env.

The error message is following:

libcharsetdetect/nspr-emu/prcpucfg_linux.h:703:2: error:

      error: #error "Unknown CPU architecture"
       703 | #error "Unknown CPU architecture"
           |  ^~~~~
     |
703 | #error "Unknown CPU architecture"
     |  ^


libcharsetdetect/nspr-emu/prtypes.h:258:2: error:
      error: #error No suitable type for PRInt8/PRUint8
       258 | #error No suitable type for PRInt8/PRUint8
           |  ^~~~~


I have verified and compiled pass by adding loong64 support in my local env.
Attached the  patch.

Please add support for it. Thanks!
Any question, contact me!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20240112/973add03/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-loongarch-support.patch
Type: application/octet-stream
Size: 5254 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20240112/973add03/attachment-0001.obj>


More information about the Pkg-haskell-maintainers mailing list