Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877042 Details for
Bug 919214
net-p2p/cpuminer-opt-23.9 - [clang] ./miner.h: error: use of undeclared identifier x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-p2p:cpuminer-opt-23.9:20231204-112647.log
net-p2p:cpuminer-opt-23.9:20231204-112647.log (text/plain), 14.89 KB, created by
Toralf Förster
on 2023-12-04 20:12:24 UTC
(
hide
)
Description:
net-p2p:cpuminer-opt-23.9:20231204-112647.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 20:12:24 UTC
Size:
14.89 KB
patch
obsolete
> * Package: net-p2p/cpuminer-opt-23.9:0 > * Repository: gentoo > * Maintainer: candrews@gentoo.org > * USE: abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking cpuminer-opt-23.9.tar.gz to /var/tmp/portage/net-p2p/cpuminer-opt-23.9/work >>>> Source unpacked in /var/tmp/portage/net-p2p/cpuminer-opt-23.9/work >>>> Preparing source in /var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9 ... > * Running eautoreconf in '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-p2p/cpuminer-opt-23.9/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: cpuminer-opt-23.9/ >>>> Source prepared. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> Configuring source in /var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9 ... > * econf: updating cpuminer-opt-23.9/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating cpuminer-opt-23.9/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/cpuminer-opt-23.9 --htmldir=/usr/share/doc/cpuminer-opt-23.9/html --libdir=/usr/lib64 --with-crypto --with-curl >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking target system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking whether make supports the include directive... yes (GNU style) >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking whether clang needs -traditional... no >checking dependency style of clang... none >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking whether the compiler supports GNU C++... yes >checking whether clang++ accepts -g... yes >checking for clang++ option to enable C++11 features... none needed >checking dependency style of clang++... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for egrep... (cached) /usr/bin/grep -E >checking for sys/endian.h... no >checking for sys/param.h... yes >checking for syslog.h... yes >checking for sys/sysctl.h... no >checking for clang options needed to detect all undeclared functions... (cached) none needed >checking whether be32dec is declared... no >checking whether le32dec is declared... no >checking whether be32enc is declared... no >checking whether le32enc is declared... no >checking whether le16dec is declared... no >checking whether le16enc is declared... no >checking for size_t... yes >checking for working alloca.h... yes >checking for alloca... yes >checking for getopt_long... yes >checking whether we can compile AVX code... yes >checking whether we can compile XOP code... yes >checking whether we can compile AVX2 code... yes >checking whether we can compile AVX512 code... yes >checking for json_loads in -ljansson... yes >checking for pthread_create in -lpthread... yes >checking whether __uint128_t is supported... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating compat/Makefile >config.status: creating compat/jansson/Makefile >config.status: creating cpuminer-config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/net-p2p/cpuminer-opt-23.9/temp/clang16-errors.log' -> '/var/tmp/clang/net-p2p/cpuminer-opt-23.9/clang16-errors.log' >'/var/tmp/portage/net-p2p/cpuminer-opt-23.9/temp/clang16-safe.log' -> '/var/tmp/clang/net-p2p/cpuminer-opt-23.9/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9 ... >make -j4 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' >Making all in compat >make[2]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9/compat' >make[3]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9/compat' >make[3]: Nothing to be done for 'all-am'. >make[3]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9/compat' >make[2]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9/compat' >make[2]: Entering directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' >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 cpuminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c >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 cpuminer-util.o `test -f 'util.c' || echo './'`util.c >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 cpuminer-api.o `test -f 'api.c' || echo './'`api.c >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 cpuminer-sysinfos.o `test -f 'sysinfos.c' || echo './'`sysinfos.c >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 ) > | ^ >./miner.h:189:44: error: use of undeclared identifier 'x' > 189 | return ( (x << 24) & 0xff000000u ) | ( (x << 8) & 0x00ff0000u ) > | ^ >./miner.h:190:14: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >./miner.h:190:44: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >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 ) > | ^ >./miner.h:189:44: error: use of undeclared identifier 'x' > 189 | return ( (x << 24) & 0xff000000u ) | ( (x << 8) & 0x00ff0000u ) > | ^ >./miner.h:190:14: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >./miner.h:190:44: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >In file included from util.c:27: >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 ) > | ^ >./miner.h:189:44: error: use of undeclared identifier 'x' > 189 | return ( (x << 24) & 0xff000000u ) | ( (x << 8) & 0x00ff0000u ) > | ^ >./miner.h:190:14: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >./miner.h:190:44: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >4 errors generated. >make[2]: *** [Makefile:2578: cpuminer-sysinfos.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >In file included from cpu-miner.c:42: >In file included from ./algo/sha/sha256d.h:5: >In file included from ./algo-gate-api.h:8: >In file included from ./simd-utils.h:153: >./simd-utils/simd-int.h:173:4: warning: "__int128 not supported, requires > GCC-4.8 or newer." [-W#warnings] > 173 | #warning "__int128 not supported, requires GCC-4.8 or newer." > | ^ >In file included from cpu-miner.c:42: >In file included from ./algo/sha/sha256d.h:5: >In file included from ./algo-gate-api.h:8: >In file included from ./simd-utils.h:156: >./simd-utils/simd-64.h:159:10: error: argument to '__builtin_ia32_palignr' must > be a constant integer > 159 | { return _mm_alignr_pi8( v, v, c ); } > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/lib/llvm/17/bin/../../../../lib/clang/17/include/tmmintrin.h:175:11: note: > expanded from macro '_mm_alignr_pi8' > 175 | ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) > | ^ ~~~ >In file included from api.c:33: >In file included from ./algo/sha/sha1-hash.h:5: >In file included from ./simd-utils.h:153: >./simd-utils/simd-int.h:173:4: warning: "__int128 not supported, requires > GCC-4.8 or newer." [-W#warnings] > 173 | #warning "__int128 not supported, requires GCC-4.8 or newer." > | ^ >In file included from api.c:33: >In file included from ./algo/sha/sha1-hash.h:5: >In file included from ./simd-utils.h:156: >./simd-utils/simd-64.h:159:10: error: argument to '__builtin_ia32_palignr' must > be a constant integer > 159 | { return _mm_alignr_pi8( v, v, c ); } > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/lib/llvm/17/bin/../../../../lib/clang/17/include/tmmintrin.h:175:11: note: > expanded from macro '_mm_alignr_pi8' > 175 | ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) > | ^ ~~~ >1 warning and 5 errors generated. >make[2]: *** [Makefile:2536: cpuminer-cpu-miner.o] Error 1 >In file included from api.c:35: >./miner.h:189:14: error: use of undeclared identifier 'x' > 189 | return ( (x << 24) & 0xff000000u ) | ( (x << 8) & 0x00ff0000u ) > | ^ >In file included from util.c:48: >In file included from ./algo-gate-api.h:8: >In file included from ./simd-utils.h:153: >./simd-utils/simd-int.h:173:4:./miner.h :warning: 189:"__int12844: noterror: usesupported, ofrequires >undeclared GCC-4.8identifier or'x' >newer." [-W#warnings]189 > | r e173t | ur n #(w a(rxn i<n<g 2"4_)_ i&n t01x2f8f 0n0o0t0 0s0uup p)o r|t e(d ,( xr e<q<u i r8e)s &G C0Cx-040.f8f 0o0r0 0nue w)e >r .| " ^ > > | ^ >./miner.h:190:14: error: use of undeclared identifier 'x' > 190 | | ( (x >> 8) & 0x0000ff00u ) | ( (x >> 24) & 0x000000ffu ) > | ^ >In file included from util.c:48: >In file included from ./algo-gate-api.h:8: >In file included from ./simd-utils.h:156: >./simd-utils/simd-64.h:159./miner.h::10190:: 44error: : argumenterror: useto of'__builtin_ia32_palignr' undeclared mustidentifier > 'x'be > a190 | constant integer > | 159( | {( xr e>t>u r n8 )_ m&m _0axl0i0g0n0rf_fp0i08u( )v ,| v( ,( xc >)>; 2}4 >) | & ^~~~~~~~~~~~~~~~~~~~~~~~~ >0x000/usr/lib/llvm/17/bin/../../../../lib/clang/17/include/tmmintrin.h0:01750:f11f:u note: ) > > expanded| ^from > macro '_mm_alignr_pi8' > 175 | ((__m64)__builtin_ia32_palignr((__v8qi)(__m64)(a), (__v8qi)(__m64)(b), (n))) > | ^ ~~~ >1 warning and 5 errors generated. >make[2]: *** [Makefile:2564: cpuminer-api.o] Error 1 >util.c:1376:33: error: use of undeclared identifier 'uint128_t' > 1376 | diff = (long double)( (uint128_t)0xffff << ( (-shift_off) *8 ) ) > | ^ >util.c:1380:35: error: use of undeclared identifier 'uint128_t' > 1380 | / (long double)( (uint128_t)bits << ( shift_off*8 ) ); > | ^ >1 warning and 7 errors generated. >make[2]: *** [Makefile:2550: cpuminer-util.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' >make[1]: *** [Makefile:6223: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' >make: *** [Makefile:1190: all] Error 2 > * ERROR: net-p2p/cpuminer-opt-23.9::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-p2p/cpuminer-opt-23.9::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-p2p/cpuminer-opt-23.9::gentoo'`. > * The complete build log is located at '/var/log/portage/net-p2p:cpuminer-opt-23.9:20231204-112647.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/temp/environment'. > * Working directory: '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' > * S: '/var/tmp/portage/net-p2p/cpuminer-opt-23.9/work/cpuminer-opt-23.9' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919214
:
877036
|
877037
|
877038
|
877039
|
877040
|
877041
| 877042 |
877043
|
877044
|
877045