[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch release/7.1 updated: * tp/Texinfo/XS/parsetexi/tree.c (reset_obst
From: |
Gavin D. Smith |
Subject: |
branch release/7.1 updated: * tp/Texinfo/XS/parsetexi/tree.c (reset_obstacks): Call obstack_alignment_mask to use 8-byte alignment. Needed for Debian on sparc64. Report of "Bus error" from John Paul Adrian Glaubitz <address@hidden>. |
Date: |
Mon, 13 Nov 2023 14:13:03 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch release/7.1
in repository texinfo.
The following commit(s) were added to refs/heads/release/7.1 by this push:
new 81a854e22c * tp/Texinfo/XS/parsetexi/tree.c (reset_obstacks): Call
obstack_alignment_mask to use 8-byte alignment. Needed for Debian on sparc64.
Report of "Bus error" from John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de>.
81a854e22c is described below
commit 81a854e22ca2449f2351436a863e5262935f5dc0
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Nov 13 18:43:40 2023 +0000
* tp/Texinfo/XS/parsetexi/tree.c (reset_obstacks):
Call obstack_alignment_mask to use 8-byte alignment. Needed
for Debian on sparc64. Report of "Bus error" from
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>.
---
ChangeLog | 7 +++++++
tp/Texinfo/XS/parsetexi/tree.c | 7 ++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index efbb3b22d1..a146820671 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-11-13 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/tree.c (reset_obstacks):
+ Call obstack_alignment_mask to use 8-byte alignment. Needed
+ for Debian on sparc64. Report of "Bus error" from
+ John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>.
+
2023-11-04 Gavin Smith <gavinsmith0123@gmail.com>
* info/scan.c (write_tag_contents): Check if added text is of
diff --git a/tp/Texinfo/XS/parsetexi/tree.c b/tp/Texinfo/XS/parsetexi/tree.c
index f2d69e0454..09db6fc151 100644
--- a/tp/Texinfo/XS/parsetexi/tree.c
+++ b/tp/Texinfo/XS/parsetexi/tree.c
@@ -43,7 +43,12 @@ reset_obstacks (void)
if (obs_element_first)
obstack_free (&obs_element, obs_element_first);
else
- obstack_init (&obs_element);
+ {
+ /* Specify 8-byte alignment. Needed for SPARC. */
+ obstack_alignment_mask (&obs_element) = 7;
+
+ obstack_init (&obs_element);
+ }
obs_element_first = obstack_alloc (&obs_element, sizeof (int));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch release/7.1 updated: * tp/Texinfo/XS/parsetexi/tree.c (reset_obstacks): Call obstack_alignment_mask to use 8-byte alignment. Needed for Debian on sparc64. Report of "Bus error" from John Paul Adrian Glaubitz <address@hidden>.,
Gavin D. Smith <=