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

Bug 854543

Summary: app-forensics/aflplusplus-4.00c fails to compile (lto): undefined reference to __sanitizer_cov_trace_pc_guard_init
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sam James <sam>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

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

Issue: app-forensics/aflplusplus-4.00c 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 06:20:20 UTC
Created attachment 787901 [details]
build.log

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


/usr/lib/llvm/13/include/llvm/Support/Error.h: In member function ‘void llvm::Error::setChecked(bool)’:
ld-temp.o:(.text.sancov.module_ctor_trace_pc_guard[sancov.module_ctor_trace_pc_guard]+0xf): undefined reference to `__sanitizer_cov_trace_pc_guard_init'
llvm_mode/./test-instr.c:(.text.main[main]+0x16): undefined reference to `__afl_area_ptr'
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)