https://sourceware.org/bugzilla/show_bug.cgi?id=27833
--- Comment #3 from Dimitar Dimitrov <dimitar at dinux dot eu> --- Hi Nick, Could you clarify why read() is not part of newlib for ARM? I tested on 3 different newlib targets and I can see that "read" function is part of newlib libc: $ ./bin/arm-none-eabi-nm ./arm-none-eabi/lib/libc.a | grep -w read 00000000 T read $ ./bin/riscv32-none-elf-nm ./riscv32-none-elf/lib/libc.a | grep -w read 00000000 T read $ ./bin/pru-nm ./pru/lib/libc.a | grep -w read 00000000 T read read() seems to be defined here: https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/syscalls/sysread.c Without -flto the test case is successfully linked for all of the 3 targets above. Which is another indication that newlib provides the "read" function. Regards, Dimitar -- You are receiving this mail because: You are on the CC list for the bug.