Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788421

Summary: net-libs/quiche-0.8.1: relocation R_X86_64_PC32 against undefined hidden symbol `GFp_ia32cap_P' can not be used when making a shared object
Product: Gentoo Linux Reporter: Vincent Grande <shoober420>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: quiche build log
emerge --info

Description Vincent Grande 2021-05-05 19:37:21 UTC
Created attachment 706215 [details]
quiche build log

I'm trying to compile quiche on my and encounter this build error.

/x86_64-unknown-linux-gnu/release/deps/libring-270097dd9085ea23.rlib(aesni-x86_64-elf.o): relocation R_X86_64_PC32 against undefined hidden symbol `GFp_ia32cap_P' can not be used when making a shared object
          /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: bad value

Build log attached.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-05 19:41:14 UTC
emerge —-info too please but that CHOST looks weird?
Comment 2 Vincent Grande 2021-05-05 20:07:54 UTC
Created attachment 706221 [details]
emerge --info

Here is my emerge info.
Comment 3 Vincent Grande 2021-05-05 20:14:01 UTC
I found it. Its because of LTO.

https://github.com/InBetweenNames/gentooLTO/blob/master/sys-config/ltoize/files/package.cflags/lto.conf#L111

I'll close this.