https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68059
nsz at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2015-10-23 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #2 from nsz at gcc dot gnu.org --- bionic does not have __write either, it seems the android ndk changed it to write (which is not in the c namespace so might be wrong, but i guess the code is about to crash anyway). i'm reopening since i think the compiler should not assume such symbols to be available on a linux system (fwiw it is not part of the linux standard base abi core spec: http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libc.html#AEN2405 or any other abi spec i'm aware of).