{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6306","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6306/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6306/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6306/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/6306","id":303568689,"number":6306,"title":"Re-compile fails with ARM Compiler 5 and REALTEK_RTL8195AM","user":{"login":"jamesbeyond","id":34235743,"avatar_url":"https://avatars2.githubusercontent.com/u/34235743?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesbeyond","html_url":"https://github.com/jamesbeyond","followers_url":"https://api.github.com/users/jamesbeyond/followers","following_url":"https://api.github.com/users/jamesbeyond/following{/other_user}","gists_url":"https://api.github.com/users/jamesbeyond/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbeyond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbeyond/subscriptions","organizations_url":"https://api.github.com/users/jamesbeyond/orgs","repos_url":"https://api.github.com/users/jamesbeyond/repos","events_url":"https://api.github.com/users/jamesbeyond/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbeyond/received_events","type":"User","site_admin":false},"labels":[{"id":620926933,"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/devices:%20realtek","name":"devices: realtek","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-08T17:40:38Z","updated_at":"2018-03-09T18:59:07Z","closed_at":null,"author_association":"NONE","body":"### Description\r\n- Type: Bug\r\n- Priority: Minor\r\n\r\n---------------------------------------------------------------\r\n## Bug\r\n\r\n**Target**\r\nREALTEK_RTL8195AM\r\n\r\n**Toolchain:**\r\nARM\r\n\r\n**Toolchain version:**\r\nARM Compiler 5 update 3\r\n\r\n**mbed-cli version:** \r\n1.3.0\r\n\r\n**mbed-os sha:**\r\n6ff720302 (mbed-os-5.8.0-rc1)\r\n\r\n**DAPLink version:**\r\n\r\n**Expected behavior**\r\nRe-compile `mbed-os-example-wifi` example should not throw errors.\r\n\r\n**Actual behavior**\r\nRe-compile `mbed-os-example-wifi` example on REALTEK_RTL8195AM thrown errors:\r\n```\r\nElf2Bin: mbed-os-example-wifi\r\nError: Q0147E: Failed to create Directory .\\BUILD\\REALTEK_RTL8195AM\\ARM\\mbed-os-example-wifi.bin\\IMAGE2_TABLE: File exists\r\nFinished: 0 information, 0 warning and 1 error messages.\r\n[ERROR] Error: Q0147E: Failed to create Directory .\\BUILD\\REALTEK_RTL8195AM\\ARM\\mbed-os-example-wifi.bin\\IMAGE2_TABLE: File exists\r\nFinished: 0 information, 0 warning and 1 error messages.\r\n```\r\n\r\n**Steps to reproduce**\r\n\r\n1. import example and update to mbed-os 5.8.0-oob\r\n`mbed import mbed-os-example-wifi`\r\n`cd mbed-os-example-wifi` \r\n`mbed update mbed-os-5.8.0-oob`\r\n2.  Compiler the example first time\r\n`mbed compile -t ARM -m REALTEK_RTL8195AM`\r\n3. modify wifi password in *mbed_app.json*\r\n4. Re-compile the example again\r\n`mbed compile -t ARM -m REALTEK_RTL8195AM`\r\n\r\nThe problem only happens on Re-compile. if I do a clean first, the compiling would be fine.\r\nOnly with  REALTEK_RTL8195AM board, other boards are fine.\r\nOnly with ARM Compiler 5. Gcc and IAR are fine.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/371912664","html_url":"https://github.com/ARMmbed/mbed-os/issues/6306#issuecomment-371912664","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/6306","id":371912664,"user":{"login":"theotherjimmy","id":685409,"avatar_url":"https://avatars2.githubusercontent.com/u/685409?v=4","gravatar_id":"","url":"https://api.github.com/users/theotherjimmy","html_url":"https://github.com/theotherjimmy","followers_url":"https://api.github.com/users/theotherjimmy/followers","following_url":"https://api.github.com/users/theotherjimmy/following{/other_user}","gists_url":"https://api.github.com/users/theotherjimmy/gists{/gist_id}","starred_url":"https://api.github.com/users/theotherjimmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theotherjimmy/subscriptions","organizations_url":"https://api.github.com/users/theotherjimmy/orgs","repos_url":"https://api.github.com/users/theotherjimmy/repos","events_url":"https://api.github.com/users/theotherjimmy/events{/privacy}","received_events_url":"https://api.github.com/users/theotherjimmy/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T18:59:07Z","updated_at":"2018-03-09T18:59:07Z","author_association":"CONTRIBUTOR","body":"@0xc0170 This is not related to online deployment. What gave you that impression?"}}
{"actor":{"display_login":"theotherjimmy"}}