chromium not working

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Re: chromium not working

Postby joao » Thu Apr 14, 2016 11:40 am

starting chromium with: $this->bbcode_second_pass_code('', 'chromium --disable-gpu') removes the error: $this->bbcode_second_pass_code('', 'InitializeSandbox() called with multiple threads in process gpu-process') but the following error persisits:$this->bbcode_second_pass_code('', 'terminated by signal SIGSEGV (Address boundary error)')
joao
 
Posts: 10
Joined: Sun May 17, 2015 8:41 pm

Re: chromium not working

Postby moonman » Fri Apr 15, 2016 5:21 am

Finally compiled. See if this works:
$this->bbcode_second_pass_code('', 'https://olegtown.pw/Public/ArchLinuxArm/Chromium/chromium-49.0.2623.112-1-armv7h.pkg.tar.xz')
mirror: http://www.mediafire.com/download/8408b ... pkg.tar.xz
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

Re: chromium not working

Postby wakko » Fri Apr 15, 2016 12:09 pm

It's working for me on my odroid-u3.

thx! :D
wakko
 
Posts: 6
Joined: Sat Apr 12, 2014 11:20 am

Re: chromium not working

Postby mauri » Fri Apr 15, 2016 7:52 pm

it is working for me also on a RPI2

Many many thanks, you made my day :-)

Maurizio
mauri
 
Posts: 1
Joined: Fri Apr 15, 2016 10:30 am

Re: chromium not working

Postby kalasmannen » Sat Apr 16, 2016 10:44 am

$this->bbcode_second_pass_quote('moonman', 'F')inally compiled. See if this works:

Worked nicely for me too on RPi3. Thanks a lot!

Our of curiosity, what options and such did you use? Also, I see that you built it on actual ARM-hardware (odroid). I tried building in a chroot on x86_64, with qemu-arm-static, and it seems to work for most packages, but maybe that is part of the problem in this case?

I tried building without patches for arm64, with the option we talked about earlier, and so on, but it gives a similar result each time i'm afraid. I've uploaded a copy of the last PKGBUILD i used here: http://pastebin.com/gwJVUBx6

It is based on the one from git, but i have modified a bit in places to make it build outside of the build system.
kalasmannen
 
Posts: 6
Joined: Sun Apr 10, 2016 8:52 pm

Re: chromium not working

Postby moonman » Sat Apr 16, 2016 6:31 pm

You PKGBUILD seems fine with all the right modifications (well, there should only be the one).
Did you use GCC 5.1?
Also qemu has been known to cause problems in the past. Certain packages behaved erraticaly or segfaulted. It is an emulator after all. You can use distcc to x86 which uses a native compiler that spits out arm code (no emulators) to speed up the process. I didn't do that this time since my distcc helper has GCC 5.3.
It takes around 15 hours on odroid U2 to build chromium. It would be interesting to see how long it takes on RPI :)
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

Re: chromium not working

Postby hmeyer » Sun Apr 17, 2016 9:16 am

moonman: It takes around 15 hours on odroid U2 to build chromium.
... thankyou again for your effort
> mirror: http://www.mediafire.com/download/8408b ... pkg.tar.xz
... why isn't that being put to the official repository?
hmeyer
 
Posts: 25
Joined: Fri Jul 31, 2015 8:17 am

Re: chromium not working

Postby kalasmannen » Mon Apr 18, 2016 8:21 pm

$this->bbcode_second_pass_quote('moonman', 'D')id you use GCC 5.1?

Not in my initial attempts. Is that also required, or would any earlier version than 5.2 work also? I've tried getting a hold of a PKGBUILD or package for 5.1, but have so far not been able to. Either way, It is probably better to use the distcc-solution, as you suggested. I actually have a VM set up for that, but configured for armv6h. Will try to change it to armv7h when i have the time. Thanks for the tips!
kalasmannen
 
Posts: 6
Joined: Sun Apr 10, 2016 8:52 pm

Re: chromium not working

Postby moonman » Tue Apr 19, 2016 12:21 am

There is a bug in GCC that causes segfaults. We haven't been able to pinpoint what causes it though. Even current stable GCC 5.1 has the same problem. Somewhere in this thread I've linked to GCC 5.1 packages that work.

But there are more things in play here:
since a while ago ArchLinux and ALAM is switched to the new CXX11 ABI by default. The GCC 5.1 packages I linked to by default spit out binaries that use older ABI. That is why you need to pass -D_GLIBCXX_USE_CXX11_ABI=1 when compiling chromium. AFAIK any version starting wtih GCC 5.0 supports CXX11 ABI, so you could potentially use something older, but then again they might have introduced the same bug into current stable branch of 5.0.

GCC 5.1 can be recompiled to use CXX11 ABI by default, but the sources that were used to create a working GCC 5.1 build are not available anymore because they are too old and as I said before current GCC 5.1 branch has exactly the same bug.

Now the reason why the chromium I compiled is not in the repos is because everything in the repos comes out from the build farm, the build farm uses GCC 5.3 because that is what is current right now.

Now I was unable to compile chromium 50 with the same trick by using -D_GLIBCXX_USE_CXX11_ABI=1 flag. Looks like the flag does not get passed to one of the separate libraries that get compiled along with chromium and final linking fails.
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

Re: chromium not working

Postby joao » Thu Apr 21, 2016 7:17 am

Mooman, thanks so much for offering your time to build a crhomium that works for us on Armv7.
Do you know whether the GCC devs are aware of the issue?
joao
 
Posts: 10
Joined: Sun May 17, 2015 8:41 pm

PreviousNext

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 12 guests