Package Details: komodo-periphery 1.19.5-2

Git Clone URL: https://aur.archlinux.org/komodo-periphery.git (read-only, click to copy)
Package Base: komodo-periphery
Description: Periphery server for the komodo monitor
Upstream URL: https://komo.do/
Licenses: GPL-1.0-or-later
Conflicts: komodo-periphery-bin
Submitter: martorskull
Maintainer: martorskull
Last Packager: martorskull
Votes: 2
Popularity: 0.021342
First Submitted: 2025-05-02 01:24 (UTC)
Last Updated: 2025-10-13 10:17 (UTC)

Latest Comments

martorskull commented on 2025-10-13 10:08 (UTC) (edited on 2025-10-13 10:12 (UTC) by martorskull)

There is a known bug in the ring library that komodo uses. And as you correctly pointed out enabling the -ffat-lto-objects solves the compilation issue, and as described here and here it seems to be the preferred solution, so this is what I went with.

andiandi commented on 2025-08-25 21:45 (UTC)

Has anyone managed to get this to build in a clean chroot? I keep getting linker errors.

   Compiling komodo_periphery v1.19.0 (/build/komodo-periphery/src/komodo/bin/periphery)
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" <very long command omitted>
  = note: /usr/bin/ld: /build/komodo-periphery/src/komodo/target/release/deps/libring-ff904723fb1beb67.rlib(ring-ff904723fb1beb67.ring.a6d22755bce1d9e3-cgu.03.rcgu.o): in function `ring::cpu::intel::featureflags::get_or_init::{{closure}}':
          /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/src/cpu/intel.rs:57:(.text.unlikely._ZN4ring8polyfill9once_cell4race16OnceNonZeroUsize4init17h1f7d68f664036e5eE.llvm.13213222136478676709+0x1e): undefined reference to `ring_core_0_17_14__OPENSSL_cpuid_setup'
          /usr/bin/ld: /build/komodo-periphery/src/komodo/target/release/deps/libring-ff904723fb1beb67.rlib(ring-ff904723fb1beb67.ring.a6d22755bce1d9e3-cgu.03.rcgu.o): in function `ring::bb::verify_slices_are_equal':
          /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/src/bb/mod.rs:38:(.text._ZN4ring4aead9algorithm9Algorithm11open_within17hca811cd679047326E+0x55): undefined reference to `ring_core_0_17_14__CRYPTO_memcmp'
          /usr/bin/ld: /build/komodo-periphery/src/komodo/target/release/deps/libring-ff904723fb1beb67.rlib(ring-ff904723fb1beb67.ring.a6d22755bce1d9e3-cgu.03.rcgu.o): in function `ring::limb::limbs_minimal_bits':
          /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/src/limb.rs:142:(.text._ZN4ring4limb18limbs_minimal_bits17hc0bf144c7584599bE+0x84): undefined reference to `ring_core_0_17_14__LIMB_shr'
          /usr/bin/ld: /build/komodo-periphery/src/komodo/target/release/deps/libring-ff904723fb1beb67.rlib(ring-ff904723fb1beb67.ring.a6d22755bce1d9e3-cgu.03.rcgu.o): in function `ring::limb::limbs_less_than_limbs':
          /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.17.14/src/limb.rs:66:(.text._ZN4ring4limb43parse_big_endian_in_range_and_pad_consttime17h7ff84dcb0cd5b0b4E+0x11c): undefined reference to `ring_core_0_17_14__LIMBS_less_than'
(and many more like this)

Extending the cflags in build() as a workaround with CFLAGS+=' -ffat-lto-objects' got it to build, but I could not test if it runs yet.