[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi |
Date: |
Tue, 25 May 2021 11:30:49 +0000 |
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.
- [Bug ld/27833] New: ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, dimitar at dinux dot eu, 2021/05/08
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, dimitar at dinux dot eu, 2021/05/08
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, dimitar at dinux dot eu, 2021/05/08
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, nickc at redhat dot com, 2021/05/19
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, dimitar at dinux dot eu, 2021/05/24
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi,
nickc at redhat dot com <=
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, dimitar at dinux dot eu, 2021/05/26
- [Bug ld/27833] ld-plugin/pr24406-1.c fails with GCC cross-toolchain for arm-none-eabi, gabemarcano at yahoo dot com, 2021/05/29