any javascript browser works on sparc64?

Craig Butler craig001 at lerwick.hopto.org
Fri Jun 20 10:25:13 UTC 2014


On Fri, 2014-06-20 at 10:55 +0100, Anton Shterenlikht wrote:
> >From craig001 at 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 <vpx_mem/vpx_mem.h>
> 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





More information about the freebsd-sparc64 mailing list