LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-26-2017, 02:17 AM   #1
dreadbit
LQ Newbie
 
Registered: Aug 2016
Posts: 9

Rep: Reputation: Disabled
Firefox on Tegra "Invalid instruction"


Hello.

After upgrade to FF 56(?) - at least, now at 57, I get "Invalid Instruction" the following on Toshiba AC100 ( Nvidia Tegra 2 CPU/SOC) - here is what gdb says:

Starting program: /usr/bin/firefox
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xaedff440 (LWP 15407)]
[New Thread 0xab54e440 (LWP 15408)]
[Thread 0xab54e440 (LWP 15408) exited]
[New Thread 0xab54e440 (LWP 15409)]
[New Thread 0xaa2d9440 (LWP 15410)]
[New Thread 0xa9ad9440 (LWP 15411)]
[New Thread 0xa90ff440 (LWP 15412)]
[New Thread 0xa88ff440 (LWP 15413)]
[New Thread 0xa86ff440 (LWP 15414)]
[New Thread 0xa84ff440 (LWP 15415)]
[New Thread 0xa82ff440 (LWP 15416)]
[New Thread 0xa80ff440 (LWP 15417)]
[New Thread 0xa7eff440 (LWP 15418)]
[New Thread 0xa77ff440 (LWP 15424)]
[New Thread 0xa6fff440 (LWP 15425)]
[New Thread 0xa65ff440 (LWP 15427)]
[New Thread 0xaef79440 (LWP 15428)]
[New Thread 0xa5322440 (LWP 15453)]
[New Thread 0xa45ff440 (LWP 15454)]
[New Thread 0xa3dff440 (LWP 15455)]

Thread 1 "firefox" received signal SIGILL, Illegal instruction.
0xb38dddbc in ?? () from /usr/lib/firefox-57.0/libxul.so
(gdb)

What else can I do to help diagnose these?

UPD: I'm using a self-compiled kernel 4.14 based on config in kernel tree - may be that matters

Last edited by dreadbit; 11-26-2017 at 04:29 AM.
 
Old 11-26-2017, 10:06 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 686

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by dreadbit View Post
Hello.

After upgrade to FF 56(?) - at least, now at 57, I get "Invalid Instruction" the following on Toshiba AC100 ( Nvidia Tegra 2 CPU/SOC) - here is what gdb says:
It's probably because the Tegra20 does not have NEON instructions. I tested it on my Trimslice and it crashes also, but it works on the Banana Pi and Orange Pi.

I'm going to see if it builds and runs on the Trimslice, and see if NEON instructions can be disabled at build time.
 
Old 11-27-2017, 01:28 PM   #3
dreadbit
LQ Newbie
 
Registered: Aug 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
but it works on the Banana Pi and Orange Pi.
Yes, I can just confirm - no problems on BPI.

What is the latest working version and can I grab it somewhere for downgrading?
 
Old 11-28-2017, 02:48 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 686

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by dreadbit View Post
Yes, I can just confirm - no problems on BPI.

What is the latest working version and can I grab it somewhere for downgrading?
-current now has a version built without NEON instructions; tested on my Trimslice.
 
Old 11-28-2017, 05:27 AM   #5
dreadbit
LQ Newbie
 
Registered: Aug 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
-current now has a version built without NEON instructions; tested on my Trimslice.
Thanks! Now it works on Toshiba AC100, too.
 
Old 04-18-2018, 04:27 AM   #6
dreadbit
LQ Newbie
 
Registered: Aug 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by drmozes View Post
-current now has a version built without NEON instructions; tested on my Trimslice.
Hello once again, the same problem again with 59-0-2-arm-1 at least.
 
Old 04-18-2018, 07:33 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 686

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
xap/mozilla-firefox-58.0.1-arm-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/securi...s/mfsa2018-05/
https://www.mozilla.org/security/kno...s/firefox.html
(* Security fix *)

Thanks to Matteo Bernardini for the build script update to use mach.

Note: This package will not work on machines without NEON instructions, such as
the Tegra20. I've tried to patch it, but without success. On top of that,
rust is also building with NEON instructions, despite be compiled not to, so
if you want to try and build Firefox without NEON for yourself, you'll probably
need to fix 'rust' first.
 
Old 04-18-2018, 08:19 AM   #8
dreadbit
LQ Newbie
 
Registered: Aug 2016
Posts: 9

Original Poster
Rep: Reputation: Disabled
Oh, that's a bad news...

Which firefox version is the latest without the need of neon? (and where to get it?)

[went to compile PaleMoon]
 
Old 04-18-2018, 09:59 AM   #9
drmozes
Slackware Contributor
 
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 686

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by dreadbit View Post
Oh, that's a bad news...

Which firefox version is the latest without the need of neon? (and where to get it?)
Which ever version is in the change log prior to that one. There are no copies of previous packages so you'd have to download the source and build it yourself; but you'd need an older version of rust too.
It's not worth the effort, IMO.
 
  


Reply

Tags
firefox 57


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
LXer: Mega-victory: Kim Dotcom search warrants "invalid," mansion raid "illegal" LXer Syndicated Linux News 0 07-11-2012 02:30 AM
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 04:23 AM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
Which linux instruction is equivalent to windows' instruction "tracert"? backpacker Linux - Software 1 04-04-2006 10:55 PM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration