* [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed
@ 2022-04-24 8:19 Fabrice Fontaine
2022-04-27 17:12 ` Arnout Vandecappelle
2022-05-27 8:51 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-24 8:19 UTC (permalink / raw)
To: buildroot; +Cc: Olivier Schonken, Fabrice Fontaine
Link with -latomic if needed to avoid the following build failure since
bump to version 10.5.0 in commit
b5352c2177011ca389cbb7c68e78447549cbdaaa and
https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c:
/nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()':
QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8'
Fixes:
- http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/qpdf/qpdf.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk
index 8e0769059d..a58781f4f1 100644
--- a/package/qpdf/qpdf.mk
+++ b/package/qpdf/qpdf.mk
@@ -32,4 +32,8 @@ else
QPDF_CONF_OPTS += --disable-crypto-openssl
endif
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+QPDF_CONF_ENV += LIBS=-latomic
+endif
+
$(eval $(autotools-package))
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed
2022-04-24 8:19 [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed Fabrice Fontaine
@ 2022-04-27 17:12 ` Arnout Vandecappelle
2022-05-27 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-27 17:12 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Olivier Schonken
On 24/04/2022 10:19, Fabrice Fontaine wrote:
> Link with -latomic if needed to avoid the following build failure since
> bump to version 10.5.0 in commit
> b5352c2177011ca389cbb7c68e78447549cbdaaa and
> https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c:
>
> /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()':
> QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8'
>
> Fixes:
> - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/qpdf/qpdf.mk | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk
> index 8e0769059d..a58781f4f1 100644
> --- a/package/qpdf/qpdf.mk
> +++ b/package/qpdf/qpdf.mk
> @@ -32,4 +32,8 @@ else
> QPDF_CONF_OPTS += --disable-crypto-openssl
> endif
>
> +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
> +QPDF_CONF_ENV += LIBS=-latomic
> +endif
> +
> $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed
2022-04-24 8:19 [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed Fabrice Fontaine
2022-04-27 17:12 ` Arnout Vandecappelle
@ 2022-05-27 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-27 8:51 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Olivier Schonken, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Link with -latomic if needed to avoid the following build failure since
> bump to version 10.5.0 in commit
> b5352c2177011ca389cbb7c68e78447549cbdaaa and
> https://github.com/qpdf/qpdf/commit/c5c1a028cdd3cf345046c46963fb0fdacfb2c33c:
> /nvmedata/autobuild/instance-20/output-1/host/lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /nvmedata/autobuild/instance-20/output-1/build/qpdf-10.5.0/libqpdf/build/.libs/libqpdf.a(QPDF.o): in function `QPDF::QPDF()':
> QPDF.cc:(.text+0x4e44): undefined reference to `__atomic_fetch_add_8'
> Fixes:
> - http://autobuild.buildroot.org/results/b69e6e380c47bc64c6555899c2f61f57bdae7ecc
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-27 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-24 8:19 [Buildroot] [PATCH 1/1] package/qpdf: link with -latomic if needed Fabrice Fontaine
2022-04-27 17:12 ` Arnout Vandecappelle
2022-05-27 8:51 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.