https://sourceware.org/bugzilla/show_bug.cgi?id=27833

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Dimitar Dimitrov from comment #3)
> Could you clarify why read() is not part of newlib for ARM?

Nope.  I was wrong. :-(  (I do not have an ARM newlib build to hand, and I
forgot about the functions in the syscalls/ directory.  Sorry).


> 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.

OK, so the problem is LTO related.  Does the problem occur for the riscv and
pru targets as well ?   (Hmmm: is LTO supported for those targets ?  I am not
sure).

I wonder if this problem is newlib specific ?  If you try linking against the
ARM version of glibc, (with LTO enabled of course), does that work ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to