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

Bug 854678

Summary: app-i18n/yaskkserv2-0.1.3 fails to compile (lto): undefined reference to __rbt_backtrace_pcinfo
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz93
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=893658
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-27 19:57:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/yaskkserv2-0.1.3 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-27 19:57:30 UTC
Created attachment 788132 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-27 19:57:32 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


          /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: backtrace.ef383e39-cgu.3:(.text._ZN9backtrace9symbolize12libbacktrace10syminfo_cb17ha7c3c41ee14b3f7eE.llvm.3701304334852163829+0x66): undefined reference to `__rbt_backtrace_pcinfo'
          /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: backtrace.ef383e39-cgu.3:(.text._ZN9backtrace9symbolize12libbacktrace7resolve17h9b3d3b8adc930024E+0xd3): undefined reference to `__rbt_backtrace_syminfo'
          backtrace.ef383e39-cgu.3:(.text._ZN9backtrace9symbolize12libbacktrace10syminfo_cb17ha7c3c41ee14b3f7eE.llvm.3701304334852163829+0x3f): undefined reference to `__rbt_backtrace_create_state'
          backtrace.ef383e39-cgu.3:(.text._ZN9backtrace9symbolize12libbacktrace7resolve17h9b3d3b8adc930024E+0x71): undefined reference to `__rbt_backtrace_create_state'
error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1
Comment 3 Eli Schwartz 2024-03-03 05:10:36 UTC
Apparently fixed by cargo.eclass, cannot reproduce anymore.