Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-08 Thread Xiyue Deng
On Sun, Dec 08, 2019 at 05:05:34PM +, Visa Hankala wrote: > Date: Sun, 8 Dec 2019 17:05:34 + > From: Visa Hankala > To: ports@openbsd.org > Subject: Re: Fails to build textproc/mupdf on mips64el/loongson > > Does this patch help? By setting HAVE_OBJCOPY=no the build g

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-08 Thread Visa Hankala
Does this patch help? By setting HAVE_OBJCOPY=no the build generates C files as intermediaries. Index: Makefile === RCS file: ports/textproc/mupdf/Makefile,v retrieving revision 1.92 diff -u -p -r1.92 Makefile --- Makefile17 Sep 2

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-06 Thread Xiyue Deng
On Fri, Dec 06, 2019 at 09:21:12AM +, Stuart Henderson wrote: > Date: Fri, 6 Dec 2019 09:21:12 + > From: Stuart Henderson > To: Xiyue Deng > Cc: Brian Callahan , ports@openbsd.org > Subject: Re: Fails to build textproc/mupdf on mips64el/loongson > > On 2019/12/05 18

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-06 Thread Stuart Henderson
On 2019/12/05 18:44, Xiyue Deng wrote: > On Thu, Dec 05, 2019 at 11:09:57PM +, Stuart Henderson wrote: > > Date: Thu, 5 Dec 2019 23:09:57 + > > From: Stuart Henderson > > To: Brian Callahan > > Cc: Xiyue Deng , ports@openbsd.org > > Subject: Re: Fails to

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread Xiyue Deng
On Thu, Dec 05, 2019 at 11:09:57PM +, Stuart Henderson wrote: > Date: Thu, 5 Dec 2019 23:09:57 + > From: Stuart Henderson > To: Brian Callahan > Cc: Xiyue Deng , ports@openbsd.org > Subject: Re: Fails to build textproc/mupdf on mips64el/loongson > > On 2019/12/05

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread manphiz
On Thu, Dec 05, 2019 at 06:02:39PM -0500, Brian Callahan wrote: > Date: Thu, 5 Dec 2019 18:02:39 -0500 > From: Brian Callahan > To: Xiyue Deng , ports@openbsd.org, Stuart Henderson > > Subject: Re: Fails to build textproc/mupdf on mips64el/loongson > User-Agent: Mozilla/5.0 (

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread Stuart Henderson
On 2019/12/05 18:00, Brian Callahan wrote: > > > On 2019-12-05 5:55 PM, Stuart Henderson wrote: > > On 2019/12/04 16:35, Xiyue Deng wrote: > > > > # https://marc.info/?l=openbsd-ports&m=156448467232400&w=2 > > > > # possible alignment issue? > > > > -MODULES += gcc4 > > > > +MODULES +=

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread Brian Callahan
On 2019-12-05 6:00 PM, Brian Callahan wrote: On 2019-12-05 5:55 PM, Stuart Henderson wrote: On 2019/12/04 16:35, Xiyue Deng wrote:     # https://marc.info/?l=openbsd-ports&m=156448467232400&w=2   # possible alignment issue? -MODULES +=    gcc4 +MODULES +=    gcc4 lang/clang   MODGCC4_ARCHS

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread Brian Callahan
On 2019-12-05 5:55 PM, Stuart Henderson wrote: On 2019/12/04 16:35, Xiyue Deng wrote: # https://marc.info/?l=openbsd-ports&m=156448467232400&w=2 # possible alignment issue? -MODULES += gcc4 +MODULES += gcc4 lang/clang MODGCC4_ARCHS = armv7 MODGCC4_LANGS = c +MOD

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-05 Thread Stuart Henderson
On 2019/12/04 16:35, Xiyue Deng wrote: > > > > # https://marc.info/?l=openbsd-ports&m=156448467232400&w=2 > > # possible alignment issue? > > -MODULES += gcc4 > > +MODULES += gcc4 lang/clang > > MODGCC4_ARCHS =armv7 > > MODGCC4_LANGS =c > > +MODCLANG_ARCHS = mips64 mips64el > > +MODCL

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-04 Thread Xiyue Deng
On Wed, Dec 04, 2019 at 10:53:11AM +, Stuart Henderson wrote: > Date: Wed, 4 Dec 2019 10:53:11 + > From: Stuart Henderson > To: manp...@gmail.com > Cc: ports@openbsd.org > Subject: Re: Fails to build textproc/mupdf on mips64el/loongson > > Does this diff

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-04 Thread Stuart Henderson
Does this diff also work? Index: infrastructure/mk/arch-defines.mk === RCS file: /cvs/ports/infrastructure/mk/arch-defines.mk,v retrieving revision 1.69 diff -u -p -r1.69 arch-defines.mk --- infrastructure/mk/arch-defines.mk 9 Nov 2

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-03 Thread manphiz
On 12/3/19 5:05 PM, manp...@gmail.com wrote: > On 12/1/19 5:24 PM, manp...@gmail.com wrote: >> Hi Ports maintainer, >> >> Hit another problem when trying to build textproc/mupdf, which says >> failed to link 32-bit and 64-bit code: >> >> /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o): warn

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-03 Thread manphiz
On 12/1/19 5:24 PM, manp...@gmail.com wrote: > Hi Ports maintainer, > > Hit another problem when trying to build textproc/mupdf, which says > failed to link 32-bit and 64-bit code: > > /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o): warning: linking > PIC files with non-PIC files > /usr/bi

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-02 Thread Stuart Henderson
On 2019/12/02 11:40, Stuart Henderson wrote: > On 2019/12/01 17:24, manp...@gmail.com wrote: > > Hi Ports maintainer, > > > > Hit another problem when trying to build textproc/mupdf, which says > > failed to link 32-bit and 64-bit code: > > > > /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o

Re: Fails to build textproc/mupdf on mips64el/loongson

2019-12-02 Thread Stuart Henderson
On 2019/12/01 17:24, manp...@gmail.com wrote: > Hi Ports maintainer, > > Hit another problem when trying to build textproc/mupdf, which says > failed to link 32-bit and 64-bit code: > > /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o): warning: linking > PIC files with non-PIC files > /usr/b

Fails to build textproc/mupdf on mips64el/loongson

2019-12-01 Thread manphiz
Hi Ports maintainer, Hit another problem when trying to build textproc/mupdf, which says failed to link 32-bit and 64-bit code: /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o): warning: linking PIC files with non-PIC files /usr/bin/ld: build/release/libmupdf.a(Dingbats.cff.o): linking 32-bi