You are not logged in.
so ive tried with both a pacman wrpper and with makepkg -si but bith ways for all three yeild the same error at different stps in the make cycle
ph/blake2s.c: In function ‘blake2s’:
sph/blake2s.c:330:9: error: size of array element is not a multiple of its alignment
330 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:1530: sph/ccminer-blake2s.o] Error 1
make[2]: Leaving directory '/home/jer/ccminer-git/src/ccminer'
make[1]: *** [Makefile:2350: all-recursive] Error 1
make[1]: Leaving directory '/home/jer/ccminer-git/src/ccminer'
make: *** [Makefile:745: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
ive tried some google but alas nothing so im not sure if theres even anything i can do but hey its arch
Offline
A little direction might be nice.....
Offline
You do realize the source for all 3 upstreams hasn't seen changes in 2+ years and it may be time to look for alternative software ?
If you do want help building ccminer, choose one of them.
build it with the --log paramater added to your makepkg command and post the full output of the logfiles that creates.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
the question then would be are there any currently maintained miners for cuda?
the log:
configure.ac:4: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:4: the top level
configure.ac:13: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:13: the top level
configure.ac:22: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:22: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:22: the top level
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/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 gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
16,13 11%
i tried to autoupdate just for sng but i apparently dont have a configure.ac file which is a whole nother line of google-ling.
Last edited by 5m0k3l3ss (2022-02-06 17:53:55)
Offline
the configure warnings are mainly because the program was written for older automake versions.
building with make -j1 makes clear the build breaks on the blake2 file.
g++ -DHAVE_CONFIG_H -I. -fopenmp -I/usr/include/openssl-1.0 -pthread -fno-strict-aliasing -I/opt/cuda/include -I/usr/include/openssl-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto -MT equi/blake2/ccminer-blake2bx.o -MD -MP -MF equi/blake2/.deps/ccminer-blake2bx.Tpo -c -o equi/blake2/ccminer-blake2bx.o `test -f 'equi/blake2/blake2bx.cpp' || echo './'`equi/blake2/blake2bx.cpp
equi/blake2/blake2bx.cpp: In function ‘int eq_blake2b(uint8_t*, const void*, const void*, uint8_t, uint64_t, uint8_t)’:
equi/blake2/blake2bx.cpp:244:26: error: size of array element is not a multiple of its alignment
244 | blake2b_state S[1];
| ^
make[2]: *** [Makefile:2110: equi/blake2/ccminer-blake2bx.o] Error 1Searching for that leads to https://github.com/JayDDee/cpuminer-opt/issues/313 and especially https://bugzilla.redhat.com/show_bug.cgi?id=1937076
Looks like solving it will require changing the sourcecode (beyond my skill level).
No idea about alternatives with or without cuda.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
i had found a few in the aur but i realized after setting up that i needed cudo not cuda pluuus my gpu is like 10 years old top of the line then ddr3 1gb radeaon 4670 but toay i laugh. thanks for the info man stay chill.
Last edited by 5m0k3l3ss (2022-02-10 16:14:32)
Offline