]> git.ipfire.org Git - thirdparty/openwrt.git/commit
toolchain: fix libgcc ABI for libc 21253/head
authorGeorge Sapkin <george@sapk.in>
Wed, 24 Dec 2025 02:32:01 +0000 (04:32 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 24 Dec 2025 18:39:54 +0000 (19:39 +0100)
commit116083dd912db099ddb42f076999819e0baf3ff2
treeadcfbc692c31031b5675049840df5f934f907aea
parenteaeae068cccf549acf2c296e7e1ad0e331def102
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 5e32bfbf4bbe8fa4517f27d91d5f53177f7b836a)
Link: https://github.com/openwrt/openwrt/pull/21253
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/libs/toolchain/Makefile