LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices



Reply
 
Search this Thread
Old 12-28-2013, 04:50 AM   #1
Bart_
LQ Newbie
 
Registered: May 2010
Posts: 17

Rep: Reputation: 0
Compiling webkitgtk on raspberry pi


Hi all,
I'm trying to compile webkitgtk on a Raspberry PI. I have a slackware arm 14.1.
I'm usign the slackbuild taken from Slackbuilds.org for webkitgtk-2.2.2 but after about 8 hours of compilation I get:
Code:
error selected processor does not support arm mode 'vmov d1,r4,r2' 
error selected processor does not support arm mode 'vcmpe.f64 d0,d1'
...
How can I fix?

Are there some ARM repositories for Raspberry?

Last edited by Bart_; 12-28-2013 at 04:57 AM.
 
Old 12-28-2013, 05:28 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Antix, Slackware, NetBSD
Posts: 92

Rep: Reputation: 37
Maybe this is helpfull!? Have a look at: http://ponce.cc/slackware/slackwarearm-14.0/packages/
 
Old 12-30-2013, 07:42 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Slackware-ARM and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 12-30-2013, 07:50 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
well, I interacted with Bart via pm and he reported that building for armv6 he had to add --disable-silent-rules to the configure options, and building for armv5 also --disable-jit.

but he probably will post here himself when building will finish (two days and still going).
 
Old 01-12-2014, 09:28 AM   #5
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
I added the --disable-silent-rules and --disable-jit to the configure options and now it is has been 40 hours since I started webkitgtk.SlackBuild. I have a Slackware 14.1 installation on Raspberry Pi:

Quote:
chris@raspberrypi:~$ uname -a
Linux raspberrypi 3.10.22-091213 #1 PREEMPT Mon Dec 9 03:24:37 GMT 2013 armv6l BCM2708 GNU/Linux
Can anyone report how long this is expected to take?
 
Old 01-12-2014, 10:22 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,504

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
from what Bart said to me via PM, not less than 60 hours...
 
Old 01-13-2014, 03:22 AM   #7
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware 14.1
Posts: 467

Rep: Reputation: 89
Frankly, while the RPi is fun, it is not adequate for building packages. We miss a good repository of packages for basic apps (like midori) and deps (like webkitgtk).
 
Old 01-13-2014, 01:47 PM   #8
Bart_
LQ Newbie
 
Registered: May 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ponce View Post
from what Bart said to me via PM, not less than 60 hours...
Right. With those options enabled (--disable-silent-rules and --disable-jit added to slackbuild taken from Slackbuilds.org) took about 60 hours. Raspberry may also not be suitable for compiling packages but if you need a package that is not present in any repository does not have much choice.

Last edited by Bart_; 01-13-2014 at 01:49 PM.
 
Old 02-04-2014, 07:24 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,140
Blog Entries: 52

Rep: Reputation: Disabled
Anybody tried this: cross-compiling?
http://slackbuilds.org/repository/14.../crosstool-ng/
 
Old 02-04-2014, 03:26 PM   #10
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 224

Rep: Reputation: 10
Stuart has some hints on how you might go about a cross compilation environment here.
I had a bad time cross compiling back at the time I was using the Zaurus ... nowdays I tend to try native compilations for ARM but I do that mostly non my AC100 (with a dual core 1Ghz Tegra2 SOC which will probabbly compile things nearly 3 times faster then the Pi).
I'm also considering getting an ODROID-U3 (quad core 1.7Ghz and 2Gb ram) which should get things built pretty quickly.
 
Old 02-04-2014, 03:33 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096Reputation: 4096
The problem with webkitgtk is that it will not compile when you compile it with more than one thread. So even on a fast x86 8-core CPU compiling it takes virtually forever, a quad-core ARM CPU will not help that much either. Of course this is only true for some software projects, most of them compile fine multithreaded. Which brought me to an idea: I do not have any experience with emulating ARM on x86, but I know that Qemu is capable of doing that. Can anyone tell me how fast that is? If it is for a single emulated CPU faster than the PI it may be worth to compile webkitgtk in a VM instead, but that solution would, compared with the Pi, really shine for software that can be compiled multithreaded, since you can use more cores in the VM if you have a fast multicore x86 CPU.
 
Old 02-04-2014, 03:51 PM   #12
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 224

Rep: Reputation: 10
Quote:
it may be worth to compile webkitgtk in a VM instead
The versatile VM is not a performer and is limited to 256Mb ram so I don't think it's going to be any faster then the Pi.

Quote:
even on a fast x86 8-core CPU compiling it takes virtually forever, a quad-core ARM CPU will not help that much either
Well if each core is running at 1.7Ghx then the cpu bound part con compilation will be more then twice as fast as the 700Mhz Pi even if you are not doing multijob compilation.
Also the ODROID-U3 can run off e-mmc which is supposed to be some 10 times faster then SDHC and the 2Gb ram will also help ... but I'd not buy one for compiling just one package
 
Old 02-04-2014, 04:23 PM   #13
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 224

Rep: Reputation: 10
Did you have a look here: could you not be happy with version 1.8.3 ?

For x86 slackware there are a lot of places where you can get most packages you need but for ARM there are not many. Maybe we should team up and find a place to host the stuff we are building so that others may benefit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] webkitgtk compiling problem in 14.1 stormbr Slackware 9 11-12-2013 02:54 AM
Slackwarearm 14.0 - Raspberry Pi - Compiling software/gcc missing? sovietpower Slackware 5 05-06-2013 02:42 PM
Issues compiling GCC v4.7.1 while building LFS for ARM (Raspberry Pi) jvilla1983 Linux From Scratch 7 12-25-2012 03:03 PM
Compiling and installing e17 on Slackware ARM 14 on Raspberry pi, hung on Lua Henesy Slackware 0 11-20-2012 01:28 AM
LXer: Enter the element14 Pi Day ‚??Raspberry RoadTest‚?Ě Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 07:20 AM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration