Bug#635957: iceweasel: FTBFS on armhf

Konstantinos Margaritis markos at genesi-usa.com
Fri Jul 29 19:11:57 UTC 2011

Package: iceweasel
Version: 5.0-4
Severity: serious
Tags: patch

According to the build log:


iceweasel 5.0 (and 6.0 in experimental) break on armhf. The reason is
the fix for armel in


diff --git a/xpcom/base/nsDebugImpl.cpp b/xpcom/base/nsDebugImpl.cpp
index f26f97b..353c1e4 100644
--- a/xpcom/base/nsDebugImpl.cpp
+++ b/xpcom/base/nsDebugImpl.cpp
@@ -402,7 +402,9 @@ RealBreak()
 #elif defined(__GNUC__) && (defined(__i386__) || defined(__i386) ||
    asm("int $3");
 #elif defined(__arm__)
-   asm("BKPT #0");
+   asm(".arch armv5t\n"
+       ".object_arch armv4t\n"
+       "BKPT #0");
 #elif defined(SOLARIS)
 #if defined(__i386__) || defined(__i386) || defined(__x86_64__)
    asm("int $3");

This totally breaks asm generation on newer arm cpus. The attached
patch fixes the build for armhf. Please apply.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: iceweasel_armhf.patch
Type: text/x-diff
Size: 570 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20110729/aee17f53/attachment.patch>

More information about the pkg-mozilla-maintainers mailing list