[tlbuild] build failures: OpenBSD/sparc64

edd vext01 at gmail.com
Wed Nov 11 17:19:01 CET 2009


On Wed, Nov 11, 2009 at 02:15:40PM +0100, Peter Breitenlohner wrote:
> 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?

Correct.

> >'../../../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.

That's what I thought.

> 
> >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.

Yup, I set CC, but forgot CXX. With them both set the build succeeds. Sorry
about that.
> 
> Regards
> Peter Breitenlohner <peb at mppmu.mpg.de>

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the tlbuild mailing list