Skip to content

Build failure with GCC 15: -Wmaybe-uninitialized error in protocol.cpp (sort_ki) #296

@Sol-dato

Description

@Sol-dato

Environment

  • OS: CachyOS (Arch-based)
  • GCC version: 15.2.1
  • Feather version: 2.8.1 (via AUR feather-wallet)

Description

Building feather-wallet from source via the AUR fails with GCC 15.
The error occurs in src/device_trezor/trezor/protocol.cpp at sort_ki().

Error

bits/stl_vector.h:112:35: warning: '_M_finish' may be used uninitialized [-Wmaybe-uninitialized]

hw::trezor::protocol::tx::Signer::sort_ki()
protocol.cpp:618

make: *** [Makefile:136: all] Error 2

Notes

  • The official AppImage (2.8.1) works fine
  • This is a GCC 15 compatibility issue, likely in the Boost/Monero submodule code
  • The featherwallet-appimage AUR package is also broken, stuck on 2.7.0 with a dead download URL

Workaround

Using the AppImage directly from GitHub releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions