{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4806","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4806/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4806/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4806/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/4806","id":245288133,"number":4806,"title":"Build error occurs by using branch that supports CMSIS5/RTX5 for Cortex-A","user":{"login":"TomoYamanaka","id":9958200,"avatar_url":"https://avatars3.githubusercontent.com/u/9958200?v=4","gravatar_id":"","url":"https://api.github.com/users/TomoYamanaka","html_url":"https://github.com/TomoYamanaka","followers_url":"https://api.github.com/users/TomoYamanaka/followers","following_url":"https://api.github.com/users/TomoYamanaka/following{/other_user}","gists_url":"https://api.github.com/users/TomoYamanaka/gists{/gist_id}","starred_url":"https://api.github.com/users/TomoYamanaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomoYamanaka/subscriptions","organizations_url":"https://api.github.com/users/TomoYamanaka/orgs","repos_url":"https://api.github.com/users/TomoYamanaka/repos","events_url":"https://api.github.com/users/TomoYamanaka/events{/privacy}","received_events_url":"https://api.github.com/users/TomoYamanaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-25T05:18:22Z","updated_at":"2017-07-25T14:54:00Z","closed_at":null,"body":"### Description\r\n- Type: Bug\r\n- Priority: Major\r\n\r\n---------------------------------------------------------------\r\n## Bug\r\n\r\n**Target**\r\nRZ_A1H\r\n\r\n**Toolchain:**\r\nARM\r\n\r\n**Toolchain version:**\r\n5.06u1\r\n\r\n**mbed-cli version:** \r\n1.1.1\r\n\r\n______\r\n@bulislaw\r\n\r\nI tried the below branch(feature_cortex_a) that is supporting CMSIS5/RTX5 for Cortex-A for mbed OS 5.6.\r\nhttps://github.com/ARMmbed/mbed-os/tree/feature_cortex_a\r\n\r\nThe program I tried is `mbed-os-example-blinky`, the tool-chain is ARMCC.\r\nI changed mbed-os library to the above branch.\r\n\r\nAs the result of the build, there were two problems for now.\r\n**[1st problem]**\r\nAn error occurred that `mbed_rtx.h` is missing\r\nIt seems that there isn't for Cortex-A, there is for Cortex-M.\r\nI brought this file from the past program(e.g. mbed OS 5.4.7) and avoided it.\r\nCould you please revert this file?\r\n\r\n**[2nd problem]**\r\nThere were the below error messages.\r\n```\r\n[Error] CThunk.h@225,0: #20: identifier \"__v7_clean_inv_dcache_mva\" is undefined\r\n[Error] CThunk.h@228,0: #20: identifier \"__v7_inv_icache_all\" is undefined\r\n[Error] CThunk.h@229,0: #20: identifier \"__ca9u_inv_tlb_all\" is undefined\r\n[Error] CThunk.h@230,0: #20: identifier \"__v7_inv_btac\" is undefined\r\n```\r\nI consider that cause of those error is the lack of file that defined substance.\r\nIn the previous program(e.g. mbed OS 5.4.7), those functions have been implemented in `core_caFunc.h`.\r\n(refer to https://github.com/ARMmbed/mbed-os/tree/mbed-os-5.4/cmsis)\r\nBut in above branch, it seems that the substance of those functions did not existed because  `core_caFunc.h` has been removed by CMSIS5 update."},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/317763670","html_url":"https://github.com/ARMmbed/mbed-os/issues/4806#issuecomment-317763670","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/4806","id":317763670,"user":{"login":"bulislaw","id":107253,"avatar_url":"https://avatars2.githubusercontent.com/u/107253?v=4","gravatar_id":"","url":"https://api.github.com/users/bulislaw","html_url":"https://github.com/bulislaw","followers_url":"https://api.github.com/users/bulislaw/followers","following_url":"https://api.github.com/users/bulislaw/following{/other_user}","gists_url":"https://api.github.com/users/bulislaw/gists{/gist_id}","starred_url":"https://api.github.com/users/bulislaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bulislaw/subscriptions","organizations_url":"https://api.github.com/users/bulislaw/orgs","repos_url":"https://api.github.com/users/bulislaw/repos","events_url":"https://api.github.com/users/bulislaw/events{/privacy}","received_events_url":"https://api.github.com/users/bulislaw/received_events","type":"User","site_admin":false},"created_at":"2017-07-25T14:54:00Z","updated_at":"2017-07-25T14:54:00Z","body":"@TomoYamanaka I've updated RTX and fixed some of the issues on `feature_cortex_a` branch. Now I'm getting `mbed-os\\rtos\\mbed_boot.c\", line 216: Error:  #35: #error directive: \"no target defined\"`\r\n\r\nWhich seems to be because the symbols are not exposed `HEAP_START` and/or `INITIAL_SP` in `startup_MBRZA1H.S`."}}
{"actor":{"display_login":"bulislaw"}}