https://sourceware.org/bugzilla/show_bug.cgi?id=27833
--- Comment #5 from Dimitar Dimitrov <dimitar at dinux dot eu> --- Yes, same problem occurs for all 3 newlib targets. As far as I'm aware, they all support LTO. Unfortunately I don't have setup to cross-compile for glibs, since it requires either a virtual machine or native ARM computer. I suspect that this is somehow related to PR 26358 . Perhaps the non-lto "read" from libc and lto "__wrap_read", coupled with different views for "undefined symbol" is causing this issue. -- You are receiving this mail because: You are on the CC list for the bug.