{"action":"closed","issue":{"url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/2051","repository_url":"https://api.github.com/repos/ARMmbed/mbedtls","labels_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/2051/comments","events_url":"https://api.github.com/repos/ARMmbed/mbedtls/issues/2051/events","html_url":"https://github.com/ARMmbed/mbedtls/issues/2051","id":366355136,"node_id":"MDU6SXNzdWUzNjYzNTUxMzY=","number":2051,"title":"test-ref-configs.pl fails with Clang","user":{"login":"sbutcher-arm","id":8195775,"node_id":"MDQ6VXNlcjgxOTU3NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/8195775?v=4","gravatar_id":"","url":"https://api.github.com/users/sbutcher-arm","html_url":"https://github.com/sbutcher-arm","followers_url":"https://api.github.com/users/sbutcher-arm/followers","following_url":"https://api.github.com/users/sbutcher-arm/following{/other_user}","gists_url":"https://api.github.com/users/sbutcher-arm/gists{/gist_id}","starred_url":"https://api.github.com/users/sbutcher-arm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbutcher-arm/subscriptions","organizations_url":"https://api.github.com/users/sbutcher-arm/orgs","repos_url":"https://api.github.com/users/sbutcher-arm/repos","events_url":"https://api.github.com/users/sbutcher-arm/events{/privacy}","received_events_url":"https://api.github.com/users/sbutcher-arm/received_events","type":"User","site_admin":false},"labels":[{"id":19280384,"node_id":"MDU6TGFiZWwxOTI4MDM4NA==","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":685773225,"node_id":"MDU6TGFiZWw2ODU3NzMyMjU=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/fix%20available","name":"fix available","color":"0e8a16","default":false},{"id":273990272,"node_id":"MDU6TGFiZWwyNzM5OTAyNzI=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/mirrored","name":"mirrored","color":"ededed","default":false},{"id":434949040,"node_id":"MDU6TGFiZWw0MzQ5NDkwNDA=","url":"https://api.github.com/repos/ARMmbed/mbedtls/labels/tracking","name":"tracking","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-03T14:02:04Z","updated_at":"2018-10-04T08:46:26Z","closed_at":"2018-10-04T08:46:26Z","author_association":"COLLABORATOR","body":"### Description\r\n- Type: Bug\r\n- Priority: Major\r\n\r\n---------------------------------------------------------------\r\n## Bug\r\n\r\n**mbed TLS build:**  \r\nVersion: `mbedtls-2.13.1`\r\n\r\nExecuting `test-ref-configs.pl` with clang fails with a series of build errors.\r\n\r\nExtract from the build.\r\n\r\n```\r\n  CC    x509/req_app.c\r\n  Gen   test_suite_aes.ofb.c\r\n  CC    test_suite_aes.ofb.c\r\nsuites/helpers.function:238:13: error: unused function 'hexify'\r\n      [-Werror,-Wunused-function]\r\nstatic void hexify( unsigned char *obuf, const unsigned char *ibuf, int len )\r\n            ^\r\nsuites/helpers.function:292:23: error: unused function 'unhexify_alloc'\r\n      [-Werror,-Wunused-function]\r\nstatic unsigned char *unhexify_alloc( const char *ibuf, size_t *olen )\r\n                      ^\r\nsuites/helpers.function:343:12: error: unused function 'rnd_zero_rand'\r\n      [-Werror,-Wunused-function]\r\nstatic int rnd_zero_rand( void *rng_state, unsigned char *output, size_t len )\r\n           ^\r\nsuites/helpers.function:370:12: error: unused function 'rnd_buffer_rand'\r\n      [-Werror,-Wunused-function]\r\nstatic int rnd_buffer_rand( void *rng_state, unsigned char *output, size_t len )\r\n           ^\r\nsuites/helpers.function:416:12: error: unused function 'rnd_pseudo_rand'\r\n      [-Werror,-Wunused-function]\r\nstatic int rnd_pseudo_rand( void *rng_state, unsigned char *output, size_t len )\r\n           ^\r\n5 errors generated.\r\nMakefile:102: recipe for target 'test_suite_aes.ofb' failed\r\nmake[1]: *** [test_suite_aes.ofb] Error 1\r\nMakefile:21: recipe for target 'tests' failed\r\nmake: *** [tests] Error 2\r\nFailed to build: config-suite-b.h\r\n```"}}
{"actor":{"display_login":"sbutcher-arm"}}