Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

will not build without erroring out #1367

@keefer223

Description

@keefer223

Describe the bug

Multiple issues during build, see below. Reinstall the software multiple times, to no avail.

To Reproduce
Steps to reproduce the behavior:

  1. ./build-debian-11.sh
  2. See errors

crypto/oaes_lib.c: In function ‘oaes_get_seed’:
crypto/oaes_lib.c(514,2): warning G888501CD: ‘ftime’ is deprecated [-Wdeprecated-declarations] [/home/keefer/miningcore/src/Miningcore/Miningcore.csproj]

In file included from crypto/slow-hash-lite.c:73:
crypto/slow-hash-lite.c: In function ‘aes_256_assist2’:
/usr/lib/gcc/x86_64-linux-gnu/10/include/wmmintrin.h(87,1): error G26EF8B3F: inlining failed in call to ‘always_inline’ ‘_mm_aeskeygenassist_si128’: target specific option mismatch [/home/keefer/miningcore/src/Miningcore/Miningcore.csproj]

/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h: In function ‘void prep_dv_avx(__m256i*, __m256i&, __m256&)’:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h(454,1): error GCC5876E4: inlining failed in call to ‘always_inline’ ‘__m256 _mm256_cvtepi32_ps(__m256i)’: target specific option mismatch [/home/keefer/miningcore/src/Miningcore/Miningcore.csproj]

In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:51,
from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
from xmrig/crypto/cn/gpu/cn_gpu_avx.cpp:30:
/usr/lib/gcc/x86_64-linux-gnu/10/include/avxintrin.h(908,1): error GF2D1BF8C: inlining failed in call to ‘always_inline’ ‘__m256i _mm256_load_si256(const __m256i*)’: target specific option mismatch [/home/keefer/miningcore/src/Miningcore/Miningcore.csproj]

[ 79%] Built target randomx
Scanning dependencies of target randomx-benchmark
[ 82%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/benchmark.cpp.o
[ 85%] Building CXX object CMakeFiles/randomx-benchmark.dir/src/tests/affinity.cpp.o
[ 88%] Linking CXX executable randomx-benchmark
[ 88%] Built target randomx-benchmark
Scanning dependencies of target randomx-codegen
[ 91%] Building CXX object CMakeFiles/randomx-codegen.dir/src/tests/code-generator.cpp.o
[ 94%] Linking CXX executable randomx-codegen
[ 94%] Built target randomx-codegen
Scanning dependencies of target randomx-tests
[ 97%] Building CXX object CMakeFiles/randomx-tests.dir/src/tests/tests.cpp.o
[100%] Linking CXX executable randomx-tests
[100%] Built target randomx-tests
find . -name '*.o' -exec rm -r {} ;
rm -f librandomarq.so
g++ -shared -pthread -L. -Wl,-whole-archive librandomx.a -Wl,-no-whole-archive -o librandomarq.so -lstdc++ -lgcc -lc
/home/keefer/miningcore/src/Miningcore/Miningcore.csproj(123,9): error MSB3073: The command "(cd /home/keefer/miningcore/src/Miningcore/ && sh build-libs-linux.sh bin/Release/net6.0/)" exited with code -1.

Expected behavior
to build without error

Desktop (please complete the following information):

  • OS: Debian 11
  • Browser firefox
  • Version 91.12

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions