[tlbuild] sparc-solaris: luatex SIGBUS in hnj_hyphenation

Vladimir Volovich vvv at vsu.ru
Wed Jun 16 18:06:42 CEST 2010


> i don't remember if it's still present in the current sources, but if it
> is, you can work around it by recompiling just one file (zip.o) without
> optimization (i.e. looking what command was used to compile it, and
> removing the -O or -xO flags), and then proceeding with make world

actually you can as well just apply a patch:

==============================================
--- libs/zziplib/zziplib-0.13.58/zzip/zip.c	(revision 18993)
+++ libs/zziplib/zziplib-0.13.58/zzip/zip.c	(working copy)
@@ -375,7 +375,7 @@
  * to pointer types but we do need only the lower bits in this implementation,
  * so we can just cast the value to a long value.
  */
-_zzip_inline char *
+char *
 __zzip_aligned4(char *p)
 {
 #define aligned4   __zzip_aligned4
==============================================

and then build should work.

> it appears that inline function is not visible in the object file when
> optimization is enabled. maybe a proper way to declare inline functions
> is in the *.h files, rather than in object files (which makes perfect
> sense: once object file is buit, it is not possible to inline a function
> anymore).

Best,
v.


More information about the tlbuild mailing list