[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS



Hi,

I've been spending some time on this bug. I tried upstream xetex and it
worked fine on mips. I then stumbled upon the debian/rules file and the
bug now seems so blindingly obvious:

# architectures where icu related programs (xetex) have problems
# and core dump etc. Possible fix, but sub-optimal because slowing down
# programs
BROKEN_ICU_ARCHS := mips mipsel sparc64

[...]
# building on mips/sparc etc is somehow broken, try fix from tlbuild
# by setting U_IS_BIG_ENDIAN=0
ifneq (,$(findstring $(DEB_HOST_ARCH), $(BROKEN_ICU_ARCHS)))
  export CFLAGS += -DU_IS_BIG_ENDIAN=0
  export CXXFLAGS += -DU_IS_BIG_ENDIAN=0
else
endif

But mips _is_ big endian so overriding U_IS_BIG_ENDIAN to 0 gives
completely wrong results.

I'll do a rebuild later today and let you know how it goes.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: