Glen Walker (2585) 469 posts |
I have just got a new RISC OS machine up and running based on a Pi3 and the !PDF application kept crashing on start up so I downloaded another one from pdf.iconbar.com but this is from 2007 and fails to display the PDFs from the DDE correctly (i.e., some text is garbled). Does anyone know of a good replacement/alternative I could use? Was the original program crashing because I am running a Pi3? |
Glen Walker (2585) 469 posts |
Tried it on a 2B and it worked fine so must be a Pi3 issue… Now that I have found my crusty old Pies I will stick with them for RISC OS I think…might make the 3 into a media centre… |
Chris Evans (457) 1614 posts |
I think later versions are at:http://www.riscos.info/index.php/PDF currently 3.02.1.24-2 I’m not certain that is the latest as Chris Gransden sometimes puts later builds on his riscosports web site: Also some betas of ports only have a direct link which are posted here in the forum e.g. !Otter. Also PDFtest which is another (later?) version of !PDF |
David Feugey (2125) 2687 posts |
Patches for several software under the Pi3, including !PDF are at the bottom of this page: |
Jon Abbott (1421) 2599 posts |
It uses SharedUnixLib which isn’t Pi3 compatible. Well…the version available via PackMan (1.14-1) certainly isn’t ARMv7 compatible. If there’s a fixed version the maintainer needs to update it. PDF may possibly work on Pi3 with this issue resolved. |
David Pitt (102) 743 posts |
There is a locally built Raspberry Pi 3 SharedULib here. And a RPi3 |
Glen Walker (2585) 469 posts |
Cool thanks! I’ve put a Pi B+ into my RISC OS machine now and quite happy with that…but good to know that there is an option to upgrade stuff if I ever need to! :—) |
David Pitt (102) 743 posts |
What specifically is the issue? A bug report to the gcc mailing list would be good, this forum thread has been noticed! My later build is identical to the version at on riscos.info which is the one PackMan serves up. I have seen no problems at all on my Raspberry Pi 3 that could be attributed to the SharedULib module itself. To avoid confusion I will remove that from my website. The libraries in !SharedLibs do need RPi3 versions. |
Steve Pampling (1551) 7931 posts |
I think the definitive test is for a Pi3 user to test as follows:
If that doesn’t define the location of the problem I’d be gobsmacked. |
Chris Gransden (337) 1148 posts |
SharedUnixLib is the module used by the UnixLib library. It’s the UnixLib library that most programs available in PackMan are linked against statically. The UnixLib library that they are using contains a couple of references to the SWP instruction which causes an abort with Invalid instruction when run on the RPi 3 as the SWP instruction no longer exists. The latest version of the UnixLib library has been fixed to no longer use the SWP instruction. Unfortunately as most of the affected programs are statically linked they can only be fixed by recompiling or patching the executable. |