<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=241401" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cladmi">@cladmi</a></p>
<blockquote>
<p>However, putting the -ffunctions-sections did not solve the esp8266 issues so there may be something more.</p>
</blockquote>
<p>The following change in <code>cpu/esp8266/Makefile.include</code> will solve the compilation problems for esp8266.</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-md">--- a/cpu/esp8266/Makefile.include</span>
<span class="pl-mi1">+++ b/cpu/esp8266/Makefile.include</span>
<span class="pl-mdr">@@ -56,6 +56,7 @@</span> PSEUDOMODULES += esp_spiffs
 
 USEMODULE += esp
 USEMODULE += mtd
<span class="pl-mi1"><span class="pl-mi1">+</span>USEMODULE += newlib_syscalls_default</span>
 USEMODULE += periph
 USEMODULE += periph_common
 USEMODULE += ps</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11246#issuecomment-477336215">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YDRP0lYQ9sriUoRbHNGcRrI0iv2_ks5va9WPgaJpZM4cFDGe">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YHnEMk17apGIFVHZPEagmZw9XWctks5va9WPgaJpZM4cFDGe.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gschorcht in #11246: @cladmi \r\n\u003e However, putting the -ffunctions-sections did not solve the esp8266 issues so there may be something more.\r\n\r\nThe following change in `cpu/esp8266/Makefile.include` will solve the compilation problems for esp8266.\r\n\r\n```diff\r\n--- a/cpu/esp8266/Makefile.include\r\n+++ b/cpu/esp8266/Makefile.include\r\n@@ -56,6 +56,7 @@ PSEUDOMODULES += esp_spiffs\r\n \r\n USEMODULE += esp\r\n USEMODULE += mtd\r\n+USEMODULE += newlib_syscalls_default\r\n USEMODULE += periph\r\n USEMODULE += periph_common\r\n USEMODULE += ps\r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11246#issuecomment-477336215"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11246#issuecomment-477336215",
"url": "https://github.com/RIOT-OS/RIOT/pull/11246#issuecomment-477336215",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>