Summary: | games-board/stockfish-16-r1: benchmark.cpp:(.text+0xc5): undefined reference to `__llvm_profile_instrument_memop' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | 0xfdfefafd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-board:stockfish-15-r1:20221003-070154.log use not profile-guided build |
Description
Toralf Förster
2022-10-03 08:15:17 UTC
Created attachment 817378 [details]
emerge-info.txt
Created attachment 817381 [details]
emerge-history.txt
Created attachment 817384 [details]
environment
Created attachment 817387 [details]
etc.portage.tar.bz2
Created attachment 817390 [details]
games-board:stockfish-15-r1:20221003-070154.log
tinderbox_musl has reproduced this issue with version 15.1 - Updating summary. clang-lld_tinderbox has reproduced this issue with version 16-r1 - Updating summary. Created attachment 889021 [details, diff]
use not profile-guided build
ad-hoc patch
I can confirm same error with clang-17. To make it build (i tested stockfish-15-r1 and stockfish-16.1) I changed build type from "profile-build" to "build" in ebuild file (I attach this patch for these versions). This is not ideal, but at least it allows to build the program. But if you try to clone code from github and build manually with `make profile-build COMP=clang` it builds without problem! Unfortunately, that as far as I could go. |