Package Details: quiche 0.20.1-1

Git Clone URL: https://aur.archlinux.org/quiche.git (read-only, click to copy)
Package Base: quiche
Description: an implementation of the QUIC transport protocol and HTTP/2 as specified by the IETF
Upstream URL: https://github.com/cloudflare/quiche
Keywords: quic
Licenses: custom:BSD
Submitter: kasei
Maintainer: sunng
Last Packager: sunng
Votes: 1
Popularity: 0.71
First Submitted: 2019-10-10 11:53 (UTC)
Last Updated: 2024-03-13 19:15 (UTC)

Latest Comments

sunng commented on 2024-02-27 02:50 (UTC)

I can reproduce this issue and getting error

/sbin/ld: /home/sunng/.cache/paru/clone/quiche/src/quiche-0.20.0/target/release/build/boring-sys-c06d77521c995189/out/build//libssl.a(ssl_asn1.cc.o): plugin needed to handle lto object

Followed by more error message as @Bodenhaltung posted.

I confirm disabling lto works.

VorpalWay commented on 2024-02-26 22:25 (UTC) (edited on 2024-02-26 22:25 (UTC) by VorpalWay)

@Bodenhaltung @baest I found adding options=('!lto') helped (to another package that I was making a PKGBUILD for, that had the exact same issue).

I'm adding this note here, since this was the only thing that came up when I googled for the error.

Bodenhaltung commented on 2024-02-26 13:21 (UTC) (edited on 2024-02-26 13:22 (UTC) by Bodenhaltung)

Same here, after install clang packages it failed with:

= note: /usr/bin/ld: /home/arch/.cache/yay/quiche/src/quiche-0.20.0/target/release/deps/libring-cf60afd25683388e.rlib(ring-cf60afd25683388e.ring.5c70dc4145420383-cgu.02.rcgu.o): in function `ring::cpu::intel::Feature::available':
        /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead3aes3Key20ctr32_encrypt_within17haabf201f8cffe1c7E+0x2e): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
        /usr/bin/ld: /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm4init17hcffccddd75bbacb3E+0xb0): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
        /usr/bin/ld: /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17he1de9176e3a50f53E+0x175): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
        /usr/bin/ld: /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm12aes_gcm_seal17he1de9176e3a50f53E+0x2bb): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
        /usr/bin/ld: /home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65:(.text._ZN4ring4aead7aes_gcm12aes_gcm_open17hf8072c56e35c82d4E+0x176): undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'
        /usr/bin/ld: /home/arch/.cache/yay/quiche/src/quiche-0.20.0/target/release/deps/libring-cf60afd25683388e.rlib(ring-cf60afd25683388e.ring.5c70dc4145420383-cgu.02.rcgu.o):/home/arch/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.17.8/src/cpu/intel.rs:65: more undefined references to `ring_core_0_17_8_OPENSSL_ia32cap_P' follow
        /usr/bin/ld: /home/arch/.cache/yay/quiche/src/quiche-0.20.0/target/release/deps/libring-cf60afd25683388e.rlib(30d57aab272aeffe-chacha-x86_64-elf.o): relocation R_X86_64_PC32 against undefined hidden symbol `ring_core_0_17_8_OPENSSL_ia32cap_P' can not be used when making a shared object
        /usr/bin/ld: final link failed: bad value
        collect2: error: ld returned 1 exit status

baest commented on 2024-02-21 09:29 (UTC)

I think quiche is missing some dependencies. I had to install the clang package in order to install it and even after that was installed it failed with the following linker error: "undefined reference to `ring_core_0_17_8_OPENSSL_ia32cap_P'". Not sure what package provides that, but a co-worker was able to build it.

lilydjwg commented on 2019-10-11 08:37 (UTC)

The included pkg-config file isn't suitable for a system-wide install. Better to use https://pastebin.com/H2gdqVBt.

Also consider use a separate boringssl package because projects e.g. curl need it anyway.