Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919781 - games-board/stockfish-16 - [clang] error: error: error: ErrorError inin readingreading profileprofile .../default.profdata: NoNo suchErrorsuch file fileor in
Summary: games-board/stockfish-16 - [clang] error: error: error: ErrorError inin readi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-12 16:57 UTC by Toralf Förster
Modified: 2024-11-23 16:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,190.04 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
environment (environment,69.28 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.05 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
games-board:stockfish-16:20231212-113943.log (games-board:stockfish-16:20231212-113943.log,14.82 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.57 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-12 16:57:23 UTC
clang++clang++clang++: : warning: warning: optimization flag '-fno-peel-loops' is not supported [-Wignored-optimization-argument]optimization flag '-fno-peel-loops' is not supported [-Wignored-optimization-argument]

clang++clang++: : warning: warning: optimization flag '-fno-tracer' is not supported [-Wignored-optimization-argument]optimization flag '-fno-peel-loops' is not supported [-Wignored-optimization-argument]

clang++: warning: optimization flag '-fno-tracer' is not supported [-Wignored-optimization-argument]: 
warning: optimization flag '-fno-tracer' is not supported [-Wignored-optimization-argument]
error: error: error: ErrorError  inin  readingreading  profileprofile  profdir/default.profdata:profdir/default.profdata:  NoNo  suchErrorsuch  file  fileor in
or 
reading             directoryprofile

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 5c694d04ae589ca222f3b66757bab69250ab1131
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 10:33:53 2023 +0000

    2023-12-12 10:33:53 UTC

emerge -qpvO games-board/stockfish
[ebuild  N    ] games-board/stockfish-16  USE="optimize -debug -general-32 -general-64" CPU_FLAGS_X86="avx2 popcnt sse"
Comment 1 Toralf Förster gentoo-dev 2023-12-12 16:57:24 UTC
Created attachment 878904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 16:57:26 UTC
Created attachment 878905 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-12 16:57:27 UTC
Created attachment 878906 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-12 16:57:28 UTC
Created attachment 878907 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-12 16:57:29 UTC
Created attachment 878908 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 16:57:30 UTC
Created attachment 878909 [details]
games-board:stockfish-16:20231212-113943.log
Comment 7 Toralf Förster gentoo-dev 2023-12-12 16:57:31 UTC
Created attachment 878910 [details]
qlist-info.txt.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-11-23 16:54:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=035bae314b847add8934886e11a4df62b9c7f16d

commit 035bae314b847add8934886e11a4df62b9c7f16d
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-07-13 14:40:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-23 16:54:04 +0000

    games-board/stockfish: fix clang build failure
    
    COMP should be a fixed string like clang/gcc to set tools for PGO.
    Possible values are described in https://disservin.github.io/stockfish-docs/stockfish-wiki/Compiling-from-source.html#compilers
    Note that even though COMP points to C compiler, stockfish calls only C++ compile provided in COMPILER parameter.
    
    Closes: https://bugs.gentoo.org/919781
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37542
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/stockfish/stockfish-16-r1.ebuild | 13 ++++++++++++-
 games-board/stockfish/stockfish-16.1.ebuild  | 13 ++++++++++++-
 games-board/stockfish/stockfish-16.ebuild    | 13 ++++++++++++-
 games-board/stockfish/stockfish-17.ebuild    | 13 ++++++++++++-
 4 files changed, 48 insertions(+), 4 deletions(-)