mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
toolchain: fix libgcc ABI for libc
libc depends on knowing libgcc's ABI, so it needs to be evaluated first.
Otherwise libc will depend on an ABI-less libgcc causing the rest of the
toolchain to fail.
Building package index...
ERROR: unable to select packages:
libgcc (virtual):
note: please select one of the 'provided by'
packages explicitly
provided by: libgcc1
required by: world[libgcc]
Before:
libc fused dependencies: libgcc
libgcc fused dependencies:
libatomic fused dependencies: libgcc1
After:
libgcc fused dependencies:
libc fused dependencies: libgcc1
libatomic fused dependencies: libgcc1
Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21265
(cherry picked from commit 5e32bfbf4b)
Link: https://github.com/openwrt/openwrt/pull/21253
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
eaeae068cc
commit
116083dd91
1 changed files with 2 additions and 1 deletions
|
|
@ -781,8 +781,9 @@ else
|
|||
|
||||
endif
|
||||
|
||||
$(eval $(call BuildPackage,libc))
|
||||
$(eval $(call BuildPackage,libgcc))
|
||||
# libc depends on knowing libgcc's ABI, so it needs to be evaluated first
|
||||
$(eval $(call BuildPackage,libc))
|
||||
$(eval $(call BuildPackage,libatomic))
|
||||
$(eval $(call BuildPackage,libquadmath))
|
||||
$(eval $(call BuildPackage,libstdcpp))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue