Forefox build problems on ARMv7 with Debian

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Forefox build problems on ARMv7 with Debian

marcello.zaniboni
Hi. I'm trying to build firefox and I get errors. Can you help me?

hardware:
http://docs.cubieboard.org/tutorials/cubietruck/start

OS: Debian armhf/ARMv7 (http://www.igorpecovnik.com/2013/12/24/cubietruck-debian-wheezy-sd-card-image/)

source code:
ftp://ftp.mozilla.org/pub/firefox/releases/33.0.2/source/firefox-33.0.2.source.tar.bz2

bootstrap.py:
installed the compilation tools without errors

my .mozconfig file:

mk_add_options MOZ_OBJDIR=/home/mr/dev/firefox/obj-build
mk_add_options MOZ_MAKE_FLAGS="-j2"
ac_add_options --enable-application=browser
ac_add_options --enable-optimize
ac_add_options --disable-tests

./mach build output (after more than 9 hours):

[...]
574:07.11     INPUT("../../../gfx/ots/src/vhea.o")
574:07.12     INPUT("../../../gfx/ots/src/vmtx.o")
574:07.12     INPUT("../StaticXULComponentsEnd/StaticXULComponentsEnd.o")
574:07.12
574:07.12 ../../../build/unix/gold/ld: warning: hidden symbol 'pixman_add_triangles' in /home/mr/dev/firefox/obj-build/toolkit/library/build/../../../gfx/cairo/libpixman/src/pixman-trap.o is referenced by DSO /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcairo.so
574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.c:536: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c:775: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_init.c:105: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler.cc:142: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
574:07.14 collect2: ld returned 1 exit status
574:07.14 make[5]: *** [libxul.so] Error 1
574:07.14 make[4]: *** [toolkit/library/build/libs] Error 2
574:07.14 make[3]: *** [libs] Error 2

Thanks in advance,
Marcello
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Forefox build problems on ARMv7 with Debian

Mike Hommey
On Wed, Nov 05, 2014 at 11:43:58PM -0800, [hidden email] wrote:

> Hi. I'm trying to build firefox and I get errors. Can you help me?
>
> hardware:
> http://docs.cubieboard.org/tutorials/cubietruck/start
>
> OS: Debian armhf/ARMv7 (http://www.igorpecovnik.com/2013/12/24/cubietruck-debian-wheezy-sd-card-image/)
>
> source code:
> ftp://ftp.mozilla.org/pub/firefox/releases/33.0.2/source/firefox-33.0.2.source.tar.bz2
>
> bootstrap.py:
> installed the compilation tools without errors
>
> my .mozconfig file:
>
> mk_add_options MOZ_OBJDIR=/home/mr/dev/firefox/obj-build
> mk_add_options MOZ_MAKE_FLAGS="-j2"
> ac_add_options --enable-application=browser
> ac_add_options --enable-optimize
> ac_add_options --disable-tests
>
> ./mach build output (after more than 9 hours):
>
> [...]
> 574:07.11     INPUT("../../../gfx/ots/src/vhea.o")
> 574:07.12     INPUT("../../../gfx/ots/src/vmtx.o")
> 574:07.12     INPUT("../StaticXULComponentsEnd/StaticXULComponentsEnd.o")
> 574:07.12
> 574:07.12 ../../../build/unix/gold/ld: warning: hidden symbol 'pixman_add_triangles' in /home/mr/dev/firefox/obj-build/toolkit/library/build/../../../gfx/cairo/libpixman/src/pixman-trap.o is referenced by DSO /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcairo.so
> 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.c:536: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c:775: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_init.c:105: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler.cc:142: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> 574:07.14 collect2: ld returned 1 exit status
> 574:07.14 make[5]: *** [libxul.so] Error 1
> 574:07.14 make[4]: *** [toolkit/library/build/libs] Error 2
> 574:07.14 make[3]: *** [libs] Error 2

This is bug 1085178.
https://bugzilla.mozilla.org/show_bug.cgi?id=1085178

Mike
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Forefox build problems on ARMv7 with Debian

marcello.zaniboni
In reply to this post by marcello.zaniboni
Il giorno giovedì 6 novembre 2014 09:25:25 UTC+1, Mike Hommey ha scritto:

> On Wed, Nov 05, 2014 at 11:43:58PM -0800, [hidden email] wrote:
> > Hi. I'm trying to build firefox and I get errors. Can you help me?
> >
> > hardware:
> > http://docs.cubieboard.org/tutorials/cubietruck/start
> >
> > OS: Debian armhf/ARMv7 (http://www.igorpecovnik.com/2013/12/24/cubietruck-debian-wheezy-sd-card-image/)
> >
> > source code:
> > ftp://ftp.mozilla.org/pub/firefox/releases/33.0.2/source/firefox-33.0.2.source.tar.bz2
> >
> > bootstrap.py:
> > installed the compilation tools without errors
> >
> > my .mozconfig file:
> >
> > mk_add_options MOZ_OBJDIR=/home/mr/dev/firefox/obj-build
> > mk_add_options MOZ_MAKE_FLAGS="-j2"
> > ac_add_options --enable-application=browser
> > ac_add_options --enable-optimize
> > ac_add_options --disable-tests
> >
> > ./mach build output (after more than 9 hours):
> >
> > [...]
> > 574:07.11     INPUT("../../../gfx/ots/src/vhea.o")
> > 574:07.12     INPUT("../../../gfx/ots/src/vmtx.o")
> > 574:07.12     INPUT("../StaticXULComponentsEnd/StaticXULComponentsEnd.o")
> > 574:07.12
> > 574:07.12 ../../../build/unix/gold/ld: warning: hidden symbol 'pixman_add_triangles' in /home/mr/dev/firefox/obj-build/toolkit/library/build/../../../gfx/cairo/libpixman/src/pixman-trap.o is referenced by DSO /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcairo.so
> > 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.c:536: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> > 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c:775: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> > 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_init.c:105: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> > 574:07.13 /home/mr/dev/firefox/source/mozilla-release/media/webrtc/trunk/webrtc/common_audio/resampler/sinc_resampler.cc:142: error: undefined reference to 'WebRtc_GetCPUFeaturesARM'
> > 574:07.14 collect2: ld returned 1 exit status
> > 574:07.14 make[5]: *** [libxul.so] Error 1
> > 574:07.14 make[4]: *** [toolkit/library/build/libs] Error 2
> > 574:07.14 make[3]: *** [libs] Error 2
>
> This is bug 1085178.
> https://bugzilla.mozilla.org/show_bug.cgi?id=1085178
>
> Mike

Ok, thank you.
Will it be fixed soon? If not, can I workaround it compiling an older version or a beta?

Marcello
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds