• Bug#1101428: Backport patch allow a bunch of loong64-specific flags

    From Shengjing Zhu@21:1/5 to chenguoqi@loongson.cn on Thu Apr 17 16:40:01 2025
    On Thu, Mar 27, 2025 at 7:54 PM chenguoqi <chenguoqi@loongson.cn> wrote:

    Package: golang-1.24
    Version: 1.24.1
    Severity: wishlist
    Tags: patch
    User: debian-loongarch@lists.debian.org
    Usertags: loong64

    Hi,

    In Go1.24 and earlier versions, if the following flag is used in CGO:
    //#cgo linux, loong64 CFLAGS: -mlasx
    //#cgo linux, loong64 CPPFLAGS: -mlasx
    The Golang compiler will consider this as an invalid flag.
    This is a related issue:
    https://github.com/golang/go/issues/71597


    Could you also ask upstream to backport it to 1.24 release branch?

    --
    Shengjing Zhu

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)