From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/
Date: Mon, 22 Mar 2021 08:59:11 +0000 (UTC) [thread overview]
Message-ID: <1616403464.d6abfc2b87604431291c7dd04a4a33b23a420366.polynomial-c@gentoo> (raw)
commit: d6abfc2b87604431291c7dd04a4a33b23a420366
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 23:26:12 2021 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Mar 22 08:57:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6abfc2b
sys-libs/zlib-ng: disable unaligned access
We've discussed this in the past for sys-libs/zlib and we've avoided
enabling it there for now, although e.g. Debian did at the last time
I checked.
It's undefined behaviour and risky, even where it does (appear to) work
on e.g. amd64.
See: https://github.com/gentoo/gentoo/pull/17167
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
index bb16ca91c10..5fd01079542 100644
--- a/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
+++ b/sys-libs/zlib-ng/zlib-ng-2.0.1-r1.ebuild
@@ -28,6 +28,10 @@ src_configure() {
local mycmakeargs=(
-DZLIB_COMPAT="$(usex compat)"
-DZLIB_ENABLE_TESTS="$(usex test)"
+ # Unaligned access is controversial and undefined behaviour
+ # Let's keep it off for now
+ # https://github.com/gentoo/gentoo/pull/17167
+ -DWITH_UNALIGNED="OFF"
)
cmake_src_configure
}
next reply other threads:[~2021-03-22 8:59 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 8:59 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-12 14:34 [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/ Arthur Zamarin
2025-09-09 19:36 Arthur Zamarin
2025-09-08 4:24 Arthur Zamarin
2025-09-07 22:46 Sam James
2025-09-07 22:46 Sam James
2025-09-07 22:46 Sam James
2025-08-08 8:54 Sam James
2025-07-12 11:33 Michał Górny
2025-06-22 12:06 Sam James
2025-06-21 7:55 Sam James
2025-06-07 14:46 Sam James
2025-05-23 4:48 Sam James
2025-04-23 15:52 Sam James
2025-04-07 15:43 Arthur Zamarin
2025-04-07 8:49 Sam James
2025-04-07 6:56 Sam James
2025-04-07 6:56 Sam James
2025-03-07 18:48 Sam James
2025-02-23 12:22 Jakov Smolić
2025-02-12 5:48 Sam James
2025-01-01 19:33 Sam James
2025-01-01 19:33 Sam James
2024-08-29 3:15 Sam James
2024-07-15 2:23 Sam James
2024-05-28 12:35 Sam James
2024-03-04 10:24 Sam James
2024-02-19 7:50 Sam James
2024-01-23 5:07 Ionen Wolkens
2024-01-14 2:30 Sam James
2024-01-14 2:30 Sam James
2023-11-30 3:07 Sam James
2023-10-20 0:51 Sam James
2023-06-29 8:39 Sam James
2023-06-17 3:15 Sam James
2023-06-16 1:42 Sam James
2023-06-16 1:27 Sam James
2023-03-17 22:00 Sam James
2023-03-17 21:54 Sam James
2023-02-28 12:12 Yixun Lan
2023-02-26 19:28 Arthur Zamarin
2023-02-26 17:33 Arthur Zamarin
2023-02-26 17:08 Arthur Zamarin
2022-10-07 19:58 Sam James
2022-10-02 0:14 Sam James
2022-10-02 0:14 Sam James
2022-01-01 4:29 Sam James
2021-06-26 21:32 Lars Wendler
2021-06-12 10:35 Lars Wendler
2021-05-14 7:48 Lars Wendler
2021-03-24 7:51 Lars Wendler
2021-03-22 8:59 Lars Wendler
2021-03-22 8:59 Lars Wendler
2021-03-22 8:59 Lars Wendler
2021-03-17 10:08 Lars Wendler
2021-03-17 8:23 Lars Wendler
2021-03-17 7:37 Lars Wendler
2021-03-17 7:37 Lars Wendler
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=1616403464.d6abfc2b87604431291c7dd04a4a33b23a420366.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