Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854543 - app-forensics/aflplusplus-4.00c fails to compile (lto): undefined reference to __sanitizer_cov_trace_pc_guard_init
Summary: app-forensics/aflplusplus-4.00c fails to compile (lto): undefined reference t...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 06:20 UTC by Agostino Sarubbo
Modified: 2022-06-27 06:20 UTC (History)
0 users

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


Attachments
build.log (build.log,76.87 KB, text/plain)
2022-06-27 06:20 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 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)