From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 20 10:25:13 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1572C44F for ; Fri, 20 Jun 2014 10:25:13 +0000 (UTC) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id C326C2E51 for ; Fri, 20 Jun 2014 10:25:12 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 048D6489875; Fri, 20 Jun 2014 10:25:06 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id jMhpNvVfoUIV; Fri, 20 Jun 2014 10:25:04 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 48A33489876; Fri, 20 Jun 2014 10:25:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id cwoAUeKxrvJe; Fri, 20 Jun 2014 10:25:04 +0000 (UTC) Received: from [192.168.1.111] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id 868D5489875; Fri, 20 Jun 2014 10:25:03 +0000 (UTC) Message-ID: <1403259901.5360.9.camel@atlas.lerwick.hopto.org> Subject: Re: any javascript browser works on sparc64? From: Craig Butler To: mexas@bris.ac.uk Date: Fri, 20 Jun 2014 11:25:01 +0100 In-Reply-To: <201406200955.s5K9tnM9068758@mech-cluster241.men.bris.ac.uk> References: <201406200955.s5K9tnM9068758@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2014 10:25:13 -0000 On Fri, 2014-06-20 at 10:55 +0100, Anton Shterenlikht wrote: > >From craig001@lerwick.hopto.org Thu Jun 19 10:42:30 2014 > > > >Worth checking bugzilla! I semi fixed libvpx so that firefox and seamonkey could build; > >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186394 > > > >I am still trying to track down an issue that is causing firefox to crash when playing any video on sparc64 (not only VP8/9 encoded ones) > > > >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186580 > >also includes some fixes for compiling firefox that I think have been pushed upstream > > > >I also have Midori building after fixing webkit-gtk2. > > > >Kind Regards > > > >Craig Butler > > > > Craig, thanks. I applied your patch in PR 186394, > and got libvpx built: > > # pkg info -xo vpx > libvpx-1.3.0 multimedia/libvpx > > still firefox fails with: > > configure:21446: checking for vpx_mem/vpx_mem.h > configure:21459: gcc47 -c -O2 -pipe -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -I/usr/local/include -isystem/usr/local/include -DLIBICONV_PLUG -I/usr/local/include conftest.c 1>&5 > configure:21453:29: fatal error: vpx_mem/vpx_mem.h: No such file or directory > compilation terminated. > configure: failed program was: > #line 21451 "configure" > #include "confdefs.h" > > #include > int main() { > > ; return 0; } > configure:21781: checking for alsa > configure: error: Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.) > ===> Script "../configure" failed unexpectedly. > > Have I missed something? > > Many thanks > > Anton > > Hello Anton Silly question - did you make clean before re-running make on the port? I think your configure script may have cached something. On my sparc64 tinderbox the configure bit in firefox for libvpx looks like; checking for vpx >= 1.0.0... yes checking MOZ_LIBVPX_CFLAGS... -I/usr/local/include checking MOZ_LIBVPX_LIBS... -L/usr/local/lib -lvpx -lm checking for vpx/vpx_decoder.h... yes checking for vpx_codec_dec_init_ver in -lvpx... yes checking for alsa... yes That indicates to me that it is correctly using libvpx library and not trying to look for the vpx_mem.h include. I have uploaded the firefox log from my tinderbox, this is available at; http://bsdtec.com/freebsd/firefox-27.0_1,1.log Hopefully it's something simple ! Kind Regards Craig Butler