• Bug#1102195: boost1.88 ftbfs on sparc64

    From Matthias Klose@21:1/5 to All on Sun Apr 6 11:10:01 2025
    XPost: linux.debian.ports.sparc

    Package: src:boost1.88
    Version: 1.88.0~beta1-1~exp1
    Severity: important
    X-Debbugs-CC: debian-sparc@lists.debian.org

    Also the -mcpu=v7 looks suspicious.

    [...]
    "g++" -x assembler-with-cpp -fPIC -m64 -pthread -O3
    -finline-functions -Wno-inline -Wall -g -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -mcpu=v7 -DBOOST_ALL_NO_LIB=1
    -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -I"." -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/assert/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/context/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/core/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/integer/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/mp11/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/pool/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/predef/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/smart_ptr/include" -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/throw_exception/include"
    -I"/build/reproducible-path/boost1.88-1.88.0~beta1/libs/winapi/include"
    -c -o "bin.v2/libs/context/build/gcc-14/release/sparc_64/debug-symbols-on/threading-multi/visibility-hidden/asm/ontop_sparc64_sysv_elf_gas.o"
    "/build/reproducible-path/boost1.88-1.88.0~beta1/libs/context/src/asm/ontop_sparc64_sysv_elf_gas.S"

    /tmp/ccnn9sm2.s: Assembler messages:
    /tmp/ccnn9sm2.s: Error: .size expression for jump_fcontext does not
    evaluate to a constant
    ...failed gcc.compile.asm bin.v2/libs/context/build/gcc-14/release/sparc_64/debug-symbols-on/threading-multi/visibility-hidden/asm/ontop_sparc64_sysv_elf_gas.o...
    gcc.compile.c++ bin.v2/libs/url/build/gcc-14/release/sparc_64/debug-symbols-on/threading-multi/visibility-hidden/rfc/detail/ipv6_addrz_rule.o

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Matthias Klose on Sun Apr 6 11:20:01 2025
    XPost: linux.debian.ports.sparc

    Hi,

    On Sun, 2025-04-06 at 11:02 +0200, Matthias Klose wrote:
    Also the -mcpu=v7 looks suspicious.

    [...]
    "g++" -x assembler-with-cpp -fPIC -m64 -pthread -O3
    -finline-functions -Wno-inline -Wall -g -fvisibility=hidden -Wdate-time -D_FORTIFY_SOURCE=2 -mcpu=v7 -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DBOOST_DISABLE_ASSERTS -DNDEBUG -I"." n/threading-multi/visibility-hidden/rfc/detail/ipv6_addrz_rule.o

    Yeah, that -mcpu=v7 definitely needs to be dropped. We use -mcpu=v9.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

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