mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/sane-airscan: needs BR2_TOOLCHAIN_HAS_SYNC_4
Fixes a build error output/per-package/sane-airscan/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libsane-airscan.so.1.p/airscan-http.c.o: in function `http_data_ref': airscan-http.c:(.text+0x1c88): undefined reference to `__sync_fetch_and_add_4' output/per-package/sane-airscan/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libsane-airscan.so.1.p/airscan-http.c.o: in function `http_data_unref': airscan-http.c:(.text+0x1cd0): undefined reference to `__sync_sub_and_fetch_4' output/per-package/sane-airscan/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libsane-airscan.so.1.p/airscan-trace.c.o: in function `trace_ref': airscan-trace.c:(.text+0x32c): undefined reference to `__sync_fetch_and_add_4' output/per-package/sane-airscan/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/14.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: libsane-airscan.so.1.p/airscan-trace.c.o: in function `trace_unref': airscan-trace.c:(.text+0x358): undefined reference to `__sync_sub_and_fetch_4' with this defconfig BR2_sparc=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE=y BR2_PACKAGE_SANE_AIRSCAN=y detected by the Gitlab pipelines while testing to bump of sane-backends to 1.4.0 in this series. The build error is caused by an upstream commit added in 2020 to version 0.99.14:fccd8402a6so a backport to LTS branches should be considered because the initial version of the buildroot package was 0.99.33, added with commitf78280bf26. An autobuilder error was not recorded yet because it is masked by various build errors of the sane-backends package which are resolved by its bump to 1.4.0 in this series. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
66544e0e48
commit
b71b14793a
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SANE_AIRSCAN
|
||||
bool "sane-airscan"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # avahi, gnutls, sane-backends
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # avahi, dbus
|
||||
depends on BR2_USE_WCHAR # avahi, gnutls
|
||||
depends on BR2_USE_MMU # dbus, sane-backends
|
||||
@@ -26,5 +27,6 @@ config BR2_PACKAGE_SANE_AIRSCAN
|
||||
|
||||
comment "sane-airscan needs a toolchain w/ wchar, dynamic library, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
Reference in New Issue
Block a user