[tlbuild] Problem with texk/web2c/patgen.ch

Marc Baudoin babafou at babafou.eu.org
Mon May 20 23:36:55 CEST 2019


Arthur Reutenauer <arthur.reutenauer at normalesup.org> écrit :
> 
> On Mon, May 20, 2019 at 09:26:51AM +0200, Marc Baudoin wrote:
> > libtool: link: gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -D_NETBSD_SOURCE -Wl,-rpath -Wl,/usr/X11R7/lib -o patgen patgen.o  -L/usr/X11R7/lib lib/lib.a /usr/local/src/texlive/Work/texk/kpathsea/.libs/libkpathsea.a -lm
> > patgen.o: In function `readtranslate':
> > patgen.c:(.text+0x1981): relocation truncated to fit: R_X86_64_32S against symbol `buf' defined in COMMON section in patgen.o
> > patgen.c:(.text+0x1a38): relocation truncated to fit: R_X86_64_32S against symbol `buf' defined in COMMON section in patgen.o
> 
>   The reason for the change was a user request, see the thread starting
> at https://tug.org/pipermail/tex-live/2019-May/043672.html and
> especially
> 
> 	https://tug.org/pipermail/tex-live/2019-May/043681.html
> 
>   Evidently the values that work on CentOS 7 are too high for NetBSD.
> Can you maybe experiment if lower values of trie_size or triec_size fix
> the issue?  The value of triec_size should be half that of trie_size,
> although if you only compile the binary that shouldn’t affect you.

I did a bunch of tests tonight and...

build is fine with:
@!trie_size=109000000; {max space for pattern trie}
@!triec_size=54500000; {max space for pattern count trie, must be less than

build fails with:
@!trie_size=110000000; {max space for pattern trie}
@!triec_size=55000000; {max space for pattern count trie, must be less than


More information about the tlbuild mailing list