[Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby cyberic » Fri Jan 27, 2012 3:39 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'q')emu- eww.

Why? I think it is easier to use than distcc, and more 'transparent'
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby Kurlon » Fri Jan 27, 2012 4:06 pm

$this->bbcode_second_pass_code('', '/usr/bin/ld: BFD (GNU Binutils) 2.22.0.20111227 assertion fail /build/src/binutils/bfd/elf32-arm.c:12049
../../gfx/ycbcr/ycbcr_to_rgb565.o: In function `mozilla::gfx::ScaleYCbCrToRGB565(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char*, int, int, int, int, int, int, int, int, int, mozilla::gfx::YUVType, mozilla::gfx::ScaleFilter)':
/home/jcoombs/src/mozilla-beta/gfx/ycbcr/ycbcr_to_rgb565.cpp:569: undefined reference to `mozilla::arm_private::neon_enabled'
../../gfx/ycbcr/ycbcr_to_rgb565.o: In function `mozilla::gfx::IsScaleYCbCrToRGB565Fast(int, int, int, int, int, int, mozilla::gfx::YUVType, mozilla::gfx::ScaleFilter)':
/home/jcoombs/src/mozilla-beta/gfx/ycbcr/ycbcr_to_rgb565.cpp:600: undefined reference to `mozilla::arm_private::neon_enabled'
../../gfx/ycbcr/ycbcr_to_rgb565.o: In function `mozilla::gfx::ConvertYCbCrToRGB565(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char*, int, int, int, int, int, int, int, mozilla::gfx::YUVType)':
/home/jcoombs/src/mozilla-beta/gfx/ycbcr/ycbcr_to_rgb565.cpp:683: undefined reference to `mozilla::arm_private::neon_enabled'
../../gfx/ycbcr/ycbcr_to_rgb565.o: In function `mozilla::gfx::IsConvertYCbCrToRGB565Fast(int, int, int, int, mozilla::gfx::YUVType)':
/home/jcoombs/src/mozilla-beta/gfx/ycbcr/ycbcr_to_rgb565.cpp:696: undefined reference to `mozilla::arm_private::neon_enabled'
collect2: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/jcoombs/src/mozilla-beta/toolkit/library'
make[2]: *** [libs_tier_platform] Error 2
make[2]: Leaving directory `/home/jcoombs/src/mozilla-beta'
make[1]: *** [tier_platform] Error 2
make[1]: Leaving directory `/home/jcoombs/src/mozilla-beta'
make: *** [default] Error 2
')

Bah, still failing on neon even with the patch to disable it.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby Kurlon » Fri Jan 27, 2012 5:45 pm

The patch to disable the neon tests doesn't seem to actually disable the neon tests looking at configure's output. I'ma get a bit more 'agressive' about the matter and try again.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby WarheadsSE » Fri Jan 27, 2012 6:03 pm

$this->bbcode_second_pass_quote('cyberic', '')$this->bbcode_second_pass_quote('WarheadsSE', 'q')emu- eww.

Why? I think it is easier to use than distcc, and more 'transparent'

From the people that do most of the compiling: there's good reasons. Namely emulators aren't perfect. As long as you stay out of runtimes, you'll likely be ok, but get into the things that are deeply platform dependent, and BANG.. tiny discrepancy = huge problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm
Top

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby kmihelich » Fri Jan 27, 2012 6:21 pm

Qemu was investigated before I settled on the distcc ct-ng setup that has been the backbone of this distribution for over a year now. Qemu simply fails in ways you don't see during builds but become fatal during execution. You're free to use it, but I won't touch anything that is a product of that process.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby moonman » Fri Jan 27, 2012 9:50 pm

$this->bbcode_second_pass_quote('pepedog', 'I') wish you never 7 zipped it, can you do in another format please?

Sorry pepedog, I just thought I would make it more compact and 7z does a better job with a big dictionary.

I'll create tar ball when I get home.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am
Top

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby cyberic » Fri Jan 27, 2012 10:48 pm

$this->bbcode_second_pass_quote('kmihelich', 'Q')emu simply fails in ways you don't see during builds but become fatal during execution.

Could you please elaborate a bit more on this? I was not aware of such issues and I'd like to have any info.example you got.
Thanks
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm
Top

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby WarheadsSE » Fri Jan 27, 2012 10:58 pm

Let me put it this way:
Have you ever used a gaming system emulator like zsnes or jnes? You know how occasionally they don't quite behave, or if pushed just right hang horribly? Take that, apply it to any program compiled inside the emulator, but use on a real system.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby cyberic » Fri Jan 27, 2012 11:05 pm

I see and I understand your point.
But I find that ct-ng is not that clean neather: there can be some subtile differneces between native compilers and cross compilers, that may also lead to erroneous compilation or beheaviour. don't you think?
Image
cyberic
 
Posts: 71
Joined: Sun Jan 15, 2012 11:26 pm

Re: [Help] Compiling Firefox 9.0.1 for/on Pogoplug (armv5)

Postby kmihelich » Fri Jan 27, 2012 11:17 pm

Since the official ct-ng environment used in the build system is built from the same gcc/glibc/binutils source tarballs as the versions used natively (I do this specially, not included in instructions), there is very very little deviation. Also, since it's just the compile portion being exported to a faster box, all of the pre-processing and linking is taken care of in the native environment, using all of the native libraries and headers in the correct locations without any tricks.

There may be subtle differences, but if you can find them I'll make you some cookies.

WarheadsSE put it perfectly in regard to Qemu. Everything really does look like it's going fine, might act fine in simple tests, but in the production environment things start going very wrong unexpectedly. We tried this like I said, and it just doesn't work. Add the fact that Qemu even on a fast x86 box is magnitudes slower than the distcc ct-ng setup used now, and it's really not worth it.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests