Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Aug 2009 22:11:17 +0200
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        gecko@freebsd.org
Subject:   [patch] firefox35 on powerpc build issue.
Message-ID:  <4A8867E5.1060702@fgznet.ch>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090205000607010902060802
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

this patch addresses another build issue on powerpc. The patch I 
submitted today is also needed on this version.
Note, this patch is only needed for firefox 3.5 and up.

The binary gets built but it fails to run, it seems to be the same as on 
  my amd64 machine, bad system call'. Unfortunately the ppc gdb is not 
so friendly as the amd64 one. So I'll try to dig in on amd64.

TIA,
Andreas


--------------090205000607010902060802
Content-Type: text/plain;
 name="patch-content-xslt-public-txDouble.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-content-xslt-public-txDouble.h"

--- content/xslt/public/txDouble.h.orig	2009-08-16 21:46:27.000000000 +0200
+++ content/xslt/public/txDouble.h	2009-08-16 21:49:53.000000000 +0200
@@ -43,7 +43,7 @@
 //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
 #ifdef __FreeBSD__
 #include <ieeefp.h>
-#ifdef __alpha__
+#if defined (__alpha__) || defined (__powerpc__)
 static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
 #else
 static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;

--------------090205000607010902060802--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8867E5.1060702>