deterministic build fails win64 makin qvqc cry #267

Closed
opened 4 years ago by qvqc · 2 comments
qvqc commented 4 years ago (Migrated from github.com)
Owner

why build fails? same happens on risc64

`
WIN64 BUILD:

[ 25%] Building C object src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj
/home/ubuntu/build/wownero/src/crypto/slow-hash.c:1630:6: error: redefinition of ‘slow_hash_allocate_state’
void slow_hash_allocate_state(void)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/build/wownero/src/crypto/slow-hash.c:1446:6: note: previous definition of ‘slow_hash_allocate_state’ was here
void slow_hash_allocate_state(void)
^~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/build/wownero/src/crypto/slow-hash.c: In function ‘slow_hash_allocate_state’:
/home/ubuntu/build/wownero/src/crypto/slow-hash.c:1632:3: warning: implicit declaration of function ‘cn_slow_hash_allocate_state’; did you mean ‘rx_slow_hash_allocate_state’? [-Wimplicit-function-declaration]
cn_slow_hash_allocate_state();
^~~~~~~~~~~~~~~~~~~~~~~~~~~
rx_slow_hash_allocate_state
/home/ubuntu/build/wownero/src/crypto/slow-hash.c:1632:3: warning: nested extern declaration of ‘cn_slow_hash_allocate_state’ [-Wnested-externs]
src/crypto/CMakeFiles/obj_cncrypto.dir/build.make:513: recipe for target 'src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj' failed
make[2]: *** [src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj] Error 1
CMakeFiles/Makefile2:975: recipe for target 'src/crypto/CMakeFiles/obj_cncrypto.dir/all' failed
make[1]: *** [src/crypto/CMakeFiles/obj_cncrypto.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 25%] Building C object external/unbound/CMakeFiles/unbound.dir/util/net_help.c.obj
`

why build fails? same happens on risc64 ` WIN64 BUILD: [ 25%] Building C object src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj /home/ubuntu/build/wownero/src/crypto/slow-hash.c:1630:6: error: redefinition of ‘slow_hash_allocate_state’ void slow_hash_allocate_state(void) ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/build/wownero/src/crypto/slow-hash.c:1446:6: note: previous definition of ‘slow_hash_allocate_state’ was here void slow_hash_allocate_state(void) ^~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/build/wownero/src/crypto/slow-hash.c: In function ‘slow_hash_allocate_state’: /home/ubuntu/build/wownero/src/crypto/slow-hash.c:1632:3: warning: implicit declaration of function ‘cn_slow_hash_allocate_state’; did you mean ‘rx_slow_hash_allocate_state’? [-Wimplicit-function-declaration] cn_slow_hash_allocate_state(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rx_slow_hash_allocate_state /home/ubuntu/build/wownero/src/crypto/slow-hash.c:1632:3: warning: nested extern declaration of ‘cn_slow_hash_allocate_state’ [-Wnested-externs] src/crypto/CMakeFiles/obj_cncrypto.dir/build.make:513: recipe for target 'src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj' failed make[2]: *** [src/crypto/CMakeFiles/obj_cncrypto.dir/slow-hash.c.obj] Error 1 CMakeFiles/Makefile2:975: recipe for target 'src/crypto/CMakeFiles/obj_cncrypto.dir/all' failed make[1]: *** [src/crypto/CMakeFiles/obj_cncrypto.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 25%] Building C object external/unbound/CMakeFiles/unbound.dir/util/net_help.c.obj `
qvqc commented 4 years ago (Migrated from github.com)
Owner
how to reproduce: https://gist.github.com/qvqc/4fe83162c927feb7b40c6519cc87cfd3 riscv64 gitian settings https://gist.github.com/qvqc/283b9674c4e8b2c18a5a71cfe7088da3
wowario added the help wanted label 4 years ago
qvqc commented 4 years ago

64bit windows builds work now. Can reopen if someone needs 32bit windows.

64bit windows builds work now. Can reopen if someone needs 32bit windows.
qvqc closed this issue 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: wownero/wownero#267
Loading…
There is no content yet.