Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854678 - app-i18n/yaskkserv2-0.1.3 fails to compile (lto): undefined reference to __rbt_backtrace_pcinfo
Summary: app-i18n/yaskkserv2-0.1.3 fails to compile (lto): undefined reference to __rb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 19:57 UTC by Agostino Sarubbo
Modified: 2024-03-03 05:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,196.31 KB, text/plain)
2022-06-27 19:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.