[tlbuild] build failures: OpenBSD/sparc64

Peter Breitenlohner peb at mppmu.mpg.de
Wed Nov 11 14:15:40 CET 2009


On Wed, 11 Nov 2009, edd wrote:

> I retrieved the new TL-2009 sources and tested them using ./Build. All OK on
> i386, but on sparc64 a couple of issues:

Hi Ed,

these are the sources for the TL2009 release. Right?

In the meantime there was a major update towards TL2010, however, that
should not affect the problems below.

> 1)
> The first will probably not affect me, as we will use our own t1lib, but
> I thought I should report it anyway. When building with GCC-3.3.5:
>
> gcc -DHAVE_CONFIG_H -I. -I../../../libs/t1lib -I./lib/t1lib -Ilib
> -I../../../libs/t1lib/t1lib-5.1.2 -DT1LIB_NO_X11_SUPPORT -DT1_AA_TYPE16=short
> -DT1_AA_TYPE32=int -DT1_AA_TYPE64=long -DT1LIB_IDENT=\""5.1.2"\"
> -DGLOBAL_CONFIG_DIR=\"/home/edd/texlive-20091107-source/inst/t1lib\"   -g -O2
> -MT type1.o -MD -MP -MF .deps/type1.Tpo -c -o type1.o `test -f
> 't1lib-5.1.2/lib/type1/type1.c' || echo
> '../../../libs/t1lib/'`t1lib-5.1.2/lib/type1/type1.c
> ../../../libs/t1lib/t1lib-5.1.2/lib/type1/type1.c: In function `CallOtherSubr':
> ../../../libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2385: error: unable to find a
> register to spill in class `FP_REGS'
> ../../../libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2385: error: this is the insn:
> (insn:HI 217 216 218 6 0x0 (set (reg:SI 1 %g1 [186])
>        (fix:SI (fix:DF (reg:DF 64 %f32 [187])))) 153 {fix_truncdfsi2}
> (insn_list 216 (insn_list:REG_DEP_ANTI 119 (nil)))
>    (expr_list:REG_DEAD (reg:DF 64 %f32 [187])
>        (nil)))
> ../../../libs/t1lib/t1lib-5.1.2/lib/type1/type1.c:2385: confused by earlier
> errors, bailing out
> gmake[3]: *** [type1.o] Error 1
> gmake[3]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs/t1lib'
> gmake[2]: *** [sublibs] Error 1
> gmake[2]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs'
> gmake: *** [all-recursive] Error 1

Quite strange. Looks much like an internal compiler error.

> 2)
> When building with GCC-4.2.4 (and possibly on 3.3.5?):
>
> g++  -I../common -I../../../../../libs/icu/icu-xetex/common
> -I../../../../../libs/icu/icu-xetex/i18n   -DU_COMMON_IMPLEMENTATION -g -O2
> -fvisibility=hidden -c   -o uobject.ao
> ../../../../../libs/icu/icu-xetex/common/uobject.cpp
> cc1plus: error: unrecognized option `-fvisibility=hidden'
> gmake[6]: *** [uobject.ao] Error 1
> gmake[6]: Leaving directory
> `/home/edd/texlive-20091107-source/Work/libs/icu/icu-build/common'
> gmake[5]: *** [all-recursive] Error 2
> gmake[5]: Leaving directory
> `/home/edd/texlive-20091107-source/Work/libs/icu/icu-build'
> gmake[4]: *** [icubuild] Error 2
> gmake[4]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs/icu'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs/icu'
> gmake[2]: *** [sublibs] Error 1
> gmake[2]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/edd/texlive-20091107-source/Work/libs'
> gmake: *** [all-recursive] Error 1

There is a configure test to see if the option '-fvisibility=hidden' is
accepted by the compiler.  Can you look in icu-build/config.log if that test
succeeds (search for visibility).  This test should fail for gcc-3.3.x and
gcc-3.4.x.

After compiling a few C files, uobject.cpp is the first C++ file.  Could it
be that you use gcc-4.2.4 but g++-3.x.y?  These versions also show up in
icu-build/config.log.

Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the tlbuild mailing list