Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919214 - net-p2p/cpuminer-opt-23.9 - [clang] ./miner.h: error: use of undeclared identifier x
Summary: net-p2p/cpuminer-opt-23.9 - [clang] ./miner.h: error: use of undeclared ident...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:12 UTC by Toralf Förster
Modified: 2024-04-11 01:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.34 KB, text/plain)
2023-12-04 20:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.78 KB, text/plain)
2023-12-04 20:12 UTC, Toralf Förster
Details
environment (environment,105.55 KB, text/plain)
2023-12-04 20:12 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:12 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.15 KB, application/x-xz)
2023-12-04 20:12 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.57 KB, application/x-xz)
2023-12-04 20:12 UTC, Toralf Förster
Details
net-p2p:cpuminer-opt-23.9:20231204-112647.log (net-p2p:cpuminer-opt-23.9:20231204-112647.log,14.89 KB, text/plain)
2023-12-04 20:12 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,113.12 KB, text/plain)
2023-12-04 20:12 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,35.07 KB, application/x-xz)
2023-12-04 20:12 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,920 bytes, application/x-xz)
2023-12-04 20:12 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-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