Re: mupdf on arm

2019-07-31 Thread adr
In the attachment are the bt, the disas sembly of the function of interest until the bus error, and the state of the registers. I'm completely new to llvm, and I'm trying to build my cabin here, so I can't be of any help (I'm not familiar with the restrictions you are imposing here), altough I

Re: mupdf on arm

2019-07-31 Thread adr
On Wed, 31 Jul 2019, Stuart Henderson wrote: conflict between C++ standard libraries) so it would be good to have some more details about what's happening. Could you send a backtrace please? Sure, I'll do it when I have time. I'm pretty sure it is about accessing memory unaligned. I'm having

Re: mupdf on arm

2019-07-31 Thread Stuart Henderson
On 2019/07/30 15:51, adr wrote: > I've tested 1.16.0. You still need to compile it with > gcc. > > adr. > In this case it's possible to do, so I've changed the port to use gcc on armv7. However if there are problems here it wouldn't be a big surprise if there are similar problems with other

Re: mupdf on arm

2019-07-30 Thread adr
I've tested 1.16.0. You still need to compile it with gcc. adr.

Re: mupdf on arm

2019-07-30 Thread adr
On Tue, 30 Jul 2019, Stuart Henderson wrote: Date: Tue, 30 Jul 2019 14:18:36 +0100 From: Stuart Henderson To: adr Cc: ports@openbsd.org Subject: Re: mupdf on arm On 2019/07/30 14:00, Stuart Henderson wrote: On 2019/07/30 11:03, adr wrote: Mupdf needs to be compiled with gcc on armv7

Re: mupdf on arm

2019-07-30 Thread Stuart Henderson
On 2019/07/30 14:00, Stuart Henderson wrote: > On 2019/07/30 11:03, adr wrote: > > > > Mupdf needs to be compiled with gcc on armv7. With llvm it will > > fail with a bus error. I think the problem is in the memory management > > functions. I'm not attaching patches because I'm not familiar with

Re: mupdf on arm

2019-07-30 Thread Stuart Henderson
On 2019/07/30 11:03, adr wrote: > > Mupdf needs to be compiled with gcc on armv7. With llvm it will > fail with a bus error. I think the problem is in the memory management > functions. I'm not attaching patches because I'm not familiar with > the ports system. I added COMPILER= ports-gcc;

mupdf on arm

2019-07-30 Thread adr
Mupdf needs to be compiled with gcc on armv7. With llvm it will fail with a bus error. I think the problem is in the memory management functions. I'm not attaching patches because I'm not familiar with the ports system. I added COMPILER= ports-gcc; estdc++ to WANTILB; lang/gcc/8,-libs>=8,<9 to