{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/4333","repository_url":"https://api.github.com/repos/ethereum/cpp-ethereum","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/4333/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/4333/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/4333/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/4333","id":249777688,"number":4333,"title":" Compilation failing with GCC 7.1.1","user":{"login":"seanpianka","id":15352684,"avatar_url":"https://avatars3.githubusercontent.com/u/15352684?v=4","gravatar_id":"","url":"https://api.github.com/users/seanpianka","html_url":"https://github.com/seanpianka","followers_url":"https://api.github.com/users/seanpianka/followers","following_url":"https://api.github.com/users/seanpianka/following{/other_user}","gists_url":"https://api.github.com/users/seanpianka/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpianka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpianka/subscriptions","organizations_url":"https://api.github.com/users/seanpianka/orgs","repos_url":"https://api.github.com/users/seanpianka/repos","events_url":"https://api.github.com/users/seanpianka/events{/privacy}","received_events_url":"https://api.github.com/users/seanpianka/received_events","type":"User","site_admin":false},"labels":[{"id":437863768,"url":"https://api.github.com/repos/ethereum/cpp-ethereum/labels/build","name":"build","color":"1d76db","default":false}],"state":"closed","locked":false,"assignee":{"login":"chfast","id":573380,"avatar_url":"https://avatars1.githubusercontent.com/u/573380?v=4","gravatar_id":"","url":"https://api.github.com/users/chfast","html_url":"https://github.com/chfast","followers_url":"https://api.github.com/users/chfast/followers","following_url":"https://api.github.com/users/chfast/following{/other_user}","gists_url":"https://api.github.com/users/chfast/gists{/gist_id}","starred_url":"https://api.github.com/users/chfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chfast/subscriptions","organizations_url":"https://api.github.com/users/chfast/orgs","repos_url":"https://api.github.com/users/chfast/repos","events_url":"https://api.github.com/users/chfast/events{/privacy}","received_events_url":"https://api.github.com/users/chfast/received_events","type":"User","site_admin":false},"assignees":[{"login":"chfast","id":573380,"avatar_url":"https://avatars1.githubusercontent.com/u/573380?v=4","gravatar_id":"","url":"https://api.github.com/users/chfast","html_url":"https://github.com/chfast","followers_url":"https://api.github.com/users/chfast/followers","following_url":"https://api.github.com/users/chfast/following{/other_user}","gists_url":"https://api.github.com/users/chfast/gists{/gist_id}","starred_url":"https://api.github.com/users/chfast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chfast/subscriptions","organizations_url":"https://api.github.com/users/chfast/orgs","repos_url":"https://api.github.com/users/chfast/repos","events_url":"https://api.github.com/users/chfast/events{/privacy}","received_events_url":"https://api.github.com/users/chfast/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-08-12T00:52:04Z","updated_at":"2018-03-22T11:47:28Z","closed_at":"2018-03-22T11:47:28Z","author_association":"NONE","body":"```bash\r\n$ uname -a\r\nLinux Caldera 4.12.4-1-ARCH #1 SMP PREEMPT Fri Jul 28 18:54:18 UTC 2017 x86_64 GNU/Linux\r\n```\r\n\r\nand `gcc version 7.1.1 20170630 (GCC)`\r\n\r\n```\r\nScanning dependencies of target ethash\r\n[ 32%] Building C object libethereum/libethash/CMakeFiles/ethash.dir/io.c.o\r\n[ 32%] Building C object libethereum/libethash/CMakeFiles/ethash.dir/internal.c.o\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c: In function ‘ethash_full_new_internal’:\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:434:6: error: this statement may fall through [-Werror=implicit-fallthrough=]\r\n   if (ethash_io_prepare(dirname, seed_hash, &f, (size_t)full_size, true) != ETHASH_IO_MEMO_MISMATCH) {\r\n      ^\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:439:2: note: here\r\n  case ETHASH_IO_MEMO_MISMATCH:\r\n  ^~~~\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c: In function ‘ethash_light_compute_internal’:\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘tmp_node’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n      mix[n].words[w] = fnv_hash(mix[n].words[w], dag_node->words[w]);\r\n                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+16)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+32)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+48)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘tmp_node’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+16)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+32)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\n/tmp/packerbuild-1000/ethereum/ethereum/src/ethereum/libethereum/libethash/internal.c:233:24: error: ‘*((void *)&tmp_node+48)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]\r\ncc1: all warnings being treated as errors\r\nmake[2]: *** [libethereum/libethash/CMakeFiles/ethash.dir/build.make:87: libethereum/libethash/CMakeFiles/ethash.dir/internal.c.o] Error 1\r\nmake[1]: *** [CMakeFiles/Makefile2:1014: libethereum/libethash/CMakeFiles/ethash.dir/all] Error 2\r\nmake: *** [Makefile:130: all] Error 2\r\n```"}}
{"actor":{"display_login":"chfast"}}