public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/apr/
Date: Tue, 11 May 2021 08:44:46 +0000 (UTC)	[thread overview]
Message-ID: <1620722677.8a3c82d2c1bac689e848c65dc0ad53e4cdd6fc7a.polynomial-c@gentoo> (raw)

commit:     8a3c82d2c1bac689e848c65dc0ad53e4cdd6fc7a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May  9 07:16:06 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue May 11 08:44:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3c82d2

dev-libs/apr: fix underlinking for atomics on ppc, sparc

Fixes errors in the produced library like:
> undefined reference to `__sync_val_compare_and_swap_8'

Forcing linkage against libatomic didn't work. May be worth
investigation in future but need to get ppc and sparc working
again.

Closes: https://bugs.gentoo.org/740464
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/20735
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-libs/apr/{apr-1.6.3-r4.ebuild => apr-1.6.3-r5.ebuild} | 8 ++++++++
 dev-libs/apr/{apr-1.6.5-r1.ebuild => apr-1.6.5-r2.ebuild} | 8 ++++++++
 dev-libs/apr/{apr-1.7.0-r1.ebuild => apr-1.7.0-r2.ebuild} | 8 ++++++++
 3 files changed, 24 insertions(+)

diff --git a/dev-libs/apr/apr-1.6.3-r4.ebuild b/dev-libs/apr/apr-1.6.3-r5.ebuild
similarity index 93%
rename from dev-libs/apr/apr-1.6.3-r4.ebuild
rename to dev-libs/apr/apr-1.6.3-r5.ebuild
index ce047e457b5..977176aee5c 100644
--- a/dev-libs/apr/apr-1.6.3-r4.ebuild
+++ b/dev-libs/apr/apr-1.6.3-r5.ebuild
@@ -109,6 +109,14 @@ src_configure() {
 			myconf+=( --disable-nonportable-atomics )
 			;;
 		esac
+	else
+		if use ppc || use sparc; then
+			# Avoid libapr containing undefined references (underlinked)
+			# undefined reference to `__sync_val_compare_and_swap_8'
+			# (May be possible to fix via libatomic linkage in future?)
+			# bug #740464
+			myconf+=( --disable-nonportable-atomics )
+		fi
 	fi
 
 	econf "${myconf[@]}"

