Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cpl
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Astro Team
cpl
Commits
1654c4f5
Commit
1654c4f5
authored
8 years ago
by
Ole Streicher
Browse files
Options
Downloads
Patches
Plain Diff
Workround unligned access on armhf by not running an optimised loop there. Closes: #846094
parent
7f7a201f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
debian/patches/cpl_mask_count_window_no_unaligned_access_armhf
+15
-0
15 additions, 0 deletions
...n/patches/cpl_mask_count_window_no_unaligned_access_armhf
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
23 additions
and
0 deletions
debian/changelog
+
7
−
0
View file @
1654c4f5
cpl (7.0-4) UNRELEASED; urgency=low
* Workround unligned access on armhf by not running an optimised loop
there. Closes: #846094
-- Iain Lane <iain@orangesquash.org.uk> Mon, 28 Nov 2016 13:01:28 +0000
cpl (7.0-3) unstable; urgency=medium
[ Andreas Tille ]
...
...
This diff is collapsed.
Click to expand it.
debian/patches/cpl_mask_count_window_no_unaligned_access_armhf
0 → 100644
+
15
−
0
View file @
1654c4f5
Description: Don't run a loop which causes unaligned access (SIGBUS) on armhf
Author: Iain Lane <iain.lane@canonical.com>
Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846094
--- cpl-7.0.orig/cplcore/cpl_mask.c
+++ cpl-7.0/cplcore/cpl_mask.c
@@ -1127,7 +1127,7 @@
cpl_size cpl_mask_count_window(const cpl
for (j = lly - 1; j < ury; j++, pi += self->nx) {
i = llx - 1;
-#ifdef CPL_MASK_WORD
+#if defined (CPL_MASK_WORD) && !defined(__arm__)
/* FIXME: Should really ensure byte-wise iteration to word-boundary */
for (; i < llx - 1 + CPL_MASK_PAD2WORD2(llx - 1); i++) {
if (pi[i] != CPL_BINARY_0) count++;
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
1654c4f5
...
...
@@ -10,3 +10,4 @@ serial-tests
reproducible_build.patch
workaround_mips_ftbfs.patch
fix_i386_failure.patch
cpl_mask_count_window_no_unaligned_access_armhf
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment