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

Bug 919214

Summary: net-p2p/cpuminer-opt-23.9 - [clang] ./miner.h: error: use of undeclared identifier x
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: CONFIRMED ---    
Severity: normal    
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.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-p2p:cpuminer-opt-23.9:20231204-112647.log
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 20:12:17 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  -Iyes/include -Iyes/include -c -o cpumi
clang -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  -Iyes/include -Iyes/include -c -o cpumi
clang -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  -Iyes/include -Iyes/include -c -o cpumi
clang -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int  -Iyes/include -Iyes/include -c -o cpumi
In file included from cpu-miner.c:41:
In file included from ./sysinfos.c:16:
./miner.h:189:14: error: use of undeclared identifier 'x'
  189 |    return ( (x << 24) & 0xff000000u ) | ( (x <<  8) & 0x00ff0000u )
      |              ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20231203-121010

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

CC=clang
CXX=clang++
gcc-config -l:
 [1] 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
Python 3.11.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-21 

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 1dc17df3c3253ecfe784434d3a20173662de005b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 11:16:56 2023 +0000

    2023-12-04 11:16:56 UTC

emerge -qpvO net-p2p/cpuminer-opt
[ebuild  N    ] net-p2p/cpuminer-opt-23.9  USE="-curl" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:12:18 UTC
Created attachment 877036 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:12:19 UTC
Created attachment 877037 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:12:20 UTC
Created attachment 877038 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:12:21 UTC
Created attachment 877039 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:12:22 UTC
Created attachment 877040 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:12:23 UTC
Created attachment 877041 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:12:24 UTC
Created attachment 877042 [details]
net-p2p:cpuminer-opt-23.9:20231204-112647.log
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:12:25 UTC
Created attachment 877043 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-04 20:12:26 UTC
Created attachment 877044 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-04 20:12:27 UTC
Created attachment 877045 [details]
var.tmp.clang.tar.xz