diff --git a/dev-libs/apr/apr-1.6.5-r1.ebuild b/dev-libs/apr/apr-1.6.5-r2.ebuild
similarity index 93%
rename from dev-libs/apr/apr-1.6.5-r1.ebuild
rename to dev-libs/apr/apr-1.6.5-r2.ebuild
index 2e6c0d4627e..c7f60001d87 100644
--- a/dev-libs/apr/apr-1.6.5-r1.ebuild
+++ b/dev-libs/apr/apr-1.6.5-r2.ebuild
@@ -108,6 +108,14 @@ src_configure() {
 			myconf+=( --disable-nonportable-atomics )
 			;;
 		esac
+	else
+		if use ppc || use sparc; then
+			# Avoid libapr containing undefined references (underlinked)
+			# undefined reference to `__sync_val_compare_and_swap_8'
+			# (May be possible to fix via libatomic linkage in future?)
+			# bug #740464
+			myconf+=( --disable-nonportable-atomics )
+		fi
 	fi
 
 	econf "${myconf[@]}"

diff --git a/dev-libs/apr/apr-1.7.0-r1.ebuild b/dev-libs/apr/apr-1.7.0-r2.ebuild
similarity index 93%
rename from dev-libs/apr/apr-1.7.0-r1.ebuild
rename to dev-libs/apr/apr-1.7.0-r2.ebuild
index ec551265391..8a231aa627f 100644
--- a/dev-libs/apr/apr-1.7.0-r1.ebuild
+++ b/dev-libs/apr/apr-1.7.0-r2.ebuild
@@ -109,6 +109,14 @@ src_configure() {
 			myconf+=( --disable-nonportable-atomics )
 			;;
 		esac
+	else
+		if use ppc || use sparc; then
+			# Avoid libapr containing undefined references (underlinked)
+			# undefined reference to `__sync_val_compare_and_swap_8'
+			# (May be possible to fix via libatomic linkage in future?)
+			# bug #740464
+			myconf+=( --disable-nonportable-atomics )
+		fi
 	fi
 
 	econf "${myconf[@]}"


             reply	other threads:[~2021-05-11 20:30 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11  8:44 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-13 21:41 [gentoo-commits] repo/gentoo:master commit in: dev-libs/apr/ Sam James
2024-10-12 17:12 Arthur Zamarin
2024-10-12  7:28 Michał Górny
2024-10-12  7:28 Michał Górny
2024-10-11  2:50 Sam James
2024-10-11  2:38 Sam James
2024-10-11  2:38 Sam James
2024-10-11  2:38 Sam James
2024-08-27  5:40 Hans de Graaff
2024-03-29  2:28 Sam James
2024-03-26 23:08 Sam James
2024-03-26 23:08 Sam James
2024-03-26 23:08 Sam James
2024-03-26 23:06 Sam James
2024-03-26 23:03 Sam James
2023-09-23 16:01 Sam James
2023-09-23 16:00 Sam James
2023-06-03 19:45 Arthur Zamarin
2023-06-03 17:25 Sam James
2023-06-03 17:25 Sam James
2023-06-03  6:29 Sam James
2023-06-03  6:29 Sam James
2023-06-03  6:29 Sam James
2023-05-16  3:39 Sam James
2023-04-17  0:59 Sam James
2023-03-31 20:59 Sam James
2023-03-18 16:29 Hans de Graaff
2023-03-18 16:29 Hans de Graaff
2023-03-13 19:16 Arthur Zamarin
2023-02-16  5:22 Sam James
2023-02-14 23:05 Sam James
2023-02-14 21:43 Sam James
2023-02-14 21:43 Sam James
2023-02-14 21:43 Sam James
2023-02-14  7:05 Sam James
2023-02-13 22:45 Sam James
2023-01-26  5:20 Sam James
2022-12-17 19:33 Arthur Zamarin
2022-12-17 19:33 Arthur Zamarin
2022-12-14 11:45 Sam James
2022-12-11  0:26 Sam James
2022-11-26 17:12 Arthur Zamarin
2022-11-25 14:34 Arthur Zamarin
2022-11-18  7:07 Jakov Smolić
2022-11-16  7:05 Arthur Zamarin
2022-10-20 19:00 Jakov Smolić
2022-10-14  6:56 Agostino Sarubbo
2022-10-14  6:56 Agostino Sarubbo
2022-10-14  4:14 Arthur Zamarin
2022-10-13 23:01 Sam James
2022-10-13 23:01 Sam James
2022-10-13 22:37 Sam James
2022-07-28 13:31 Sam James
2022-07-03  9:51 Hans de Graaff
2022-05-19  7:17 WANG Xuerui
2022-01-02 17:49 David Seifert
2022-01-02  9:13 David Seifert
2021-12-29  1:51 Sam James
2021-09-28 19:14 Sam James
2021-07-28 11:28 Marek Szuba
2021-04-29  1:52 Sam James
2020-12-19 14:27 Sam James
2020-09-06  7:49 Sergei Trofimovich
2020-09-05  3:08 Sam James
2020-08-18 16:53 Agostino Sarubbo
2020-08-18 16:52 Agostino Sarubbo
2020-08-18 11:22 Agostino Sarubbo
2020-08-18 11:18 Agostino Sarubbo
2020-08-18 11:16 Agostino Sarubbo
2020-08-17  4:33 Sam James
2019-04-29  7:58 Lars Wendler
2019-04-20 23:58 Lars Wendler
2019-04-08  6:50 Sergei Trofimovich
2019-04-05 11:09 Lars Wendler
2019-02-28 16:53 Mikle Kolyada
2018-11-26 12:15 Benda XU
2018-09-24 18:17 Markus Meier
2018-09-16 19:52 Matt Turner
2018-09-16 19:52 Matt Turner
2018-09-15 19:08 Lars Wendler
2018-09-15 19:08 Lars Wendler
2018-09-14 12:17 Tobias Klausmann
2018-09-08 12:53 Mart Raudsepp
2018-09-07 22:43 Sergei Trofimovich
2018-09-03  6:19 Sergei Trofimovich
2018-09-01 22:21 Mikle Kolyada
2018-09-01 17:55 Thomas Deutschmann
2018-09-01 17:55 Thomas Deutschmann
2018-09-01 17:55 Thomas Deutschmann
2018-04-02 11:42 Pacho Ramos
2017-10-23  8:55 Lars Wendler
2017-08-22 12:23 Lars Wendler
2017-03-01  0:35 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1620722677.8a3c82d2c1bac689e848c65dc0ad53e4cdd6fc7a.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox